Skip to main content
Glama

Show bundle card

show_bundle
Read-onlyIdempotent

Shows the merchant a live card of a bundle in the chat: the real widget, which they can click like a shopper, with buttons to switch it on and open it in the app. Call it once when the bundle is ready to show, not after every change. Use render_bundle_preview for your own checks. In a chat without cards, give the merchant preview_url instead.

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": "show_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBundle id from list_bundles.
product_idNoA product gid or id to show it on. Default: a product the bundle's products filter allows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the description adding that the call produces a merchant-visible interactive card (not a private result) is real added context, as is the once-only invocation constraint and the no-cards fallback. It stops short of stating what happens if the bundle is not ready or the id is invalid, so it is not fully exhaustive.

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?

Three front-loaded sentences: what the merchant sees, when to call it, and the alternatives/fallback. Every sentence carries information, though the opening sentence is dense enough that the invocation rule could be split out more sharply.

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 two-parameter, non-destructive rendering tool with no output schema, the description covers what is produced, how often to call, and the alternative channel when cards are unsupported. Only the failure/not-ready behavior is left implicit.

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 both parameters are documented there, including the default product behavior tied to the bundle's products filter. The description adds no syntax or selection guidance beyond the schema, so the baseline of 3 applies; the preview_url mention is about output, not input semantics.

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?

States a concrete verb and resource ('Shows the merchant a live card of a bundle in the chat') and immediately characterizes the output as a real interactive widget with switch-on and open-in-app buttons. This clearly separates it from render_bundle_preview (agent self-checks) and get_bundle (data retrieval) without needing the schemas.

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?

Gives explicit timing ('Call it once when the bundle is ready to show, not after every change'), names the sibling alternative for a different purpose ('Use render_bundle_preview for your own checks'), and covers a fallback condition ('In a chat without cards, give the merchant preview_url instead'). When-to-use, when-not-to-use, and alternatives are all present.

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