Skip to main content
Glama

Quantum Atlas Universal Commerce Storefront (UCP)

Complete UCP Checkout & Issue Buyer Handoff

complete_checkout
Idempotent

Finalize pre-payment checkout validation, mint a live Stripe Checkout or 50/50 Base DropERC1155 checkout session, and return UCP status "requires_escalation" with continue_url. Use this to hand the buyer off to Merchant-of-Record payment authorization. Parameters: pass top-level id ("uchk_*"), meta.idempotency-key, and optional checkout.buyer or payment preferences. Behavior: replay-safe on idempotency-key; never fabricates settled orders—returns requires_escalation + continue_url and records a trackable uord_* / Stripe order reference.

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": "complete_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCheckout identifier (uchk_<20 hex chars>) to finalize.
metaNoUCP protocol request metadata (meta.ucp-agent and meta.idempotency-key).
checkoutNoOptional completion body.

Output Schema

NameRequiredDescriptionDefault
ucpYesNegotiated UCP protocol metadata and capability intersection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare openWorldHint, idempotentHint, and non-destructive mutation, yet the description still adds substance: what gets minted, the replay-safety key semantics, the explicit guarantee that no settled order is fabricated, and that a uord_*/Stripe order reference is recorded. That is real side-effect disclosure beyond structured fields, though error paths and partial-failure behavior remain unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The outcome and handoff purpose are front-loaded, and the labeled 'Parameters:'/'Behavior:' structure scans well. Minor waste: 'requires_escalation' with 'continue_url' is repeated in the Behavior sentence, and 'Stripe Checkout or 50/50 Base DropERC1155' packs two branches into a phrase that could be tighter.

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 nested-schema, multi-mode tool with rich annotations and an output schema, the description covers purpose, inputs, and side effects adequately. What is missing is prerequisite state (must the checkout be validated/open?) and what an agent should do when the call fails, which matters given the two distinct session types.

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 description coverage is 100%, so the schema already documents id format, idempotency-key semantics, buyer fields, and wallet address. The description's parameter sentence restates which fields to pass without adding format, precedence, or interaction rules, so it sits at the baseline.

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 opens with a specific verb chain and named resources: finalize pre-payment validation, mint a Stripe Checkout or Base DropERC1155 session, and return requires_escalation with continue_url. That is enough to separate it from create_checkout/update_checkout, though it never names a sibling explicitly, so an agent must infer the boundary rather than read it.

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?

'Use this to hand the buyer off to Merchant-of-Record payment authorization' gives a clear situational trigger, and 'pre-payment checkout validation' implies it comes after checkout creation/update. It stops short of stating exclusions (e.g., don't call if the checkout is already paid or cancelled) or naming the alternative tools to use instead.

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