Skip to main content
Glama

confirm_payment

Confirm payment using a payment_token from checkout and a cc_token (credit card token). Completes the Salvage & Surplus purchase and returns an order confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cc_tokenYes
payment_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?

With no annotations, the description carries the full burden. It does disclose that the tool completes the purchase and returns an order confirmation, which implies finality. Yet it does not explicitly state irreversible effects (e.g., charging the card) or error possibilities, leaving some behavioral ambiguity for a payment operation.

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?

The description is two sentences, front-loaded with the primary action, and each sentence adds necessary context. There is no fluff or repetition, making it highly concise and well-structured.

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 tool with 2 required parameters and an output schema, the description is almost sufficient. It explains the process and return value, but lacks details about side effects beyond 'completes the purchase'. It is still more complete than many tools, given the low complexity.

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 description coverage is 0%, so the description must compensate. It adds meaning by explaining that payment_token comes from checkout and cc_token is a credit card token, giving agents a better understanding than the bare schema. It does not provide format or validation details, but it covers the core roles of both parameters.

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 tool confirms payment using two specific tokens and completes the purchase, with a concrete outcome (returns order confirmation). The verb 'confirm' and resource 'payment' are specific, and it distinguishes itself from siblings like checkout and add_to_cart by focusing on final payment confirmation.

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?

The description implies this tool is used after checkout by mentioning 'payment_token from checkout', providing clear context of when to use it. However, it does not explicitly exclude alternatives or state when not to use it, so it slightly misses the top score for explicit when/when-not guidance.

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

Each tool has a distinct role: product discovery (search_products, get_product), cart management (add_to_cart), and payment processing (checkout, confirm_payment). The sequential flow is clear and there is no overlap between tools.

Naming Consistency4/5

Most tools follow a consistent lowercase verb_noun pattern (add_to_cart, confirm_payment, get_product, search_products). 'checkout' deviates slightly as a single verb, but it is still clear and follows the same overall style.

Tool Count5/5

With 5 tools, the server is well-scoped for a simple purchase workflow. Each tool is necessary for the core flow of searching, viewing, adding to cart, and completing a purchase.

Completeness4/5

The purchase lifecycle is covered end-to-end: search, retrieve details, add to cart, checkout, and confirm payment. Minor gaps exist such as no update/remove cart functionality, but these do not block the primary workflow.