Skip to main content
Glama

pay_order

Simulate a successful payment for an order to trigger automatic shipping and delivery progression, letting agents test complete commerce flows without real funds.

Instructions

Simulate a successful payment for an order. Shipping auto-advances (~5s) and delivery (~15s) so agents can exercise full flows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_noYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose genuinely useful side effects: shipping auto-advances (~5s) and delivery (~15s). It still omits prerequisites (must the order be unpaid?), idempotency/error behavior, and confirmation that this is a mock that never touches real money, so it is strong but not complete.

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 short sentences, zero filler, with the core action stated first and the side-effect timings immediately after. Every clause earns its place.

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?

For a one-parameter tool with no output schema and no annotations, the description covers what happens and roughly how long it takes, which is the most important part. It is still thin on preconditions, failure modes, and what state the order is left in, which an agent needs before invoking a state-changing simulation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter 'order_no' has no description in the schema. The description only implies 'an order' generically and adds no format, source, or example for the identifier, so it fails to compensate for the coverage gap.

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 and resource ('Simulate a successful payment for an order') and the word 'simulate' distinguishes it from real-payment siblings like create_order or request_refund. However, it never explicitly contrasts itself with those siblings, so the differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'so agents can exercise full flows' implies the tool is meant for end-to-end test scenarios, which is a usable hint about context. But there is no explicit when-to-use/when-not guidance, no prerequisites, and no mention of what to call instead for a real (non-simulated) payment flow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.