Skip to main content
Glama
reservation-mcp

reservation-mcp

by bdatdo0601

Confirm Booking

confirm_booking
Destructive

Execute a reservation using a single-use preview ID and an explicit confirm flag, returning a booked reservation or verified handoff URL.

Instructions

Step 2 of 2: consumes a single-use preview_id and executes the reservation (or returns the verified handoff URL in OpenTable handoff mode). Requires explicit confirm: true.

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": {
      "preview_id": "<preview_id>",
      "confirm": "<confirm>"
    },
    "name": "confirm_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be explicitly true to proceed with booking.
preview_idYesSingle-use preview_id returned by preview_booking.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint and openWorldHint, but the description adds the important operational trait that preview_id is single-use (so retries will fail) and that a confirm:true guard is mandatory. It does not describe failure modes, preview expiry, or what a successful non-handoff response contains.

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?

A single dense sentence, front-loaded with the flow position, with the handoff alternative in a compact parenthetical. No filler or redundant restatement of the name.

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?

There is no output schema, and the description covers the handoff return case but not the shape of a normal success result (confirmation identifier, booking status). For a destructive, open-world booking tool this is mostly complete but leaves a modest gap around outcomes and error handling.

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 100% and both parameters are already documented, including that preview_id is single-use and confirm must be true. The description restates both facts rather than adding new meaning, so the baseline of 3 applies.

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 ('executes the reservation') plus its position in the flow ('Step 2 of 2'), which cleanly separates it from the sibling preview_booking. It also names the alternate outcome (OpenTable handoff URL), so an agent knows the tool has two terminal behaviors.

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?

'Step 2 of 2' plus the requirement of a preview_id from preview_booking gives clear sequencing guidance on when to call it. It lacks explicit when-not guidance (e.g., don't call twice with the same preview_id, or use cancel_reservation to undo), so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.