Skip to main content
Glama

Update checkout

update_checkout
Idempotent

Update buyer, shipping address (fulfillment) or line items of a checkout session.

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": "<checkout>",
      "id": "<id>"
    },
    "name": "update_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesResource id.
metaNoUCP request metadata: {"ucp-agent": {"profile": "<platform profile URL>"}, "idempotency-key": "<uuid>"}.
checkoutYesUCP checkout payload, shape per https://ucp.dev/2026-08-25/schemas/shopping/checkout.json

Output Schema

NameRequiredDescriptionDefault
ucpYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds scope (which checkout facets can change) but says nothing about partial-vs-full replacement semantics, whether omitted fields are preserved, or permission requirements for a mutation that touches buyer and fulfillment data.

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?

A single front-loaded sentence that names the resource first and the mutable facets second, with zero filler. It is arguably too terse for a mutation tool, but nothing in it is wasted.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and idempotency is declared in annotations. However, for a nested-payload mutation touching buyer and fulfillment, the definition omits merge/patch semantics and any completion-state precondition, leaving real gaps.

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 the baseline is 3, but the checkout parameter is an opaque free-form object pointing at an external schema; the description's enumeration of buyer/fulfillment/line-items meaningfully tells the agent what to put inside it. The meta and id parameters are already well documented in the schema.

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 states a specific verb (update) and resource (checkout session) and enumerates the mutable facets: buyer, shipping address/fulfillment, and line items. It implicitly distinguishes itself from create_checkout, get_checkout and complete_checkout by describing in-place mutation, though it never explicitly contrasts with the sibling update_cart.

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: an agent can infer this is for modifying an existing checkout before completion, but there is no explicit 'use this when' statement, no mention of prerequisites (e.g., checkout must not be completed/cancelled), and no routing away from update_cart or complete_checkout.

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