Skip to main content
Glama

MenuNode

Check one reservation time

check_availability
Read-onlyIdempotent

Whether one exact slot (date YYYY-MM-DD, time HH:MM) is available for a party size. Holiday closures and special hours are applied (reason "special_closed" + special_label when the restaurant is closed that day). quiet: true when that table time falls in the quiet hour the restaurant declares (get_restaurant_info.quiet_hours). Before change_reservation, pass the booking's confirmation_code so the guest's own table is not counted (otherwise a time the change fits in may read "full"). table_choice: only where the restaurant lets guests pick a table and that time is available, the zones (rooms, terrace) and the tables free for this party then (name, zone, seats = how many it takes); pass one table_id, or only a zone_id, to create_reservation. Null = the guest cannot pick a table (the restaurant seats them), or too many plan reads from this address for now (try again in a few minutes). It never says who booked the other tables or when.

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>",
      "date": "<date>",
      "time": "<time>",
      "party_size": "<party_size>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
timeYes
branchNoLocation of a restaurant with several (get_restaurant_info.locations[].branch, e.g. "palermo"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.
party_sizeYes
restaurant_slugYes
confirmation_codeNoOptional: the booking being changed, left out of the count (#536). Ignored when it is not a booking of this location and date.

Output Schema

NameRequiredDescriptionDefault
quietYes#529: that table time falls in the restaurant's declared quiet hour (get_restaurant_info.quiet_hours)
reasonYesWhy not: full | notice | past | not_a_slot | blackout | closed_day | special_closed | too_far | party_size | reservations_off
seatingYes
availableYes
alternativesYesOther available times that day (HH:MM), up to 8
table_choiceYesNull = the guest cannot pick a table here (or the time is not available): the restaurant seats them
special_labelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world, so the description adds genuinely new behavior: holiday/special hours produce reason 'special_closed' with special_label, the quiet flag maps to get_restaurant_info.quiet_hours, table_choice is null when guests cannot pick or when reads are rate-limited from the address, and a privacy note that other bookings' identities are never exposed.

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?

Purpose is front-loaded and nearly every clause carries operational information, but the middle section is a dense run of nested parentheticals (special_closed, quiet_hours, table_choice) that would read faster as short separate sentences.

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?

With an output schema present, the description goes beyond requirements by explaining null table_choice, the rate-limit fallback and the privacy boundary. What remains unaddressed is minor: the branch/location parameter and party_size bounds are left entirely to the schema.

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 only 33%, so the description must compensate, and it does for the highest-risk parameters: date and time formats, the purpose of confirmation_code beyond the schema's own wording, and the downstream use of table_id/zone_id. restaurant_slug and party_size remain undiscussed, though their meaning is largely evident from the names.

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 opening clause states a specific verb and resource with scope: 'Whether one exact slot (date YYYY-MM-DD, time HH:MM) is available for a party size.' The emphasis on 'one exact slot' implicitly separates it from the list-style sibling, and the format hints make the input unambiguous.

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 cross-tool workflow guidance: pass the booking's confirmation_code before change_reservation, and pass one table_id (or only a zone_id) to create_reservation. It does not state an explicit exclusion such as when to prefer list_available_slots for browsing, so it stops short of a full 5.

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.