Skip to main content
Glama

Confirm a booking

confirm_booking
Destructive

Confirm the signed-in shopper's prepared intent after approval; requires actions:confirm. Revalidates the destination or Square catalog, then creates the eligible Square booking or records a URL handoff. Returns action_id, booking_id, status, provider and destination_url on success. A handoff is not a completed booking; payment stays with the provider.

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_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: a revalidation step against the destination or Square catalog, two divergent outcome paths, the concrete return fields, and a caveat that a handoff is not a completed booking and payment remains with the provider. It stays silent on retry/idempotency behavior, which matters for a confirmation call that is annotated idempotentHint=false.

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?

Four dense sentences with zero filler, front-loaded with the action and its precondition, then behavior, then return values, then the most important caveat. Nothing repeats the annotations or the title.

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?

Covers the return shape even without an output schema and explains the eligibility/revalidation and handoff semantics, so annotations plus description are close to sufficient. The gaps are the intent argument's expected format and failure/retry behavior.

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

Parameters3/5

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

Schema coverage is 0% and the single parameter, intent, is a bare 1-200 char string. The description does provide provenance ('the signed-in shopper's prepared intent after approval'), implying it comes from prepare_booking, but gives no format, identifier source, or example, so an agent still has to guess what value to pass.

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?

Specific verb+resource (confirm a booking) plus a clear description of the two outcome paths: creating a Square booking or recording a URL handoff. It implicitly separates itself from prepare_booking via 'prepared intent after approval' and from generic confirm_* siblings by naming Square throughout, though it never names the prerequisite sibling explicitly.

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 real preconditions: the shopper must be signed in, the intent must already be prepared and approved, and the caller needs the actions:confirm scope. It does not state exclusions or explicitly say 'use prepare_booking first' or 'not for checkout/quote flows', so routing among the confirm_* family is left partly to inference.

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