Skip to main content
Glama

checkout

Initiate checkout for a cart. Provide cart_token from add_to_cart and a billing email. Returns a payment_token required to complete the purchase.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYes
cart_tokenYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.2/5.0
Behavior3/5

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

Discloses that checkout is initiated and returns a payment_token, but lacks details on side effects (e.g., temporary holds, cart modification) given no annotations are provided. Adequate but not fully transparent.

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?

Two concise sentences with no wasted words; front-loaded with the main action and necessary input context.

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?

Given the tool's simplicity, the description covers purpose, inputs, and output requirement. Could elaborate on validation steps, but sufficient for agent decision-making.

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?

With 0% schema description coverage, the description adds meaning by explaining the source of cart_token and the email's purpose as billing, compensating for the schema gap.

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 clearly states the action 'Initiate checkout for a cart' and distinguishes from siblings like add_to_cart and confirm_payment by specifying it returns a payment_token needed to complete the purchase.

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?

Explicitly advises to provide cart_token from add_to_cart and a billing email, which guides when to use the tool. No explicit exclusions or alternatives, but context is clear.

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/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: product search, product detail retrieval, cart addition, checkout initiation, and payment confirmation. No two tools overlap in functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case (e.g., add_to_cart, get_product, search_products). No mixing of conventions or ambiguous verbs.

Tool Count5/5

With 5 tools, the set is well-scoped for a simple e-commerce flow. Each tool earns its place, covering product discovery, cart management, and checkout without unnecessary bloat or gaps.

Completeness4/5

The core purchase workflow is complete: search, get product, add to cart, checkout, confirm payment. Minor gaps include lack of cart viewing or removal, but the essential path is covered.

Resources