Skip to main content
Glama

Switch bundle on or off

set_bundle_status
DestructiveIdempotent

Switches a bundle on (shoppers see it on product pages and checkout applies its discounts) or off. Switching on needs the Plus plan. The result says whether bundles appear on the live theme and, if not, gives the merchant a link to turn them on.

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>",
      "status": "<status>"
    },
    "name": "set_bundle_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBundle id from list_bundles.
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds real value beyond that: the plan requirement for enabling (an authorization constraint an agent should check first) and the fact that the response reports live-theme visibility with a remediation link when bundles are not shown. The side effect of turning a bundle off (its discounts stop applying at checkout) is only implied by the parenthetical, not stated for the 'off' direction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: capability first, gating prerequisite second, return behavior third. Every clause carries information an agent would otherwise have to guess, and nothing is repeated from the annotations or schema.

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?

With no output schema, the description correctly spends its last sentence explaining what the response reports (live-theme visibility plus a link to enable), which is exactly the gap it needs to fill. Plan gating and state semantics are covered; the only shortfall is that the consequence of disabling an existing bundle is not made explicit for a destructive, open-world mutation.

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 50% — only 'id' is documented ('Bundle id from list_bundles'), while the 'status' enum carries no schema description. The description partially compensates by explaining what 'on' means in business terms (visible on product pages, discounts applied at checkout) and implies 'off' is the inverse, but it never states the enum values literally, and the id parameter adds nothing beyond the schema.

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 (switches on/off) and resource (bundle), and goes further by defining what each state means operationally: shoppers see it on product pages and checkout applies its discounts. It does not explicitly contrast with update_bundle or set_cart_status, so sibling differentiation is left to the name, but the on/off semantics are unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides one concrete gating condition — 'Switching on needs the Plus plan' — which tells the agent a prerequisite before attempting an 'on' call. However, there is no guidance on when to choose this versus update_bundle or delete_bundle, and nothing about when turning a bundle off is inappropriate, so usage is implied rather than stated.

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