opencovers
v0.5.0Restaurant reservations over MCP: availability, bookings, tables and waitlist.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
reservation.availability Availability
List available time slots for a venue on a date for a party size, grouped by service (meal period).
| Parameter | Type | Description |
|---|---|---|
date * | string | Date as YYYY-MM-DD. |
partySize * | integer | Number of guests. |
venueId * | string | The venue id. |
reservation.agenda Agenda
List reservations for a venue on a specific date.
| Parameter | Type | Description |
|---|---|---|
date * | string | Date as YYYY-MM-DD. |
venueId * | string |
reservation.list List reservations
List all reservations for a venue.
| Parameter | Type | Description |
|---|---|---|
venueId * | string |
reservation.search Search reservations
Search reservations for a venue within a date range, optionally filtered by status.
| Parameter | Type | Description |
|---|---|---|
dateEnd * | string | Exclusive end date as YYYY-MM-DD. |
dateStart * | string | Inclusive start date as YYYY-MM-DD. |
venueId * | string | |
status | array |
reservation.get Get reservation
Get a single reservation by id.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
venueId * | string |
reservation.create Create reservation
Create a reservation and return it. Pass table ids to assign them explicitly, or omit tables to let the engine assign tables automatically for the party size. Guest fields are guestName, guestContact and consent, or the same as a guest object with name, contact and consent. Pass the same idempotencyKey when you retry after a timeout or an error. Without it a retry is a new write and may create a duplicate.
| Parameter | Type | Description |
|---|---|---|
date * | string | Date as YYYY-MM-DD. |
partySize * | integer | |
time * | string | Time as HH:MM in the venue timezone. |
venueId * | string | |
commentary | string | A short note for staff about this booking, up to 500 characters, such as an occasion. Never put allergies, medical conditions, or diet needs here. Empty string clears it. |
consent | string | Whether the guest allows being contacted after the visit. Omit if never asked. |
guest | object | Same as the flat guestName, guestContact and consent fields, in the shape the HTTP API uses. Pass one or the other. |
guestContact | string | |
guestName | string | |
idempotencyKey | string | Any unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one. |
rating | The guest's rating of the visit, 1 to 5. Omit if not given. Null clears it. | |
reconfirmation | string | Whether the guest reconfirmed the booking. none means not asked, requested means asked and waiting. Omit to leave it unchanged. A booking is never cancelled by it. |
tables | array | Table ids to assign. Omit to auto-assign. |
zone | string | Zone to prefer (e.g. Terrace). When set, tables come from this zone. |
reservation.walk_in Walk-in
Seat a guest who arrives without a reservation. Defaults the time to now in the venue timezone. Guest fields are guestName, guestContact and consent, or the same as a guest object with name, contact and consent. Pass the same idempotencyKey when you retry after a timeout or an error. Without it a retry is a new write and may create a duplicate.
| Parameter | Type | Description |
|---|---|---|
partySize * | integer | |
venueId * | string | |
commentary | string | A short note for staff about this booking, up to 500 characters, such as an occasion. Never put allergies, medical conditions, or diet needs here. Empty string clears it. |
consent | string | Whether the guest allows being contacted after the visit. Omit if never asked. |
date | string | Date as YYYY-MM-DD. Defaults to today. |
guest | object | Same as the flat guestName, guestContact and consent fields, in the shape the HTTP API uses. Pass one or the other. |
guestContact | string | |
guestName | string | |
idempotencyKey | string | Any unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one. |
rating | The guest's rating of the visit, 1 to 5. Omit if not given. Null clears it. | |
tables | array | Table ids. Omit to auto-assign. |
time | string | Time as HH:MM. Defaults to now. |
zone | string |
reservation.modify Modify reservation
Modify a reservation's party size, tables, contact consent, rating, booking note, and/or reconfirmation. Consent is consent, or guest.consent. Pass the same idempotencyKey when you retry after a timeout or an error. Without it a retry is a new write and may create a duplicate.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
venueId * | string | |
commentary | string | A short note for staff about this booking, up to 500 characters, such as an occasion. Never put allergies, medical conditions, or diet needs here. Empty string clears it. |
consent | string | Whether the guest allows being contacted after the visit. Omit if never asked. |
guest | object | Same as the flat guestName, guestContact and consent fields, in the shape the HTTP API uses. Pass one or the other. |
idempotencyKey | string | Any unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one. |
partySize | integer | |
rating | The guest's rating of the visit, 1 to 5. Omit if not given. Null clears it. | |
reconfirmation | string | Whether the guest reconfirmed the booking. none means not asked, requested means asked and waiting. Omit to leave it unchanged. A booking is never cancelled by it. |
tables | array |
reservation.cancel Cancel reservation
Cancel a reservation. Pass the same idempotencyKey when you retry after a timeout or an error. Without it a retry is a new write and may create a duplicate.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
venueId * | string | |
idempotencyKey | string | Any unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one. |
reservation.status Set reservation status
Advance a reservation status: seat, mark attended, or mark no-show. Seating needs a table: a booking without tables fails with table_required, so assign one with reservation.modify first. Pass the same idempotencyKey when you retry after a timeout or an error. Without it a retry is a new write and may create a duplicate.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
status * | string | |
venueId * | string | |
idempotencyKey | string | Any unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one. |
reservation.events Reservation events
Read the reservation event feed for a venue, from a cursor.
| Parameter | Type | Description |
|---|---|---|
venueId * | string | |
cursor | string | |
limit | integer |
reservation.erasure Erase personal data
Needs an admin key, a write key gets forbidden. Erase guest data for a venue, by guest id or owner principal. A guest id erases the guest record, every reservation linked to it, and the venue's waitlist entries with the same contact. An owner principal erases the reservations it owns and the guest records left with no other visit. A guest id that is not a record is read as a contact, which is deprecated. Returns counts of erased reservations, guest records, and waitlist entries. Takes no idempotency key. A retry erases nothing more and reports 0 for what the first call erased.
| Parameter | Type | Description |
|---|---|---|
venueId * | string | |
guestId | string | Guest record id from a reservation's guest.guestId. A contact still works for one version and is deprecated. |
principal | string | Owner principal to erase. |
venue.getConfig Get venue config
Read whether a venue accepts reservations and its notice address.
| Parameter | Type | Description |
|---|---|---|
venueId * | string |
venue.setConfig Set venue config
Enable or disable reservations and set the notice address. Enabling requires a notice address. Takes no idempotency key. A retry with the same values sets the same configuration.
| Parameter | Type | Description |
|---|---|---|
venueId * | string | |
blockedDates | array | Dates (YYYY-MM-DD) or { from, to } ranges, inclusive, in the venue time zone, on which no bookings are taken. Replaces the list. An empty list clears it. |
enabled | boolean | |
fromEmail | string | |
lastSeatingOffsetMinutes | integer | |
leadTimeMinutes | integer | |
maxActivePerGuestPerDay | The most active bookings one guest, identified by contact, may hold on one date. Null turns it off. | |
maxAdvanceDays | Refuse bookings more than this many days ahead, counted from today in the venue time zone. Null turns it off. | |
noticeAddress | string | |
notificationsEnabled | boolean | |
overbookingCeiling | integer | The most covers the venue accepts without tables at one time. 0 means every booking holds tables. |
phoneCountry | string | null | ISO 3166 alpha-2 country for phone numbers without a country code. Null follows the venue time zone. |
resendApiKey | string | |
slotIntervalMinutes | integer |
waitlist.list List waitlist
List the guests waiting for a table, oldest first. Without date: today's queue, the entries with no date or today's date. With date (YYYY-MM-DD): the waiting entries guests made through the public waitlist for that date, plus today's queue when it is today. Each entry carries date (null for the same-day queue), windowStart, windowEnd and source (staff or widget). waitlist.seat works only for an entry of today or with no date; for a future date, book with reservation.create and then remove the entry with waitlist.cancel.
| Parameter | Type | Description |
|---|---|---|
venueId * | string | |
date | string | A local date, YYYY-MM-DD. Omit it for today's queue. |
waitlist.add Add to waitlist
Add a guest to the waitlist when no table is available. Guest fields are guestName and guestContact, or the same as a guest object with name and contact. Pass the same idempotencyKey when you retry after a timeout or an error. Without it a retry is a new write and may create a duplicate.
| Parameter | Type | Description |
|---|---|---|
partySize * | integer | |
venueId * | string | |
guest | object | Same as the flat guestName, guestContact and consent fields, in the shape the HTTP API uses. Pass one or the other. |
guestContact | string | |
guestName | string | |
idempotencyKey | string | Any unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one. |
zone | string |
waitlist.seat Seat a waitlist entry
Seat a waiting guest now as a walk-in, turning the entry into a reservation. Only an entry whose date is null or today can be seated; another date fails with invalid_transition. Pass the same idempotencyKey when you retry after a timeout or an error. Without it a retry is a new write and may create a duplicate.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
venueId * | string | |
idempotencyKey | string | Any unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one. |
waitlist.cancel Cancel a waitlist entry
Remove a guest from the waitlist. Pass the same idempotencyKey when you retry after a timeout or an error. Without it a retry is a new write and may create a duplicate.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
venueId * | string | |
idempotencyKey | string | Any unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one. |