UCP: update checkout
update_checkoutReplace line_items and/or buyer on a UCP checkout session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| meta | No | ||
| checkout | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
update_checkoutReplace line_items and/or buyer on a UCP checkout session.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| meta | No | ||
| checkout | Yes |
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so safety and side-effect profile are largely covered by structured data. The description adds one genuinely useful behavioral fact — that updates REPLACE rather than merge the affected fields. With non-annotated details like what happens to omitted fields or auth requirements absent, a 3 is appropriate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler; the mutation scope comes first. It is efficient, though it is arguably too terse given the complexity of the payload rather than wasteful.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool over a nested checkout object with 0% schema documentation and no parameter descriptions, the description is thin. The output schema removes any need to explain return values, but the description still fails to describe the checkout payload structure, partial-update semantics, or required session state.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% across three parameters including a nested 'checkout' object, so the description carries the full burden. It partially compensates by naming two plausible sub-fields (line_items, buyer) inside checkout, but leaves 'id' and 'meta' entirely undocumented and gives no shape or format for the checkout payload.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Uses a specific verb ('Replace') and names the exact resources affected ('line_items and/or buyer on a UCP checkout session'), which is far more precise than the sibling names alone would suggest. It is not explicitly differentiated from create_checkout/get_checkout/cancel_checkout/complete_checkout, but the mutation scope is clear enough to route correctly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description states what is changed but never says when to reach for this tool versus create_checkout, get_checkout, or complete_checkout. There is no mention of prerequisites (e.g., an existing session id) or a state in which the checkout must be before updating. An agent must infer all usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.