Skip to main content
Glama

Get one checkout with its funnel

get_product
Read-only

One product plus the order bumps, upsells, price tiers and payment plans attached to it, and offerChain: the upsells buyers see after paying, in order, with where each yes and no leads (an offer id or thank_you). Accepts either the product id or its slug.

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

Input Schema

NameRequiredDescriptionDefault
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
productYesThe product's id or slug.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description earns credit beyond that by disclosing the response shape, notably that offerChain lists upsells in order and encodes where each yes/no branch leads (an offer id or thank_you) - real semantic context an agent needs to interpret results.

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?

One sentence, front-loaded with the core resource and then the attachments, with zero filler. It is slightly run-on and stacks several clauses, but every clause carries information.

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?

There is no output schema, so the description bears the burden of describing returns, and it does so adequately by naming the nested collections and explaining the offerChain branch semantics. Only the account scoping parameter is left entirely to the schema, which is acceptable at 100% coverage.

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%, including that product is 'the product's id or slug' and that account is only for client accounts. The description's note about id-or-slug duplicates the schema rather than adding to it, so baseline 3 applies.

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?

The description gives a specific verb and resource and enumerates the payload: one product plus order bumps, upsells, price tiers, payment plans and an offerChain. It clearly distinguishes a single-product fetch from checkout-level siblings, though it never names an alternative tool to avoid, and the title's use of 'checkout' vs the name's 'product' adds a small ambiguity.

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?

Usage is implied by 'One product plus...' - it is the single-record read - and it states that either an id or a slug is accepted. There is no explicit when-to-use/when-not guidance, no mention of prerequisites, and no routing to siblings such as funnel_stats or compare_checkouts.

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.