Skip to main content
Glama

Remove an upsell

remove_upsell
Destructive

Delete an upsell from one of the seller's checkouts, draft or live. If it's in the chain, whatever led to it now leads on to where its own yes went (else its no). To hide it but keep it, use update_upsell with active: false. 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>",
      "upsell": "<upsell>"
    },
    "name": "remove_upsell"
  }
}

Input Schema

NameRequiredDescriptionDefault
upsellYesThe upsell's id.
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.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare destructive/openWorld but the description adds substantial behavior the annotations cannot: chain rewiring of dependent upsells, immediate application on drafts, applied vs pending_approval statuses on live checkouts, the precise set of money-touching fields that trigger approval, and the instruction to surface approvalUrl and poll approval_status.

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?

The main action is front-loaded and almost every sentence carries operational weight. The chain-rewiring sentence ('whatever led to it now leads on to where its own yes went (else its no)') is cryptically worded and costs more parsing effort than it should for a delete tool.

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?

Given a destructive three-parameter tool with no output schema, the description covers everything needed to call it correctly: draft vs live semantics, the approval branch and follow-up tool, and the prohibition on inventing prices or links. Nothing material is left for the agent to guess.

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?

Schema description coverage is 100%, so the three parameters (upsell, product, account) are already documented in structured form. The description adds only incidental meaning (product is a checkout, account is a client's) and no format or edge-case detail beyond the schema, so baseline 3 applies.

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?

Opens with a specific verb and resource: 'Delete an upsell from one of the seller's checkouts, draft or live,' and immediately distinguishes itself from update_upsell, which hides rather than deletes. An agent can route between remove_upsell and update_upsell without opening either 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?

Explicitly states the alternative ('To hide it but keep it, use update_upsell with active: false') and the condition that selects it. It also warns against sending money fields alongside other changes to avoid triggering approval, which is actionable when-to/how-to guidance.

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.