Skip to main content
Glama

purchase_wizard

Destructive

Text-only fallback purchase flow for clients WITHOUT widget support. In ChatGPT prefer list_esim_plans / list_products + validate_order + create_order instead. Stateful: call repeatedly with the same session_token, answering one question at a time, until status is "complete". First call: empty arguments. The final "confirm" answer creates a REAL order — get explicit user approval first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNo"back" to return to the previous step
answerNoAnswer to the current question
session_tokenNoOmit on the first call — a new session is minted

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNo
stepNo
errorNo
resultNo
statusYesin_progress | complete | error
optionsNo
summaryNo
questionNoAsk the user this
session_tokenYesPass back on every call of this session

TDQS

A4.6/5.0
Behavior5/5

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

While annotations already set destructiveHint=true, the description adds crucial behavioral specifics: the final 'confirm' answer creates a REAL order and requires explicit user approval. It also explains the stateful nature (call repeatedly, answer one question at a time), which is not apparent from annotations alone. No contradiction with annotations.

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 tightly packed sentences deliver the fallback use case, alternative tools, stateful flow, and critical safety warning. Every sentence serves a distinct purpose with zero redundancy, and the most critical information (fallback + alternatives) is front-loaded.

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?

It covers the essential flow: first call empty, stateful progression, completion status, and destructive final action. It could elaborate on error handling or the nature of the questions, and the output schema existence mitigates the need for return-value details. Minor gaps remain but the description is largely complete for a complex stateful wizard.

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%, so all parameters already have descriptions. The description merely restates 'First call: empty arguments' and 'same session_token', which are also in the schema. It adds no new semantic meaning beyond what the schema provides, meeting the baseline for high schema coverage.

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?

The description explicitly states it is a 'Text-only fallback purchase flow for clients WITHOUT widget support' and directly contrasts it with list_esim_plans / list_products + validate_order + create_order, making the purpose and resource unmistakable and clearly distinguishing it from sibling tools.

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 gives explicit when-to-use context ('for clients WITHOUT widget support') and when-not-to-use ('In ChatGPT prefer ... instead'), listing the preferred alternatives. It also details the stateful interaction pattern: repeated calls with the same session_token, answering one question at a time until status is 'complete', with first-call behavior specified.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Most tools have clear distinct purposes: listing currencies, payment methods, prices, brands, eSIM plans, products, searching, validating, creating, and checking order status. However, potential confusion between list_esim_plans and list_products for eSIM purchases, and search_products overlapping with list_brands/list_products, creates slight ambiguity. purchase_wizard serves as a fallback but is clearly labeled.

Naming Consistency4/5

Tools follow a consistent verb_noun pattern: get_currencies, get_order_status, get_payment_methods, get_price, list_brands, list_esim_plans, list_products, validate_order, create_order, search_products. 'purchase_wizard' deviates slightly as a noun phrase rather than verb_noun, but it's a distinct standalone tool.

Tool Count5/5

With 11 tools covering the full purchase lifecycle (browse, search, price, validate, create, status) plus payment configuration, the count is well-scoped for a payment/order platform. Each tool serves a necessary function without redundancy.

Completeness5/5

The tool surface is comprehensive: listing brands/products/eSIM plans, searching, getting prices and methods, validating and creating orders, and checking status. The flow from validate_order → create_order → get_order_status is complete, with fallback purchase_wizard covering widget-less scenarios. No major gaps.

Resources