Skip to main content
Glama

Confirm a checkout

confirm_checkout_handoff
Destructive

Confirm the signed-in shopper's prepared checkout after approval; requires actions:confirm. Revalidates the frozen item, price and destination, then creates an eligible Square payment link/Shopify checkout or records a URL handoff. Returns action_id, booking_id, status, provider and destination_url on success. The shopper pays the provider; a handoff does not confirm purchase.

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": {
      "intent": "<intent>"
    },
    "name": "confirm_checkout_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations by explaining what actually happens: revalidation of frozen item/price/destination, then either creating a payment link/Shopify checkout or recording a URL handoff, plus the crucial caveat that a handoff does not confirm a purchase. That materially clarifies the destructiveHint=true and openWorldHint=true flags. It does not address retry behavior despite idempotentHint=false being a meaningful operational risk.

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?

Three dense sentences, front-loaded with purpose and permission before mechanics and the return shape. No filler and no repetition of the title or annotation text.

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?

No output schema exists, yet the description enumerates the success fields (action_id, booking_id, status, provider, destination_url), the provider split, and the payment responsibility boundary — enough for an agent to interpret results. The remaining gap is the 'intent' parameter, which is fully undocumented.

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 description coverage is 0% and the sole parameter 'intent' is never mentioned in the description — no format, content, or example guidance. With a 1-param schema carrying a bare string and no documentation anywhere, the description leaves the most error-prone input unexplained.

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

Purpose5/5

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

States a specific verb and resource ('Confirm the signed-in shopper's prepared checkout after approval') and anchors it to the prepare_checkout sibling via 'prepared checkout', so the agent can distinguish this from confirm_quote_handoff and confirm_booking without opening other schemas.

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 a clear precondition ('after approval') and an authorization requirement ('requires actions:confirm'), which tells the agent when the call is legitimate. It stops short of explicitly naming prepare_checkout as the prerequisite step or stating when a different confirm_* sibling should be used instead.

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