Skip to main content
Glama

agentPickup

Pay for an order

pay_order
Idempotent

Pay an order in USDC over x402 from wallet 0xd253e213cE143Aa0E1e1cAfc92f7AE82c98aB3bB. This spends money: confirm the items and total with the user first. Returns the pickup pass link.

Input Schema

NameRequiredDescriptionDefault
order_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the description's highest-value additions are the real-money warning, the exact funding wallet, and the payment rail (x402). It also discloses the main return artifact ('the pickup pass link'), which goes beyond the annotations. What it omits is failure/refund behavior and whether the payment is escrowed or immediately settled.

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 short sentences, front-loaded with what it does, then the safety gate, then the return value. Every clause earns its place; nothing is redundant with the title or schema.

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 spend-money mutation with a single parameter, the description covers the key pieces: mechanism, funding source, user-confirmation prerequisite, and the return value (no output schema exists, so naming the pickup pass link matters). The remaining gap is post-call behavior — what the agent should report on failure or duplicate submission — but that is a modest omission for an idempotent, single-param tool.

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 0% for the single required parameter, so the description must carry the meaning — and it never explains that order_id comes from create_pickup_order or what format it takes. The implicit link between 'Pay an order' and an order identifier is enough for an agent to guess, but not enough to be confident about sourcing the value.

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 opens with a specific verb and resource ('Pay an order') plus the mechanism ('in USDC over x402') and the funding wallet, so an agent knows exactly what the tool does. It stops short of naming how it relates to siblings like create_pickup_order or order_status, but the payment verb is distinct enough from the get/list tools that confusion is unlikely.

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?

It states a clear precondition for use: 'This spends money: confirm the items and total with the user first,' which tells the agent when this is appropriate and what gate must pass before calling. It does not explicitly route to create_pickup_order as the prerequisite step or say what to do if payment fails, so the ordering of the workflow is implied rather than stated.

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.