Skip to main content
Glama

Change a price option

update_price_option
Destructive

Change one of a checkout's price options (the levels buyers pick between, like Standard and VIP), draft or live: its name, the line under it (description), its price, or take it off the checkout (active: false). Get the option's id or name from get_product (tiers). Subscribers already on it keep the price they signed up at. On a draft this applies straight away. On a LIVE checkout it applies straight away too (status applied; the seller can roll it back on their Approvals page), unless it touches money: a price, currency, billing, the delivery link, payment plans, an early-bird price or campaign, or a retention discount or pause. Those create an approval request instead (status pending_approval): tell the seller, give them the approvalUrl, and check later with approval_status. To change other things straight away, don't send money fields in the same call. Never invent a price or a link.

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": "<product>",
      "option": "<option>"
    },
    "name": "update_price_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe option's name, e.g. "VIP".
priceNoPrice in the checkout's currency, in major units (297 = $297.00).
activeNoFalse takes it off the checkout. Past orders keep it.
optionYesThe price option's id or name, from get_product (tiers).
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
productYesThe checkout's id or slug.
descriptionNoThe line buyers see under the option. Empty removes it.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior1/5

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

The description matches the annotations (not read-only, destructive, closed-world) and adds substantial context beyond them: draft vs live application, applied vs pending_approval status values, approvalUrl, seller rollback via Approvals page, and that existing subscribers retain their original price. This is well past the bar set by the annotations.

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 core action and scope, then the identifier source, then the draft/live rule. It is dense and slightly run-on in the long money-field enumeration, but nearly every clause carries operational information; the closing warning ('Never invent a price or a link') is a useful guardrail rather than filler.

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?

There is no output schema, but the description supplies the return-relevant statuses (applied, pending_approval) and approvalUrl, plus side effects (subscribers keep their price, seller rollback). For a destructive 7-parameter mutation tool, an agent has everything needed to call it and report the outcome correctly.

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 100%, so the baseline is 3. The description still adds meaning the schema lacks: that price, currency, billing, delivery link, payment plans, early-bird, campaign, retention discount and pause fields are 'money fields' whose presence routes the call into approval rather than immediate application, which is parameter-interaction semantics an agent cannot infer from 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?

Names a specific verb and resource ('Change one of a checkout's price options') and parenthetically defines the concept ('the levels buyers pick between, like Standard and VIP'), which disambiguates it from update_checkout, update_order_bump and update_upsell. It also enumerates the mutable fields, so the scope is unambiguous.

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?

Explicitly routes the agent to get_product (tiers) for the option id/name and to approval_status for later checking. It states the exact condition under which behavior changes (draft vs live, money vs non-money fields) and gives a concrete operational rule: do not mix money fields into a call meant to apply immediately.

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.