Skip to main content
Glama

Get bundle

get_bundle
Read-onlyIdempotent

Returns one bundle with every setting the app's editor can change: its deals (options, each with a short_id), which products it applies to, free gifts, upsells, price display and schedule. Pass include_style for colors, sizes and the custom swatches (variant_picker). We leave them out otherwise to keep the answer short. update_bundle takes changes under the same names. A bundle in an A/B test shows ab_test; pass version for the settings of version B, C or D.

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

Input Schema

NameRequiredDescriptionDefault
idYesBundle id from list_bundles.
versionNoA/B test version. Default A, the live item. B, C and D change only while the test is a draft.
include_styleNoAlso return colors, sizes, the product picker's look and the custom swatches (variant_picker).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive, so the description correctly spends its words elsewhere: it discloses that style fields are omitted by default and that a bundle in an A/B test surfaces an ab_test field. The draft-only caveat for versions B/C/D adds genuinely useful behavioral context. It does not cover failure behavior for an unknown id, which keeps it from a 5.

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 returned payload, then the optional-flag behavior, then the update_bundle cross-reference and the A/B-test caveat. Every sentence carries information; the dense parenthetical field list is slightly heavy but earns its place by telling the agent what comes back.

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?

With no output schema, the description compensates by enumerating the returned settings and flagging the conditional ab_test field and default field omission. Combined with a fully documented three-parameter schema, an agent has everything needed to call this correctly and interpret the result shape.

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, but the description adds real meaning: it explains why include_style exists (response size tradeoff) rather than just restating what it returns, and it ties version to the visible ab_test field. The version semantics largely duplicate the schema's own description, so it does not exceed a 4.

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 specific verb and resource ('Returns one bundle') and enumerates the payload (deals with short_id, products, free gifts, upsells, price display, schedule), which singles it out from list_bundles and get_bundle_benchmarks. An agent can tell exactly what this tool fetches before opening the schema.

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

Usage Guidelines4/5

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

Gives concrete conditional guidance: pass include_style when colors/sizes/swatches are needed, omit it to keep the answer short; pass version to read B/C/D settings of an A/B test. It also cross-references update_bundle for the inverse write operation. What it lacks is an explicit 'use list_bundles first to obtain ids' or a stated exclusion versus get_bundle_benchmarks.

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