Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft product categories, tags, attributes or brand

plan_taxonomy_terms

AddSynapse: Prepare a DRAFT that adds, removes or replaces the categories (product_cat), tags (product_tag), brand (brand) or the values of a global attribute (pa_*, e.g. pa_color) of one product or a few chosen products (ids from search_products; a variation means its parent product). mode: add (keeps the existing terms), remove, or replace (the product keeps exactly these terms). Terms: term_names (exact names; case and accents are ignored) and/or term_ids (list_categories with taxonomy shows them). A name that does not exist is an error, unless the user wants it created: then call again with create_missing true — the draft shows a separate line for each new term, the term is created only on Approve, and Undo deletes it while nothing else uses it. An attribute used for variations is changed only in the product editor. Changes nothing by itself. A preview card with the draft and an Approve button appears in the chat; nothing changes on the site until the user presses Approve there. Undo restores the exact previous terms. Needs Store Assistant 1.3.9 or newer. Put every edit of this request in ONE call (up to 20 products) — the user approves them together with one click and can undo them together; never one call per item.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "taxonomy": "<taxonomy>",
      "mode": "<mode>"
    },
    "name": "plan_taxonomy_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoProduct ids (search_products / get_product).
modeYes
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
skusNoExact product SKUs, instead of ids.
taxonomyYesproduct_cat, product_tag, a pa_* attribute, "category", "tag" or "brand".
term_idsNoExisting term ids.
term_namesNoExact term names.
create_missingNoDefault false. true = missing terms are added to the draft as separate lines and created on approval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false and destructiveHint=false, but the description adds the crucial lifecycle context: nothing changes on the site until the user presses Approve on the preview card, Undo restores the exact previous terms, and newly created terms are removed on Undo only while unused. It also discloses a version prerequisite (Store Assistant 1.3.9+). It stops short of describing what the response/draft looks like in machine terms, but the safety profile is well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: the draft/edit intent comes first, then modes, then term inputs, then the approval/undo lifecycle, then the batching rule. Every sentence carries operational information, including the failure-mode note about unknown names and the variation-attribute exception.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation-planning tool with no output schema, the description covers inputs, error behavior, approval flow, undo semantics, version requirement and batching limits. An agent has everything needed to call it correctly and set user expectations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 88%, so the schema carries most of the burden, yet the description still adds real meaning: mode add keeps existing terms, replace leaves exactly the given terms, term_names ignore case and accents, and a nonexistent name is an error unless create_missing is true. That is value beyond the field descriptions, though per-parameter detail like skus-vs-ids exclusivity is left implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and outcome ("Prepare a DRAFT that adds, removes or replaces") with the exact resources covered (product_cat, product_tag, brand, pa_* attributes) and the target scope (one product or a few chosen products). It also disambiguates the sibling plan_product_create/plan_price_update family by being explicitly about taxonomy terms.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use rules: ids come from search_products, a variation means its parent product, an attribute used for variations must be changed in the product editor instead. It also prescribes batching ("Put every edit of this request in ONE call … never one call per item") and the fallback path via create_missing true.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources