Skip to main content
Glama
chrischall

opentable-mcp

by chrischall

opentable_modify_preview

Read-only

Preview changes to an existing OpenTable reservation before applying them. Returns cancellation policy, credit card re-hold details, and a token needed to finalize the modification.

Instructions

Preview a MODIFICATION to an existing OpenTable reservation. Takes the existing reservation's identity (restaurant_id + confirmation_number + security_token from opentable_list_reservations or the original opentable_book result) plus the NEW slot args (from a fresh opentable_find_slots call) and returns the new cancellation_policy, CC re-hold details, and a modify_token that opentable_modify consumes. Mirrors opentable_book_preview, but the /booking/details URL includes confirmationNumber + securityToken + isModify=true so OpenTable's SSR returns the modify state. REQUIRED before opentable_modify — no shortcut path. For Listing-type restaurants the modify can't proceed (no slot picker); check opentable_get_restaurant.bookable first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesYYYY-MM-DD (the NEW date)
timeYesHH:MM (24h) — the NEW time
slot_hashYesslot_hash from opentable_find_slots for the NEW slot
party_sizeYes
experience_idNoFor Experience-mandatory slots; required when the new slot has experience_ids.
restaurant_idYes
dining_area_idYes
experience_idsNoPass-through from find_slots.experience_ids. When non-empty, experience_id must also be set.
security_tokenYes
database_regionNoOpenTable's sharded-database region for the restaurant. Defaults to 'NA' (North America). Pass the venue's region (e.g. for UK/EU/APAC restaurants) when booking or cancelling outside North America — slot-lock, availability, and cancel route to the wrong database shard, or fail opaquely, when this is wrong. LIMITATION: not auto-derived from restaurant data (OpenTable's availability/booking responses don't surface the shard id), so non-NA bookings must set it explicitly.
reservation_tokenYesslot_availability_token from opentable_find_slots for the NEW slot
confirmation_numberYes
Behavior5/5

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

Beyond the readOnlyHint annotation, the description details the internal mechanics: URL includes confirmationNumber + securityToken + isModify=true, returns modify_token for the next step. It also warns about Listing-type restaurants blocking modification. This adds significant behavioral context.

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

Conciseness4/5

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

The description is relatively long but well-organized: purpose first, then inputs/outputs, then comparison with sibling, then requirement, then limitation. Front-loaded and efficient, though could be slightly more concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 12 parameters and no output schema, the description provides comprehensive context: what inputs are needed, their sources, what outputs to expect, and a critical limitation. It clearly fits into the workflow with opentable_modify.

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

Parameters4/5

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

The description groups parameters into existing identity and new slot args, explaining their origin (from opentable_list_reservations or opentable_find_slots). With 58% schema coverage, this complements the missing param descriptions effectively, though not every param is individually detailed.

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?

The description clearly states the tool previews a modification to an existing reservation, specifying inputs (existing identity + new slot args) and outputs (cancellation policy, CC details, modify_token). It explicitly distinguishes from opentable_book_preview and notes the limitation for Listing-type restaurants.

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?

The description explicitly states this tool is REQUIRED before opentable_modify with no shortcut. It also mentions when it might not work (Listing-type restaurants, requiring check of opentable_get_restaurant.bookable). Context for when to use vs. siblings is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrischall/opentable-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server