Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft a stock update

plan_stock_update

AddSynapse: Prepare a DRAFT that sets the stock quantity, stock status (instock, outofstock, onbackorder) and/or stock tracking (manage_stock) of simple products or variations (use their own ids). Setting a quantity turns tracking on. 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 (or on the AddSynapse Changes page when the card has no Approve button). Undo restores the exact previous stock. Put every edit of this request in ONE call (up to 100 products or variations) — 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": {
      "items": "<items>"
    },
    "name": "plan_stock_update"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: nothing changes on the site until the user presses Approve, a preview card appears in chat, an alternate AddSynapse Changes page handles cards without an Approve button, and Undo restores the exact previous stock. It also discloses a non-obvious side effect: setting a quantity turns tracking on.

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

Conciseness4/5

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

Dense but front-loaded: the draft/no-change guarantee and the approval flow come before the batching rule. The 'AddSynapse:' prefix restates the title wastefully, and the single long paragraph could be split, but every other sentence carries actionable information.

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 two-parameter planning tool with no output schema, it covers everything an agent needs to call it correctly: the draft/approve lifecycle, undo semantics, batching limits, per-item field effects, and variation id handling. Nothing material is missing.

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 50% schema coverage, the description compensates by spelling out the stock_status values, clarifying that variation ids are their own ids rather than parent product ids, and explaining the interaction between stock_quantity and manage_stock. The site parameter's single-site omission rule is left to the schema, so it is not a complete substitute.

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 resource: prepare a DRAFT that sets stock quantity, stock status, and/or stock tracking for simple products or variations. It even scopes the id semantics (variations use their own ids), so an agent can tell this apart from price, content, or reporting 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 Guidelines4/5

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

Gives strong context on how to batch: put every edit of this request in ONE call (up to 100 items), never one call per item, with the rationale (one approval, one undo). It does not explicitly name which sibling to use for reads (e.g. stock_report) or for related price changes, so it stops short of full when/when-not routing.

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