Skip to main content
Glama

checkout_status

Read-only

Check where an approval stands—pending, switching, placing, placed (with order number), rejected, expired, superseded, or failed—by providing its approval_id before completing a purchase.

Instructions

Where an approval stands: pending, switching (the user is changing the card), placing, placed (with order_number), rejected, expired, superseded or failed (with detail).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
approval_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true (safe read) and openWorldHint=true. The description adds meaningful semantics about the status values, but doesn't mention the return structure, whether polling is needed, or auth requirements. The value added to the safety profile is minimal.

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 a single, well-structured sentence with no wasted words and front-loads the key concept (approval status) and its possible values.

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 a single-parameter tool with an output schema, the description covers the main status values and the fact that placed includes order_number and failed includes detail. It lacks explanation of what approval_id is and how to obtain it, but the output schema likely handles return details.

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 coverage is 0%, so the description should explain the required approval_id parameter. It does not define its format or source. However, with only one required parameter and an output schema, the burden is lower; baseline 3 is appropriate.

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 clearly identifies the resource (an approval) and enumerates its possible states, which tells the agent this is a status-reporting tool. It does not explicitly contrast with the sibling checkout_request, but the specific enumeration and phrasing distinguish it from a generic status check.

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?

The description implies usage (checking the state of a checkout approval), but gives no explicit guidance on when to use it versus alternatives like checkout_request or orders. No when-not or prerequisites are stated.

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