Skip to content

MCP tools

These are the tools an assistant sees when it connects to the MCP server. The list is generated from the server itself, so it always matches what is in production. An account sees only the tools its permissions allow.

Values take the product value shape: attribute code → channel code or "_" → locale code or "_" → value. File cells take media:<id>, an asset code from the library or an https:// address, which is downloaded into the library once.

Server Current PIM, version 1.1.0: 16 tools.

ToolChanges dataNeeds
describe_catalogNoAttributes: view
search_productsNoProducts: view
get_productNoProducts: view
get_product_historyNoProducts: view
propose_changesYesProducts: edit
discard_draftYesProducts: edit
create_productYesProducts: edit
duplicate_productYesProducts: edit
create_variantsYesProducts: edit
transition_productsYesProducts: view
list_commentsNoProducts: view
post_commentYesProducts: view
search_assetsNoAssets: view
update_assetYesAssets: edit
search_recordsNoReference data: view
my_tasksNoProducts: view

describe_catalog

Reads only Attributes: view

The catalog structure that products and their values follow, in the shapes of the PIM's API: channels with the locales and currencies they publish; active locales; attributes with their type, group, whether values vary by channel (scopable) and locale (localizable), validation settings, option codes of select attributes, measurement units and reference entity; families with their attributes, the attributes each channel requires and their variant structures; categories as codes with their parent (parents first); workflows with their state codes; association types (the kinds of links between products, with the fields a link's `data` takes); and reference entities (brands, suppliers, …, whose records search_records finds). Call it once at the start, or with `family` to get only that family and its attributes. Values are stored as attribute code → channel code or "_" → locale code or "_" → value, where "_" means the attribute doesn't vary by channel or locale. Shapes by type: text, textarea, richtext (HTML): string; number: number; boolean: true/false; date: "YYYY-MM-DD"; datetime: ISO 8601; select: option code; multiselect: list of option codes; price: list of {"amount": "12.50", "currency": "EUR"}; measurement: {"amount": 1.2, "unit": "KILOGRAM"}; image, file: "media:<id>" or an asset code; gallery: list of those; reference_single: record code; reference_multi: list of record codes; supplier: a supplier's code or name; table: list of rows.

ParameterTypeDescription
sectionslist of stringThe parts to return; default all. One of: channels, attributes, families, categories, workflows, association_types, reference_entities.
familystringA family code: return only this family and its attributes.

search_products

Reads only Products: view

