Skip to main content
Glama

Nowacell

UCP Checkout Update

update_checkout

Update a checkout session through the shared UCP checkout capability. The payload parameter is a JSON object matching the UCP checkout.update request. line_items is required and replaces the checkout contents rather than patching them, so resend every line you want to keep even when you only mean to change the buyer or the fulfillment address. Always use dryRun=true (the default) to validate the request without persisting it, then set dryRun=false to commit.

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

Input Schema

NameRequiredDescriptionDefault
idYes
dryRunNo
payloadNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that line_items replaces rather than patches the checkout, and that dryRun=true is a non-persisting default. It does not cover permissions, idempotency, failure behavior, or what a successful commit returns.

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?

Three sentences, front-loaded with purpose, then the highest-risk gotcha (replacement semantics), then the safe workflow. Dense but every sentence earns its place; the middle sentence is long and carries two separate warnings that could be split.

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 mutation tool with no annotations, no output schema, and a nested object parameter, the description covers the critical semantics: mutation intent, non-destructive validation path, and destructive replace behavior. Missing only what `id` identifies and what the call returns.

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 0%, so the description must compensate, and it explains the payload's UCP checkout.update contract, its required line_items field, and dryRun's default and effect. The `id` parameter is never explained (presumably the checkout session identifier), and the schema's odd `payload` default of `[]` for an object type is left unaddressed.

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?

States a specific verb and resource ("Update a checkout session through the shared UCP checkout capability") and names the payload contract. It is clearly distinct from create/get/cancel/complete checkout, but it never explicitly contrasts itself with update_cart, which is the nearest ambiguous sibling.

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 an explicit two-step workflow: validate with dryRun=true (the default), then commit with dryRun=false. It also warns when the replace semantics bite (changing only buyer or address). What it lacks is guidance on when to use this versus 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