Skip to main content
Glama

Where a prepared order stands

get_checkout_intent
Read-onlyIdempotent

Read the state and payment evidence of an order this connection prepared. Reading never starts a payment.

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": {
      "intentId": "<intentId>"
    },
    "name": "get_checkout_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentIdYesThe intentId prepare_checkout returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / delegationGrantId
      Removed value: -{
      -  "description": "The grant the order was prepared under.",
      -  "maxLength": 512,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / nonce
      Removed value: -{
      -  "description": "The nonce returned by auth_challenge.",
      -  "type": "string"
      -}
    • removedInput schema / properties / signature
      Removed value: -{
      -  "description": "base58 ed25519 signature over the exact message auth_challenge returned.",
      -  "type": "string"
      -}
    • removedInput schema / properties / walletAddress
      Removed value: -{
      -  "description": "The agent wallet that signed the challenge.",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "walletAddress",
      -  "nonce",
      -  "signature",
      -  "delegationGrantId",
      -  "intentId"
      -]New value: +[
      +  "intentId"
      +]
  2. Added

TDQS

A4.2/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 baseline is covered. The description adds real domain value by asserting that reading cannot trigger a payment — a non-obvious guarantee in a checkout domain. It does not describe what 'payment evidence' contains or how stale the state may be.

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 with zero waste, and the resource scope is front-loaded before the safety assurance. Every clause earns its place.

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 single-parameter read with full annotation coverage and no output schema, this is nearly complete; it names the returned concepts (state and payment evidence) and the safety profile. Minor gap: no indication of whether state changes over time and warrants re-polling.

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's description already tells the agent to use the intentId returned by prepare_checkout. The description adds no format or sourcing detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (read) and resource (state and payment evidence of an order), and scopes it to orders 'this connection prepared,' which distinguishes it from prepare_checkout and from generic order getters. An agent can tell what it returns without opening the schema.

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?

Implies the usage pattern clearly: call it on an intent produced by prepare_checkout to check where it stands. The added 'Reading never starts a payment' reassures the caller it is a safe status check. It does not explicitly exclude or contrast with get_order, so it stops short of a 5.

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