Skip to main content
Glama

Quantum Atlas Universal Commerce Storefront (UCP)

Get UCP Checkout Session

get_checkout
Read-onlyIdempotent

Fetch current status, line items, final USD cent totals, fulfillment options, escalation messages, and continue_url for a uchk_* checkout session. Use this to poll or resume checkout state; use get_order for post-checkout order tracking. Parameters: pass top-level id ("uchk_<20 hex chars>") returned by create_checkout. Behavior: read-only, zero charge; returns current checkout status ("incomplete", "requires_escalation", "completed", or "canceled").

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": {
      "id": "<id>"
    },
    "name": "get_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCheckout session identifier (uchk_<20 hex chars>).
metaNoUCP protocol request metadata (meta.ucp-agent and meta.idempotency-key).

Output Schema

NameRequiredDescriptionDefault
ucpYesNegotiated UCP protocol metadata and capability intersection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the description's 'read-only' line is largely redundant, but 'zero charge' adds genuinely new safety context. It also discloses the observable status set ('incomplete', 'requires_escalation', 'completed', 'canceled'), which goes beyond what the annotations state; only return-shape detail is left to the output schema.

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?

Front-loaded with the return contents, then clearly partitioned into 'Parameters:' and 'Behavior:' segments. Every sentence carries usable signal and nothing is padded; the only near-waste is restating read-only already covered by annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for a two-parameter read tool: identity, provenance, return payload, status values and safety profile are all covered. With an output schema present, the description is not obligated to define return field shapes, and it doesn't need to.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, and the description adds real meaning: it specifies that id is passed top-level (not nested in meta) and that the value originates from create_checkout. It does not explain when meta.idempotency-key matters for this read call, which is the one remaining ambiguity.

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?

Names a specific verb ('Fetch') and resource ('uchk_* checkout session'), then enumerates exactly what comes back (status, line items, USD cent totals, fulfillment options, escalation messages, continue_url). It explicitly separates itself from get_order, so an agent can pick it without opening either 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?

Gives a clear use case ('poll or resume checkout state') and one named alternative with its condition ('use get_order for post-checkout order tracking'). It stops short of stating when not to call it or how it relates to checkout lifecycle siblings like create_checkout/cancel_checkout, but the primary routing decision is explicit.

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