Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft a price change

plan_price_update

AddSynapse: Prepare a DRAFT that changes product prices — use it also for ONE product. Which products: product_ids or skus (simple products or single variations), or category (every simple product in it). How: mode "set" = an exact new price (e.g. "change the price of product 61 to 65" → product_ids [61], mode "set", value 65), "percent" = by a percentage, "fixed" = by an amount. Which price: target "regular", "sale" (percent / fixed are taken from the regular price, e.g. percent -20 = 20% off; set with value 0 ends the sale) or "both" (regular plus any existing sale price; default for percent / fixed; set defaults to regular). The short form {category, percent} changes the regular and sale prices of a category by that percentage. Sale dates: sale_from / sale_to (YYYY-MM-DD, with target "sale"; the sale runs from the start of sale_from to the end of sale_to in the shop's time zone). All variations of one variable product: plan_variation_prices. 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 prices.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_price_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoset = exact price, percent, fixed = amount in shop currency.
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
skusNoExact product SKUs.
valueNoset: the new price (e.g. 65); percent: 10 = +10%, -5 = -5%; fixed: 2 = +2.00, -1.5 = -1.50.
targetNo
percentNoShort form with category: e.g. 10 = +10%, -5 = -5% (same as mode percent, value).
sale_toNoSale end date, inclusive (target sale), e.g. 2026-11-30. Omit = no end.
categoryNoEvery simple product of this category (name or slug), instead of product_ids / skus.
roundingNoFor percent / fixed. Default 2dp; x.90 / x.99 = round up to .90 / .99 endings.
sale_fromNoSale start date (target sale), e.g. 2026-11-27. Omit = starts now.
product_idsNoProduct or variation ids (search_products / get_product / list_variations).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations mark it non-readOnly/non-destructive, and the description supplies the crucial behavioral context those hints cannot convey: 'Changes nothing by itself', a preview card with an Approve button appears in chat, nothing mutates until approval (or on the Changes page when there is no button), and Undo restores exact previous prices. That resolves the apparent tension between a price-mutation tool and destructiveHint=false.

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?

Front-loaded with the purpose and the approval contract, then organized by 'Which products / How / Which price' headings. It is dense but nearly every clause carries a behavioral rule; the only waste is the repeated 'AddSynapse:' branding and a few run-on sentences that pack several rules together.

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 11-parameter, zero-required-parameter drafting tool with no output schema, the description covers product targeting, mode/value semantics, target defaults, date formats and time zone behavior, the sibling to use for variations, and the full preview-to-approve lifecycle. Nothing an agent needs to call it correctly 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?

Schema coverage is already 91%, so the baseline is 3, but the description genuinely adds meaning the schema does not: percent/fixed are computed from the regular price, 'set with value 0 ends the sale', target defaults differ per mode (both for percent/fixed, regular for set), sale dates run from start of sale_from to end of sale_to in the shop's time zone, and the short form {category, percent} changes regular and sale together.

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 changes product prices') and immediately scopes it ('use it also for ONE product'). It also separates itself from the nearest sibling by naming plan_variation_prices for the all-variations case, so an agent can route without opening schemas.

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 selection guidance at three levels: which products (product_ids / skus / category, limited to simple products or single variations), which mode (set / percent / fixed with a worked natural-language example mapping 'change the price of product 61 to 65' to concrete arguments), and which price target including defaults. It also names the alternative tool for the excluded case.

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