Skip to main content
Glama

Flowering UCP

cancel_checkout

Annullér checkout.

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

Input Schema

NameRequiredDescriptionDefault
idYes
metaNoUCP request metadata, fx {"ucp-agent":{"profile":"https://..."}}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about irreversibility, what happens to associated cart/order state, required authentication or ownership, idempotency, or error behavior for an already-cancelled checkout. For a destructive mutation, this is a critical gap.

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

Conciseness2/5

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

The text is short but that brevity is under-specification rather than conciseness; there is no front-loaded purpose, no scope statement, and the single sentence is nearly content-free. Language mismatch with the English tool ecosystem further reduces usefulness.

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

Completeness1/5

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

A 2-parameter mutation tool with a nested object, no annotations, and no output schema needs the description to carry essentially all behavioral context, and it carries none. An agent cannot tell what a successful cancellation returns or what state the checkout ends up in.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, and the description adds no parameter meaning at all — neither the required id (presumably the checkout identifier, but unconfirmed) nor the nested meta object is explained beyond the schema's own terse UCP note. The agent must infer that id refers to a checkout created via create_checkout.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Annullér checkout" restates the tool name cancel_checkout and nothing more; it is a tautology rather than a specification. It does imply a mutation of a checkout resource, but gives no scope (whole checkout? pending payment?), and it is written in Danish while all sibling tools are English, adding friction for selection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains no when-to-use guidance, no conditions, and no exclusions. With siblings like cancel_cart, complete_checkout, and update_checkout present, an agent gets zero help distinguishing when to cancel a checkout versus cancel a cart or complete the purchase.

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