Skip to main content
Glama

Delete bundle

delete_bundle
Destructive

Deletes a bundle and its discount. It disappears from product pages at once. Confirm with the merchant first; set_bundle_status off keeps it for later instead. A bundle that is on goes in two steps: the first call deletes nothing and returns a confirm_token; call again with it once the merchant said yes. undo_change can bring a deleted bundle back, switched off, for 30 days.

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": {
      "id": "<id>"
    },
    "name": "delete_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBundle id from list_bundles.
confirm_tokenNoFor a bundle that is on: the token from the first call, once the merchant said yes.

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?

Annotations already declare destructiveHint=true and idempotentHint=false, but the description goes further: it discloses the two-step confirmation flow, that the first call deletes nothing and returns a confirm_token, and that undo_change can restore a deleted bundle in a switched-off state for 30 days. Those are exactly the traits an agent cannot infer from 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?

Five short sentences, front-loaded with the destructive effect before the procedural detail. The merchant-confirmation point is stated twice ("Confirm with the merchant first" / "once the merchant said yes"), a minor redundancy in an otherwise waste-free definition.

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, yet the description covers the returned confirm_token, the immediate storefront effect, the gating condition, and the recovery path with its 30-day window. For a destructive two-call operation, an agent has everything needed to call it safely.

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 coverage is 100% and the schema already documents both id and confirm_token, including that the token comes from the first call. The description only reinforces the flow context around confirm_token and says nothing new about id, so the schema is doing the heavy lifting.

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?

"Deletes a bundle and its discount" names a specific verb and resource, and adds the observable effect ("disappears from product pages at once"). It is clearly separable from the two nearest siblings it names, set_bundle_status and undo_change.

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?

It states the prerequisite (confirm with the merchant first) and names the alternative for the non-destructive case (set_bundle_status off keeps it for later). It also spells out that an active bundle requires a two-call sequence, so an agent knows exactly when a single call is insufficient.

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