UCP: cancel checkout
cancel_checkoutCancel a UCP checkout session (and its unpaid table request).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| meta | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
cancel_checkoutCancel a UCP checkout session (and its unpaid table request).
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| meta | No |
| 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?
The annotations already flag destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the secondary effect: the unpaid table request is cancelled alongside the session, which the annotations cannot convey.
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 the destructive side effect in parentheses. Every clause earns its place and nothing is padded.
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?
An output schema exists so return values needn't be explained, and annotations cover the destructive/idempotent profile. The only real gap is the undocumented 'id' and 'meta' parameters, which a caller must supply correctly.
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 two parameters, including a nested 'meta' object with no documented structure and no statement of what 'id' refers to. The description adds no parameter meaning whatsoever, so it fails to compensate for the coverage gap.
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?
States a specific verb+resource ('Cancel a UCP checkout session') and adds meaningful scope by noting the associated unpaid table request is also cancelled. It implicitly separates itself from cancel_booking by naming the checkout-session object, though it doesn't explicitly contrast the siblings.
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?
No when-to-use guidance, no prerequisites, and no mention of alternatives like cancel_booking or update_checkout. The agent is left to infer the trigger condition entirely from the tool name.
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.