HotelRunner MCP by usefulapi

v1.20.1
io.usefulapi/hotelrunner Checked 2 days ago Published 1 day ago

Read HotelRunner reservations, rooms, channels; update availability and prices; confirm or cancel.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hotelrunner_list_rooms List rooms and rates

List the property's room types and rates with their inv_code and rate_code, capacity, pricing type, sales currency, connected channel codes and whether availability, restrictions and prices can be updated through the API. Use the inv_code with hotelrunner_update_room_calendar. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/rooms.

hotelrunner_list_reservations List reservations

List reservations of the property (new, modified, canceled), newest data first as HotelRunner returns them, 1-50 per page. By default ALL reservations created in the window are returned (this tool sets undelivered=false, so reading does not depend on a PMS having fetched them). from_date is the creation date (HotelRunner keeps at most 30 days back; default 10 days); from_last_update_date finds reservations changed since a date. detail 'summary' (default) gives guest, dates, rooms, totals, payment state and contact; 'full' returns the whole vendor record including billing address, national id,…

ParameterTypeDescription
bookedbooleantrue = only new (not modified) bookings.
detailstring'summary' (default) or 'full' vendor records (large).
from_datestringOnly reservations created on/after this date, yyyy-mm-dd (max 30 days back; default 10 days back).
from_last_update_datestringOnly reservations updated on/after this date, yyyy-mm-dd.
modifiedbooleantrue = only modified reservations.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerReservations per page, 1-50 (default 10).

hotelrunner_get_reservation Get reservation

One reservation by its HotelRunner code (hr_number, e.g. R377873409) or the sales channel's own reservation code, with the full vendor record (rooms, daily prices, extras, payments, guest and billing details, next_states). If the reservation is older than HotelRunner's lookup window, pass from_date. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/reservations?reservation_number=.

ParameterTypeDescription
reservation_number *stringHotelRunner reservation code (hr_number, e.g. R377873409) or the sales channel's reservation code.
from_datestringCreation-date window start, yyyy-mm-dd (HotelRunner keeps at most 30 days back).

hotelrunner_list_channels List sales channels

All sales channels HotelRunner supports (name and code, e.g. bookingcom, expedia, hrs, online). The code is what hotelrunner_update_room_calendar takes in channel_codes. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/infos/channels.

hotelrunner_list_connected_channels List connected channels

The channels this property is connected to, each with counts of calendar update processes in progress, succeeded and failed. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/infos/connected_channels.

hotelrunner_get_transaction_details Get calendar update status

Per-channel status of a calendar update: pass the transaction_id returned by hotelrunner_update_room_calendar. Shows succeeded / failed / in-progress counts and each channel's state and error message. Counts as one of the property's 250 requests per day (5 per minute). GET /api/v2/apps/infos/transaction_details.

ParameterTypeDescription
transaction_id *stringtransaction_id from an update reply.

hotelrunner_update_room_calendar Update room availability, prices and restrictions

WRITE: change availability, price, minimum/maximum stay, stop-sale, closed-to-arrival (cta) or closed-to-departure (ctd) for ONE room type (inv_code) over a date range of at most 90 days, optionally only on some weekdays and only on some channels. Only the fields you pass are changed. This is LIVE inventory: HotelRunner pushes it to every connected channel (Booking.com, Expedia, your own booking engine, ...) and it changes what guests can book and pay. The price is the base-rate price in the property's sales currency; guest-based prices derive from it. Only rooms whose availability_update / re…

ParameterTypeDescription
end_date *stringLast date to change (inclusive), yyyy-mm-dd.
inv_code *stringAn inventory code from hotelrunner_list_rooms, e.g. HR:1903.
start_date *stringFirst date to change, yyyy-mm-dd.
availabilityintegerRooms available to sell.
channel_codesarrayOnly these channels (codes from hotelrunner_list_connected_channels); default: all connected channels of the room.
ctabooleanClosed to arrival.
ctdbooleanClosed to departure.
daysarrayOnly these weekdays, 0 = Sunday ... 6 = Saturday (default: every day).
max_stayintegerMaximum nights.
min_stayintegerMinimum nights.
pricenumberBase nightly price in the property's sales currency.
stop_salebooleantrue = close the room for sale on these dates, false = reopen.

hotelrunner_update_reservation_state Confirm or cancel a reservation

WRITE: move ONE reservation to the next state: event 'confirm' (hotelier accepts it) or 'cancel' (cancels it; cancel_reason is required: customer, no_room, no_show or invalid_price). Cancel is not reversible through this API and releases the room; HotelRunner may notify the guest or the sales channel (Booking.com, Expedia, ...), so only cancel when the user clearly asked for it, and pass confirm=true for a cancel. Only possible when the reservation's requires_response is true and the event is in its next_states (see hotelrunner_get_reservation); otherwise HotelRunner answers state_change_is_no…

ParameterTypeDescription
event *string'confirm' or 'cancel'.
hr_number *stringHotelRunner reservation code (hr_number).
cancel_reasonstringRequired for cancel: customer, no_room, no_show or invalid_price.
confirmbooleanRequired true for event 'cancel': the user explicitly approved cancelling this reservation (not reversible).