Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft product names and descriptions

plan_product_text

AddSynapse: Prepare a DRAFT that rewrites the name, the description (long description, HTML) and/or the short description (HTML) of products (ids from search_products; get_product shows their current description and short_description: read them first). Put ALL the products of one request into ONE call (up to 20 products in products[]), never one call per product: the user approves them with one click and can undo them together. Only the fields you give change; HTML is cleaned by WordPress (no scripts). Changes nothing by itself: the user approves the draft card; Undo puts the exact previous texts back. SEO title and meta description: plan_seo_update. Needs Store Assistant 1.3.10 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": {
      "products": "<products>"
    },
    "name": "plan_product_text"
  }
}

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.4/5.0
Behavior4/5

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

Well beyond the annotations: it discloses that the call changes nothing by itself, that the user approves a draft card and Undo restores the exact previous texts, that only supplied fields change, that HTML is sanitized by WordPress, and that Store Assistant 1.3.10+ is required. This is rich behavioral context that the readOnly/destructive/idempotent hints cannot convey. The only gap is what the call returns (e.g. a changeset identifier) for later approval.

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 and the batching rule are front-loaded, but the batching instruction is stated twice in near-identical wording ('Put ALL the products of one request into ONE call ... never one call per product' and 'Put every edit of this request in ONE call (up to 20 products) ... never one call per item'). That duplication is the main waste in an otherwise tight description.

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

Completeness4/5

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

For a mutation tool with two parameters, no output schema and only four boolean hints, the description covers workflow (read-first), safety (draft + undo), batching, sanitization and version requirements. The remaining shortfall is the lack of any indication of what the draft call returns for subsequent approval/undo.

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 50%, so the description must compensate, and it does: ids must come from search_products, the batch is capped at 20 products (matching maxItems), omitting a field leaves it unchanged, and HTML fields are sanitized. Field-level meaning (name plain text, description HTML) is mostly carried by the schema itself.

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+resource+scope: prepare a DRAFT that rewrites product name, long description (HTML) and/or short description (HTML). It explicitly routes the SEO equivalent to plan_seo_update, so an agent can distinguish it from plan_product_create, plan_seo_update and the other plan_* siblings without opening a 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?

Gives concrete prerequisites and alternatives: product ids come from search_products, current text should be read first via get_product, SEO title/meta belong to plan_seo_update, and all edits for one request must be batched into a single call of up to 20 products. When-to-use and when-not-to-use are both explicit.

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