Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft variation prices

plan_variation_prices

AddSynapse: Prepare a DRAFT that changes the prices of the variations of one variable product by a percentage OR an amount, on the regular price, the sale price or both (default both; empty sale prices stay empty), optionally only the variations with an attribute value (e.g. value "L"). 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

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": {
      "product_id": "<product_id>"
    },
    "name": "plan_variation_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
valueNo
amountNoe.g. 2 = +2.00, -1.5 = -1.50 (shop currency)
percentNoe.g. 10 = +10%, -5 = -5%
apply_toNo
attributeNo
product_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it explains that this only stages a draft, that nothing changes on the site until the user presses Approve on the preview card (or the Changes page when no Approve button exists), and that Undo restores exact previous prices. That is exactly the mutation-safety context the annotations alone cannot convey.

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-loads the core action and its defaults before moving to the draft/approve workflow, and every clause carries information. The opening sentence is long and parenthetical-heavy, which costs some readability.

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 non-destructive-but-mutating draft tool with no output schema, the description covers the workflow, approval paths, reversibility, and default behavior well. The unexplained `value` parameter is the one notable hole in an otherwise complete picture.

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

Parameters3/5

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

The description adds real meaning for percent, amount, apply_to's default, the empty-sale-price rule, and the attribute filter with a concrete 'L' example. However, with only 43% schema coverage, the bare `value` string parameter is left entirely undefined and ambiguous next to amount/percent, which is a meaningful gap the description should have closed.

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

Purpose4/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 variation prices of one variable product, including the means (percentage or amount) and targets (regular, sale, or both). The scope 'variations of one variable product' implicitly separates it from a simple-product price sibling, but no sibling is named explicitly.

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?

Clear context is given for when to reach for this tool, including the defaults that matter in practice (apply_to defaults to both, empty sale prices stay empty) and the optional attribute-value narrowing. It stops short of naming an alternative tool for non-variation price changes, so the agent must infer the boundary.

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