opencovers

v0.5.0
io.github.David-Cabeza/opencovers Checked 9 hours ago Published 3 hours ago

Restaurant 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).

ParameterTypeDescription
date *stringDate as YYYY-MM-DD.
partySize *integerNumber of guests.
venueId *stringThe venue id.

reservation.agenda Agenda

List reservations for a venue on a specific date.

ParameterTypeDescription
date *stringDate as YYYY-MM-DD.
venueId *string

reservation.list List reservations

List all reservations for a venue.

ParameterTypeDescription
venueId *string

reservation.search Search reservations

Search reservations for a venue within a date range, optionally filtered by status.

ParameterTypeDescription
dateEnd *stringExclusive end date as YYYY-MM-DD.
dateStart *stringInclusive start date as YYYY-MM-DD.
venueId *string
statusarray

reservation.get Get reservation

Get a single reservation by id.

ParameterTypeDescription
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.

ParameterTypeDescription
date *stringDate as YYYY-MM-DD.
partySize *integer
time *stringTime as HH:MM in the venue timezone.
venueId *string
commentarystringA 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.
consentstringWhether the guest allows being contacted after the visit. Omit if never asked.
guestobjectSame as the flat guestName, guestContact and consent fields, in the shape the HTTP API uses. Pass one or the other.
guestContactstring
guestNamestring
idempotencyKeystringAny unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one.
ratingThe guest's rating of the visit, 1 to 5. Omit if not given. Null clears it.
reconfirmationstringWhether 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.
tablesarrayTable ids to assign. Omit to auto-assign.
zonestringZone 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.

ParameterTypeDescription
partySize *integer
venueId *string
commentarystringA 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.
consentstringWhether the guest allows being contacted after the visit. Omit if never asked.
datestringDate as YYYY-MM-DD. Defaults to today.
guestobjectSame as the flat guestName, guestContact and consent fields, in the shape the HTTP API uses. Pass one or the other.
guestContactstring
guestNamestring
idempotencyKeystringAny unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one.
ratingThe guest's rating of the visit, 1 to 5. Omit if not given. Null clears it.
tablesarrayTable ids. Omit to auto-assign.
timestringTime as HH:MM. Defaults to now.
zonestring

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.

ParameterTypeDescription
id *string
venueId *string
commentarystringA 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.
consentstringWhether the guest allows being contacted after the visit. Omit if never asked.
guestobjectSame as the flat guestName, guestContact and consent fields, in the shape the HTTP API uses. Pass one or the other.
idempotencyKeystringAny unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one.
partySizeinteger
ratingThe guest's rating of the visit, 1 to 5. Omit if not given. Null clears it.
reconfirmationstringWhether 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.
tablesarray

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.

ParameterTypeDescription
id *string
venueId *string
idempotencyKeystringAny 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.

ParameterTypeDescription
id *string
status *string
venueId *string
idempotencyKeystringAny 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.

ParameterTypeDescription
venueId *string
cursorstring
limitinteger

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.

ParameterTypeDescription
venueId *string
guestIdstringGuest record id from a reservation's guest.guestId. A contact still works for one version and is deprecated.
principalstringOwner principal to erase.

venue.getConfig Get venue config

Read whether a venue accepts reservations and its notice address.

ParameterTypeDescription
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.

ParameterTypeDescription
venueId *string
blockedDatesarrayDates (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.
enabledboolean
fromEmailstring
lastSeatingOffsetMinutesinteger
leadTimeMinutesinteger
maxActivePerGuestPerDayThe most active bookings one guest, identified by contact, may hold on one date. Null turns it off.
maxAdvanceDaysRefuse bookings more than this many days ahead, counted from today in the venue time zone. Null turns it off.
noticeAddressstring
notificationsEnabledboolean
overbookingCeilingintegerThe most covers the venue accepts without tables at one time. 0 means every booking holds tables.
phoneCountrystring | nullISO 3166 alpha-2 country for phone numbers without a country code. Null follows the venue time zone.
resendApiKeystring
slotIntervalMinutesinteger

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.

ParameterTypeDescription
venueId *string
datestringA 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.

ParameterTypeDescription
partySize *integer
venueId *string
guestobjectSame as the flat guestName, guestContact and consent fields, in the shape the HTTP API uses. Pass one or the other.
guestContactstring
guestNamestring
idempotencyKeystringAny unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one.
zonestring

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.

ParameterTypeDescription
id *string
venueId *string
idempotencyKeystringAny 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.

ParameterTypeDescription
id *string
venueId *string
idempotencyKeystringAny unique string for this write. Send the same one again to retry it. Omit it and the server makes a new one.