Find products, like the product grid: a full-text `search` (identifier and text values) plus `filters` that must all match. Returns a page of products with identifier, label, family, enabled, workflow state, completeness and quality score (0–100) in the channel and locale, and the values of the `attributes` you list, as display text. Use get_product for one product's full details. A filter is {field, operator, value}. Fields: identifier; family (family codes); categories (category codes; in_subtree includes subcategories); enabled; workflow_state (state codes); completeness and quality (0–100); created_at and updated_at (YYYY-MM-DD); values.<attribute code>. Operators by type: text: contains, starts_with, eq, ne; number, price, measurement: eq, ne, lt, lte, gt, gte, between ([low, high]); date: lt, gt, between; yes/no: eq; select, multi-select, reference, family: in, not_in (lists of codes); categories: in_subtree, in, not_in, empty. Every value attribute also takes empty and not_empty (no value). Price filters need `currency`; measurement filters may give `unit` (else the attribute's default unit). Value filters read values as the grid shows them: in the channel (else the value for all channels) and the locale (else the workspace's default locale), so to find values a locale lacks, filter on completeness instead. A listed value the locale lacks shows the default locale's text with its code, e.g. "Runner [en_US]". Search, filters and sorting compare only what your account may view: no filter matches a value it may not view, not even `empty`, and neither do completeness and quality of a channel or locale it may not view. Example, shoes missing required values in Swedish: filters [{"field":"family","operator":"in","value":["shoes"]},{"field":"completeness","operator":"lt","value":100}], locale "sv_SE"; get_product then lists what is missing.

ParameterTypeDescription
searchstringFull-text search over identifiers and text values.
filterslist of objectConditions that must all match.
channelstringChannel code; default: the workspace default channel.
localestringLocale code, e.g. en_US; default: the workspace default locale.
variantsstringvariants: sellable products (simple products and the lowest level of variant trees); models: one row per variant tree, its root model, matching when any product of the tree matches; all: every product. One of: variants, models, all.
attributeslist of stringUp to 10 attribute codes whose values to include as display text.
sortstringidentifier, family, created_at, updated_at, completeness, quality or values.<attribute code>.
directionstring One of: asc, desc.
pageinteger
per_pageinteger

get_product

Reads only Products: view

One product as you need it to review or improve it, in a channel and locale: its family, categories, workflow state and variant position, then every attribute of its family that you may see, with the value it effectively has (inherited from its model included), the value as display text, whether the channel requires it, and for select attributes the option codes. Completeness lists the missing required attributes per channel and locale; quality gives the 0–100 score per channel and locale and, for the requested one, each check's score and messages. Both count every value but cover only the channels and locales you may view, and name only values you may view: `missing_hidden` is how many more required attributes are missing, and `withheld` marks a check that found more than its messages say. `transitions` lists the workflow moves out of the product's current state (for the requested channel and locale), whether your roles allow each, what its guards still require and whether it publishes; move products with transition_products. `my_draft` shows the changes you proposed and haven't had approved yet. A bundle lists its `bundle_components` with quantities and states (a component with `is_model` stands for one of its variants, which the customer picks); change them with propose_changes' `fields.associations.bundle_components`. `associations` lists the product's other links per association type and `availability` the channels with their own selling dates; both, and `enabled`, are proposed through propose_changes' `fields`. For each attribute, `cell` is where its value for this channel and locale is stored ({"channel": "_", "locale": "sv_SE"}; "_" means the attribute doesn't vary by it); send changes to exactly that cell with propose_changes. `stored_in` appears when the value is the channel default ("_"), which applies to every channel without a value of its own; a change in `cell` overrides it for this channel only. `inherited_from` names the model that owns the attribute: propose changes to it on that identifier instead. `access` is what you may do with the cell: view, edit (propose changes) or publish. When the locale has no value, `fallback` shows the default locale's.

ParameterTypeDescription
identifier (required)stringThe product identifier (SKU).
channelstringChannel code; default: the workspace default channel.
localestringLocale code, e.g. sv_SE; default: the workspace default locale.

get_product_history

Reads only Products: view

A product's versions, newest first: who wrote each (and who approved it), why (manual, import, rule, bulk, workflow, api, supplier, ai, restore, translation, automation) and how many things it changed. Give `version` to read what that version changed: each property, value cell (before and after, as display text), the categories and the links it added and removed. Use it to see what a reviewer changed after your proposal, or what a value was before. Cells you may not view are left out.

ParameterTypeDescription
identifier (required)stringThe product identifier (SKU).
versionintegerA version number: answer with that version's changes.
beforeintegerList versions older than this number (the previous page's `older_than`).
localestringLocale for labels and display text; defaults to the workspace's default locale.

propose_changes

Proposes or changes Products: edit

Propose changes to one product. They never change the product directly: they are saved as your draft of it, which a person reviews and approves (merging it into the product) or rejects with a note. Call it again to add more changes to the same draft; set `submit` to true (on the last call, with all changes at once, or alone to submit the draft as it is) to hand the draft to reviewers. Changing a draft that is waiting for review or was rejected takes it back to in_progress, so submit it again. discard_draft throws the draft away. `values` uses the stored shape and only needs the cells you change: attribute code → channel code or "_" → locale code or "_" → value, e.g. {"description": {"ecommerce": {"sv_SE": "Lätt löparsko"}}}; null clears a cell. Write each cell exactly where get_product's `cell` says, and use option codes, record codes and units from describe_catalog. A variant inherits some attributes from its model (get_product's `inherited_from`): propose those on the model. `categories`, when given, is the complete list of category codes the product should be in. `fields` proposes product fields: `enabled` (true or false); `availability`, channel code → {"enabled": false, "from": "2026-12-01", "until": "2027-01-31"} (any of the three; null sells it every day again; only the channels you give change); and `associations`, association type code → the complete ordered list of links, e.g. {"cross_sell": [{"target": "SOCK-1"}]}. A bundle's contents are the type "bundle_components" with a quantity: [{"target": "SHOE-1", "data": {"quantity": 2}}]. Identifier, family, parent and the bundle flag can't be proposed. `note` tells the reviewer why, and what you could not verify. Changes are checked as if they were saved (types, options, validation rules, link targets, your permission scopes), and invalid changes are refused with the reason per cell or field; nothing is saved then. Cells and fields equal to the product's current state drop out of the draft.

ParameterTypeDescription
identifier (required)stringThe product identifier (SKU).
valuesobjectChanged cells: attribute code → channel code or "_" → locale code or "_" → value (null clears).
categorieslist of stringThe complete list of category codes the product should be in.
fieldsobjectProduct fields to change.
notestringA short note for the reviewer: why, and what you could not verify.
submitbooleanHand the draft to reviewers after saving.

discard_draft

Proposes or changes Products: edit

Throw away your draft of one product: everything you proposed for it and haven't had approved yet, also when it waits for review (its review task is withdrawn) or was rejected. The product itself is not touched. Use it when a proposal was a mistake; to change part of a draft, call propose_changes again instead.

ParameterTypeDescription
identifier (required)stringThe product identifier (SKU).

create_product

Proposes or changes Products: edit

Create a new product. It is created at once but as an empty, disabled shell (identifier and family only), which no channel, feed or shop shows; everything else you give (`values`, `categories`, `fields`, `note`, in propose_changes' shapes) is saved as your draft of it for a person to review, and `submit: true` hands that draft to reviewers. Propose `fields: {"enabled": true}` in the draft when the product should be switched on once approved. Check with search_products that the identifier doesn't exist, and take the family (and its attributes, options and variant structures) from describe_catalog. Give `variant_structure` to create the root model of a variant tree, then add its variants with create_variants. `is_bundle: true` creates a bundle, whose contents you propose as `fields.associations.bundle_components`. If the draft is refused (an invalid value, a cell you may not change), the shell still exists: fix what the answer lists and send it with propose_changes.

ParameterTypeDescription
identifier (required)stringThe new product's identifier (SKU).
family (required)stringThe family code; it decides which attributes the product has.
variant_structurestringA variant structure of the family: makes the product the root model of a variant tree.
is_bundlebooleanCreate a bundle (a fixed set of other products).
valuesobjectChanged cells: attribute code → channel code or "_" → locale code or "_" → value (null clears).
categorieslist of stringThe complete list of category codes the product should be in.
fieldsobjectProduct fields to change.
notestringA short note for the reviewer: why, and what you could not verify.
submitbooleanHand the draft to reviewers after saving.

duplicate_product

Proposes or changes Products: edit

Copy a product under a new identifier: the same family, values, categories and links (a bundle's contents too), created at once but disabled, so no channel, feed or shop shows it until a person enables it or approves your proposal to. Values of unique attributes (such as an EAN) and files the source owns itself are left out and listed in `dropped`. A root model is copied as an empty model of the same structure, without its variants; a variant can't be duplicated (use create_variants on its model). The copy is refused when the source holds values you may not edit yourself (prices, for instance): create the product with create_product and propose the values you may change instead. Change what should differ in the copy with propose_changes.

ParameterTypeDescription
source (required)stringThe identifier of the product to copy.
identifier (required)stringThe copy's identifier (SKU).

create_variants

Proposes or changes Products: edit

Add variants one level below a model of a variant tree (get_product's `variant.is_model` is true). Each variant needs an identifier and a value for every axis of its level, e.g. {"identifier": "SHOE-RED", "axes": {"color": "red"}}; describe_catalog lists a family's variant structures with the axes per level, and option codes are the axis values of select attributes. A structure with two levels needs the first level's models before their variants: call the tool once per model. The variants are created at once, all or none, but disabled, so nothing shows them until a person enables them or approves your proposal to (propose_changes with fields {"enabled": true}). Their other values go through propose_changes; a variant can't repeat an axis combination its model already has.

ParameterTypeDescription
model (required)stringThe identifier of the model the variants go under.
variants (required)list of objectThe variants to create.

transition_products

Proposes or changes Products: view

Move products along their workflow, e.g. from draft to in review once their data is complete. get_product's `transitions` lists the transitions out of a product's current state with whether your roles allow each and what its guards still require (completeness, quality, translations). The move applies in the scope the channel and locale fall in; workflows that aren't scoped ignore them. Each product is moved or skipped on its own, and the answer lists each skipped product with the reason (it isn't in the transition's starting state, your roles don't allow it, a guard fails). Transitions into a state that publishes are refused here: publishing is a person's decision. A workflow move changes no product data; your draft, if any, is reviewed separately.

ParameterTypeDescription
identifiers (required)list of stringThe products to move.
transition (required)stringThe transition's code, from get_product's `transitions`.
channelstringChannel code; defaults to the workspace's default channel.
localestringLocale code; defaults to the workspace's default locale.
notestringA note recorded with the move.

list_comments

Reads only Products: view

The comment threads on a product, oldest first: what colleagues asked or decided about it, each with its replies, who wrote it, whether it is resolved and the cell it points at (`cell`, absent for a comment on the product as a whole). Read them before proposing changes: a thread often says what a reviewer wants. Answer one with post_comment's `reply_to`.

ParameterTypeDescription
identifier (required)stringThe product identifier (SKU).
attributestringOnly threads on this attribute's cells.
open_onlybooleanLeave resolved threads out.

post_comment

Proposes or changes Products: view

Post a comment on a product, shown to everyone who can see it and marked as written through an AI assistant. Use it to ask a colleague instead of guessing (a fact you can't verify, a choice between options), or to answer a thread with `reply_to` (a comment id from list_comments). Give `attribute` (with the `channel` and `locale` of get_product's `cell`) to point the comment at one value. `mention` takes colleagues' names or email addresses; they get a notification. Comments change no product data; to explain a proposal to its reviewer, use propose_changes' `note`.

ParameterTypeDescription
identifier (required)stringThe product identifier (SKU).
body (required)stringThe comment, as plain text.
attributestringAttribute code, to comment on one value.
channelstringThe cell's channel code, or "_" (default) when the attribute doesn't vary by channel.
localestringThe cell's locale code, or "_" (default) when the attribute doesn't vary by locale.
reply_tointegerThe id of a comment to answer; the reply joins that thread.
mentionlist of stringColleagues to notify, by name or email address.

search_assets

Reads only Assets: view

Find files in the asset library (pictures, PDFs, documents, videos) by words that must all be found in its code, file names, title, caption, alt text, tags, field values or metadata, or (from three characters) in the SKU of a product using the file, a few seconds after that product was saved; narrowed by the SKUs of products using the file, tags, kinds, an asset category, a collection, a supplier, usage rights, use, the days it was added, a picture's orientation and size in pixels, a file's size in bytes, or the workspace's own select and yes/no asset fields. An asset's `code` is what a product's image, file, gallery and file-list cells take in propose_changes. Each result gives the file's name, type and size in bytes, a picture's width, height and orientation as it is shown, its texts per locale, its tags, how many products use it (counted nightly), `rights`, its `status` (draft, approved or archived) and whether it is `deliverable`: only approved files whose rights allow it today reach feeds and shops, so don't propose others. Files with an empty alt text can be described with update_asset.

ParameterTypeDescription
searchstringWords to find: every word must be in the asset, in any of its code, file names, title, caption, alt text, tags, field values or metadata, or (words of three characters or more) anywhere in the SKU of a product that uses the file, its own or inherited from a model.
productstringA SKU: only files a product with exactly this SKU uses (case is ignored).
productslist of stringUp to 100 SKUs: only files one of these products uses.
tagstringOnly assets with this tag (case is ignored).
tagslist of stringOnly assets with all of these tags.
kindstringOnly files of this kind. One of: image, pdf, document, spreadsheet, presentation, video, audio, archive, other.
kindslist of stringOnly files of one of these kinds. One of: image, pdf, document, spreadsheet, presentation, video, audio, archive, other.
categorystringAn asset category code: only assets filed in it or below.
uncategorizedbooleanOnly assets filed in no category.
rightsstringOnly assets in this usage-rights state. One of: ok, not_yet, expiring, expired.
statusstringOnly assets in this status: "approved" files may leave the PIM, "draft" ones wait for approval, "archived" ones are no longer used. One of: draft, approved, archived.
unusedbooleanOnly assets no product or open draft uses (counted nightly).
duplicatesbooleanOnly pictures that have a near duplicate.
collectionstringAn asset collection code: only assets in it.
supplierstringA supplier code: only files that came from that supplier.
fromstringOnly assets added on or after this day (YYYY-MM-DD).
tostringOnly assets added on or before this day (YYYY-MM-DD).
orientationstringOnly pictures that lie this way, as they are shown. One of: landscape, portrait, square.
min_widthintegerOnly pictures at least this many pixels wide.
max_widthintegerOnly pictures at most this many pixels wide.
min_heightintegerOnly pictures at least this many pixels high.
max_heightintegerOnly pictures at most this many pixels high.
min_sizeintegerOnly files of at least this many bytes.
max_sizeintegerOnly files of at most this many bytes.
fieldsobjectThe workspace's own asset fields to narrow by, of select or yes/no type: field code => an option code or a list of them (any of them matches), or true or false. Several fields must all match.
sortstring"size" is largest first, "taken" newest picture first. One of: newest, oldest, name, size, taken.
pageinteger

update_asset

Proposes or changes Assets: edit

Describe a file of the asset library: its alt text, title and caption per locale, and its tags. Unlike product changes, this is saved at once (assets have no review), is recorded in the audit log and reaches every product that uses the file, so fill what is empty and only replace a text a person wrote when you were asked to. `alt_text`, `title` and `caption` map locale codes to text and change only the locales you give (an empty string clears one); `tags`, when given, is the complete list (at most 30 unless the workspace set another cap; a tag the library already has is written the way the library writes it, whatever case you give). You can't see the picture: describe only what the file's name, its existing texts and the products that use it tell you.

ParameterTypeDescription
code (required)stringThe asset's code, from search_assets.
alt_textobjectLocale code → alt text (at most 500 characters).
titleobjectLocale code → title.
captionobjectLocale code → caption.
tagslist of stringThe complete list of tags.

search_records

Reads only Reference data: view

Find reference records (brands, materials, colours, …) of one reference entity, to use their codes as values of reference attributes: an attribute's `reference_entity` in describe_catalog names its entity. Search by code or by any text in the record, or give `codes` to look specific records up. A reference_single value is one record code, a reference_multi value a list of codes. Records are curated by people: when the one you need is missing, say so in a comment or your draft's note instead of using another.

ParameterTypeDescription
entity (required)stringThe reference entity's code, e.g. "brand".
searchstringText to find in the records' codes and values.
codeslist of stringLook these record codes up instead of searching.

my_tasks

Reads only Products: view

Work waiting for you. `tasks` are the open tasks offered to your roles on products you may see, earliest due first: "enrich" asks for the missing values it lists, "workflow" for the work of a workflow state (such as finishing a product in draft). `drafts` are the changes you proposed that aren't approved yet: in_progress (saved, not submitted), ready_for_review (waiting for a reviewer) and rejected (sent back with the reviewer's note; rework them with propose_changes, which takes the draft back to in_progress, and submit again).

ParameterTypeDescription
typestringOnly tasks of this type. One of: review_draft, workflow, enrich, translate, supplier_submission, review_automation.
pageinteger