Skip to main content
Glama

MenuNode

Check the walk-in waitlist

get_waitlist_status
Read-onlyIdempotent

How long is the walk-in line at a restaurant right now: groups waiting and the estimated wait for a group joining now (position × the restaurant's minutes per group, rounded to 5 — an estimate, not a promise). Only restaurants that offer online waitlist sign-up report this; otherwise online_sign_up_enabled is false, no line data is returned, declared_wait carries what the restaurant itself reported in the last 30 minutes (quote it with its time, never as a live fact; null = it reported nothing) and contact says how to ask it. No personal data of other guests. join_url is the public page where the guest can sign up themselves; join_waitlist does the same from here (email code required).

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_slug": "<restaurant_slug>"
    },
    "name": "get_waitlist_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNoLocation of a restaurant with several (get_restaurant_info.locations[].branch). Omit for the main location. Each location has its own line.
restaurant_slugYes

Output Schema

NameRequiredDescriptionDefault
contactYesHow to ask the restaurant; null when the online list answers
messageYes
join_urlYesPublic page where the guest signs up themselves
restaurantYes
declared_waitYes#515: the wait the restaurant itself reported (no online list). What it said at that time, not a live count; null = nothing reported or it lapsed
groups_waitingYesGroups in line right now (null when online sign-up is off)
max_party_sizeNo
accepting_sign_ups_nowYesEnabled AND the restaurant is open right now
estimated_wait_minutesYesSuggested wait for a group joining now, rounded to 5 minutes; an estimate, not a promise
online_sign_up_enabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations it discloses the estimation method (position × minutes per group, rounded to 5, 'an estimate, not a promise'), the coverage constraint (only restaurants with online sign-up report, else online_sign_up_enabled is false and no line data), the freshness window and quoting rule for declared_wait, null semantics, and a privacy boundary ('no personal data of other guests'). This is exactly the behavioral context annotations cannot carry.

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 answer to 'what is this' is front-loaded in the first clause, and there is no filler. However, the fallback semantics, privacy note, and join_url explanation are packed into a single run-on sentence with stacked parentheticals, which slows scanning of points an agent needs at call time.

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?

Although an output schema exists, the description still clarifies the meaning of the fields an agent is most likely to misreport (declared_wait as quoted past report, null, contact, join_url), which is high-value rather than redundant. Safety behavior is covered by annotations and the estimation caveat is stated explicitly, leaving nothing an agent needs before calling.

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

Parameters2/5

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

Schema description coverage is only 50%: branch is documented in the schema, but restaurant_slug has no description anywhere, and the description never explains its format or how to obtain it (e.g., from search_restaurants). With half the parameters undocumented, the description fails to compensate for the coverage gap.

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?

The opening clause names a specific question the tool answers ('How long is the walk-in line at a restaurant right now') and enumerates the outputs (groups waiting, estimated wait for a group joining now). It differentiates from join_waitlist for the sign-up case, but says nothing to separate it from the close sibling get_waitlist_position, leaving one boundary to inference.

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?

It gives concrete situational guidance: use the live numbers when online waitlist sign-up exists, otherwise fall back to declared_wait with its timestamp, or direct the guest to contact / join_url. The explicit pointer to join_waitlist as the signing-up alternative is a real routing cue. It stops short of stating exclusions against get_waitlist_position or check_availability.

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.