Skip to main content
Glama

Show a prepared order

get_checkout
Read-onlyIdempotent

The current state of an order prepared with create_checkout: items, delivery, total, what is missing, continue_url and status (open, opened by the person, ordered, expired).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "checkout_id": "<checkout_id>"
    },
    "name": "get_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkout_idYescheckout_id from create_checkout.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: the response exposes gaps ('what is missing'), a continue_url for resuming, and the four status values including 'opened by the person' and 'expired'. It stops short of saying what an agent should do with an expired checkout or whether repeated polling is expected.

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?

One sentence, front-loaded with the core purpose and then the payload contents. Because no output schema exists, listing the returned fields is not padding but the essential information, and nothing is redundant.

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?

With no output schema, the description must describe return values, and it does so by enumerating fields and status values. For a one-parameter read tool with full annotations, that is nearly complete; only the meaning of edge statuses like 'expired' for a caller's next action is left unspecified.

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 100% and the single parameter is already documented as 'checkout_id from create_checkout', so the schema carries the load. The description adds no format or sourcing detail beyond that, which is the expected baseline for a single fully-described parameter.

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 names a specific verb (show current state) and resource (an order prepared with create_checkout), and enumerates exactly what is returned: items, delivery, total, missing fields, continue_url and status. It ties itself to create_checkout as the producer, which helps distinguish it from that sibling, but it doesn't differentiate from other read-style siblings such as order_status.

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?

Usage is only implied through the phrase 'prepared with create_checkout', which tells an agent this is the follow-up read after creation. There is no explicit when-to-use/when-not guidance and no statement about alternatives like order_status or update_checkout, so the routing is left to inference.

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.

Resources