Skip to main content
Glama

Nice Work Reservations

Book a table

make_reservation
Idempotent

Book a table for the user. Confirm venue, date, time, party size, name, email and phone with the user first. Requires an idempotency_key: retrying with the same key returns the first result instead of booking twice. Returns status confirmed (with reservation_id and a private manage_url), needs_card or handoff (give the user the handoff_url to finish on the venue page), or not_booked with a reason (slot_taken, party_too_large, party_too_small, outside_window, duplicate_booking, rate_limited, promo_code_invalid, in_progress, payment_pending (retry later with the SAME idempotency_key and payment_token, never a new key), venue_not_available, and a few input problems).

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": {
      "venue": "<venue>",
      "date": "<date>",
      "time": "<time>",
      "party_size": "<party_size>",
      "guest_name": "<guest_name>",
      "guest_email": "<guest_email>",
      "guest_phone": "<guest_phone>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "make_reservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate in the venue's local time zone, YYYY-MM-DD.
timeYesA time returned by check_availability, venue-local HH:MM.
venueYesVenue slug from find_venues.
area_idNoSeating area id from get_venue.
outlet_idNoOutlet id from find_venues, when a venue lists several.
guest_nameYesName the booking is under.
party_sizeYesNumber of guests.
promo_codeNoA promo code the guest gave you, if any. It unlocks code-only Experiences (set menus) at this venue. Pass the same code to get_venue, check_availability and make_reservation. Never guess codes.
guest_emailYesGuest email; the confirmation and manage link are sent here.
guest_phoneYesGuest mobile number, ideally with country code (e.g. +65 9123 4567).
experience_idNoExperience id from get_venue.
payment_tokenNoOptional Stripe shared payment token, used only when a deposit is required.
allow_duplicateNoSet true only after the guest confirms they want a second booking on a date they already have one.
idempotency_keyYesA unique key for THIS booking (e.g. a UUID). Retrying with the same key and details returns the first result instead of booking twice.
special_requestsNoAllergies, occasions or seating wishes, in the guest's words.

Output Schema

NameRequiredDescriptionDefault
reasonNo
statusNo

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?

Beyond the annotations (idempotentHint, openWorldHint, non-destructive write), the description explains the idempotency contract concretely, enumerates the three outcome branches (confirmed, needs_card/handoff, not_booked) and names the failure reasons. It also discloses the crucial retry rule for payment_pending — same key and payment_token, never a new key — which is exactly the kind of behavior an agent would otherwise get wrong.

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, then the pre-call checklist, then idempotency, then return states — a sensible order with no filler. The single dense sentence listing not_booked reasons, with a nested parenthetical containing its own retry instruction, is harder to parse than the rest and slightly hurts scannability.

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 15-parameter, 8-required booking tool with payment and handoff branches, the description covers the guest-confirmation requirement, idempotency, retry semantics and outcome states. Minor gaps remain: what the agent should do on needs_card (whether to obtain a payment_token and re-call) is not stated, and it does not explain that the outcome statuses are conditional on external venue availability.

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%, so the baseline is 3; the description adds value by naming the exact guest fields to collect up front and by spelling out how idempotency_key and payment_token interact on retry. It does not touch optional fields such as area_id, outlet_id, experience_id, promo_code or allow_duplicate, leaving those entirely to the schema.

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?

"Book a table for the user" states a concrete verb and resource, and the surrounding detail (guest details, idempotency key, confirmation statuses) makes clear this creates a new reservation rather than modifying or cancelling one. An agent can distinguish it from cancel_reservation, change_reservation and check_availability on the verb alone.

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 an explicit precondition: confirm venue, date, time, party size, name, email and phone with the guest before calling, and it explains the retry path for payment_pending (same idempotency_key and payment_token). What it does not say is the upstream ordering (use find_venues/check_availability first) or when to prefer change_reservation over a new booking, though the schema's parameter descriptions hint at those sources.

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.

Resources