Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft new products

plan_product_create

AddSynapse: Prepare a DRAFT of NEW simple products for the WooCommerce shop (name, regular price, optional sale price, description, short description, SKU, stock, existing categories by name, an existing image id from find_media). Put ALL the new products of one request into ONE call (up to 10 in products[]): the user approves them with one click. Nothing is created now: the shop creates them when the user presses Approve on the draft card — live in the shop (status publish, default) or kept as drafts in WooCommerce (status draft, only when the user asked). Undo moves those products (and their variations) to the trash. Products with options (sizes, colors…): type variable + attributes [{name, options}] + variations, each one option of every attribute with its own regular price, optional sale price, stock and SKU (no variations = every combination with the product's regular_price / stock_quantity); at most 50 variations per product, 100 per call; a shop attribute with the same name (Size → pa_size) is used, else one only for this product. New images are not uploaded here. Afterwards get_product (id or product_id from the result) / search_products show the new products. Needs Store Assistant 1.3.11 or newer (products with options: 1.3.13). Put every edit of this request in ONE call (up to 10 new 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": {
      "products": "<products>"
    },
    "name": "plan_product_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
productsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say this is a non-readonly, non-idempotent, non-destructive write; the description adds the far more important behavior: nothing is persisted until the user presses Approve, publish is the default while WooCommerce draft requires an explicit request, and Undo trashes the products and their variations. It also discloses the minimum Store Assistant version (1.3.11, 1.3.13 for variations), which is context no structured field carries.

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

Conciseness3/5

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

Purpose is front-loaded, which is good, but the body is a dense run-on paragraph mixing purpose, batching rules, variation modeling, and version requirements. The batching instruction ('ONE call, up to 10, one click, never one call per item') is stated twice, so a non-trivial share of the text is redundant rather than additive.

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 a nested, multi-product planning tool with no output schema, the description covers the approval/draft lifecycle, the follow-up read path ('id or product_id from the result'), version prerequisites, and all cardinality limits. An agent has everything needed to invoke it correctly on the first try.

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?

With only 50% schema description coverage, the description compensates well: it explains the price-inheritance rule (omitted variations get the product's regular_price/stock_quantity), the pa_size attribute-reuse behavior, the SKU/stock/price makeup of each variation, and the cardinality ceilings (10 products, 50 variations per product, 100 per call). It adds little for the few fields it omits, such as manage_stock, but overall it meaningfully extends the schema.

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?

The opening line states a specific verb and resource — 'Prepare a DRAFT of NEW simple products' — and enumerates the fields involved, then immediately clarifies the crucial scope boundary that 'Nothing is created now'. An agent can distinguish it from plan_product_text, plan_price_update, or plan_variation_prices without opening any schema.

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?

Explicit when-to-use rules are given ('draft status only when the user asked', 'products with options: type variable'), along with hard exclusions ('New images are not uploaded here') that route to find_media and read-back tools (get_product, search_products). It also states the batching rule twice, forbidding one call per item.

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