Skip to main content
Glama
chrischall

opentable-mcp

by chrischall

opentable_get_restaurant

Read-only

Retrieve full details for an OpenTable restaurant—cuisine, price, hours, phone, and availability token—using the slug or URL from a previous search.

Instructions

Get full details for a single OpenTable restaurant: cuisine, price band, description, address, hours, phone, payment options, features, rating/review count, and availability_token (used internally when booking). Accepts the slug, path, or full URL from opentable_search_restaurants — passing the search result's "url" verbatim always resolves, including legacy venues served at /{slug} instead of /r/{slug}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
restaurant_idYesSlug ("state-of-confusion-charlotte"), path, or full URL from opentable_search_restaurants. Prefer passing the search result's "url" verbatim — it resolves both /r/{slug} and legacy /{slug} venues. Numeric ids are not supported (they 404); use the slug/url instead.
Behavior5/5

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

Annotations declare readOnlyHint:true, consistent with description. Description adds behavioral details: supports three input formats (slug, path, URL), handles legacy /{slug} venues, and explains that numeric ids are unsupported. No contradictions.

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?

Single, well-structured sentence with colon separating summary from specifics. Every clause adds distinct value: purpose, input format guidance, and note about legacy venues. No unnecessary words.

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?

No output schema, but description enumerates the returned fields: cuisine, price band, description, address, hours, phone, payment options, features, rating/review count, and availability_token (with usage note). Sufficient for an agent to understand what details are retrieved.

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?

Schema coverage is 100% with detailed parameter description. The description adds value beyond schema by explaining that passing the search result's 'url' verbatim always resolves and mentions legacy venue paths. Baseline 3, plus extra context gives 4.

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 specifies the verb 'Get' and resource 'full details for a single OpenTable restaurant', listing key fields (cuisine, price band, etc.). It clearly distinguishes from sibling tools like opentable_search_restaurants (which returns list) and others.

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?

Explicitly states it accepts slug, path, or URL from opentable_search_restaurants, advising to pass the search result's 'url' verbatim. Warns that numeric IDs result in 404. Provides context for use before booking. Does not explicitly mention when not to use, but the guidance 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