Skip to main content
Glama

Confirm Payment

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

NameRequiredDescriptionDefault
cc_tokenYes
payment_tokenYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, and for an irreversible money-moving operation it omits critical traits: whether the payment is actually captured, idempotency/duplicate-charge protection, retry semantics, and required authorization. It only discloses the end state ('completes the purchase and returns an order confirmation'), which is thin for a payment action.

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 sentences, zero filler, with the token requirements and the resulting outcome front-loaded. Nothing redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the input roles are covered. However, with no annotations and a destructive payment action, the missing behavioral context (idempotency, auth, failure handling) leaves the definition only minimally complete.

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% with two bare string params, so the description must compensate — and it does by defining cc_token as a credit card token and identifying payment_token's origin (checkout). It adds real meaning, though no format/validity hints are given.

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?

States a specific verb (confirm) and resource (payment), and names both inputs and the resulting outcome (order confirmation). It implicitly separates itself from checkout by sourcing payment_token 'from checkout', but never names a sibling explicitly, so it stops short of the 5 bar.

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 phrase 'a payment_token from checkout' establishes a clear prerequisite/ordering constraint — the agent knows checkout must run first. There is no explicit when-not-to-use guidance or failure-alternative, so it is clear context without exclusions.

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.