Skip to main content
Glama

Flowering UCP

complete_checkout

Agenten kan ikke afslutte købet. Svarer altid med requires_escalation og continue_url.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations and no output schema, the description carries the full disclosure burden and does it well by naming the exact response shape (requires_escalation and continue_url). It does not mention auth requirements, why the escalation occurs, or whether the checkout state is modified. The core behavioural trait is nevertheless fully disclosed.

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

Conciseness5/5

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

Two short sentences, no filler, and the decisive fact (the call cannot succeed) is front-loaded ahead of the return detail. Nothing could be removed without losing information.

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?

For a stub-like tool with three parameters, a nested checkout object, and no output schema, the return behaviour is adequately covered, but the required id and nested checkout payload are left unexplained. An agent knows what will come back but not what it must supply.

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 33%: only meta is documented, while the required id and the nested checkout object have no schema description. The description adds nothing about what id identifies or what belongs in checkout. It therefore fails to compensate for the coverage gap on a required parameter.

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 plainly what this tool does in practice: it cannot complete the purchase and always returns an escalation response. That is a specific and unambiguous behaviour that sets it apart from siblings such as update_checkout or get_checkout. It loses a point only because it describes the failure mode rather than any positive capability.

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?

It implies the agent should not expect a successful checkout here and should be ready to hand off, which is useful steering, but it never names an alternative path or states the condition under which calling it is still worthwhile. Usage is implied rather than prescribed.

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