Skip to main content
Glama
reservation-mcp

reservation-mcp

by bdatdo0601

Preview Booking

preview_booking

Inspect slot terms, cancellation/deposit fees, and card requirements to return a single-use preview_id (3-minute TTL) before confirming a reservation; never places bookings.

Instructions

Step 1 of 2 (mandatory before booking): inspects slot terms, cancellation/deposit fees, and card requirements, and returns a single-use preview_id (3-minute TTL). Never places a reservation.

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": {
      "restaurant_id": "<restaurant_id>",
      "slot_id": "<slot_id>",
      "date": "<date>",
      "party_size": "<party_size>"
    },
    "name": "preview_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesReservation date in YYYY-MM-DD format.
slot_idYesslot_id returned by check_availability.
party_sizeYesNumber of guests (1-20).
restaurant_idYesNormalized restaurant ID: "resy:<id>" or "opentable:<id>".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Adds meaningful behavior beyond the annotations: the output is a single-use preview_id with a 3-minute TTL, and the call surfaces fees and card requirements rather than committing anything. The statement that it never places a reservation usefully reconciles the readOnlyHint=false flag by implying it creates only transient preview state. It stops short of describing failure modes or what happens when a preview expires.

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 with the sequencing rule first, the inspected data second, and the return value plus TTL third. No redundant restatement of the title or 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?

For a four-parameter, no-output-schema tool, the description covers purpose, ordering, the returned token and its lifetime, and the non-mutating guarantee. Only error/expiry handling is left unstated, which is a minor gap given how much is already covered.

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 description coverage is 100%, with each of the four required parameters documented in-schema (date format, slot_id provenance, party_size range, normalized restaurant ID). The description adds no parameter-level detail such as how slot_id interacts with the fee inspection, so baseline 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 ("inspects") and resource ("slot terms, cancellation/deposit fees, and card requirements") plus the concrete artifact produced (a single-use preview_id with a 3-minute TTL). The phrase "Never places a reservation" sharply separates it from confirm_booking, so an agent can distinguish it without reading a sibling schema.

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

Usage Guidelines5/5

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

Explicitly positions itself as "Step 1 of 2 (mandatory before booking)," which is a direct when-to-use rule, and adds an exclusion ("Never places a reservation") that routes the actual booking action elsewhere. The ordering constraint is front-loaded in the first clause rather than buried.

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