HotelRunner MCP by usefulapi
v1.20.1Read 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,…
| Parameter | Type | Description |
|---|---|---|
booked | boolean | true = only new (not modified) bookings. |
detail | string | 'summary' (default) or 'full' vendor records (large). |
from_date | string | Only reservations created on/after this date, yyyy-mm-dd (max 30 days back; default 10 days back). |
from_last_update_date | string | Only reservations updated on/after this date, yyyy-mm-dd. |
modified | boolean | true = only modified reservations. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Reservations 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=.
| Parameter | Type | Description |
|---|---|---|
reservation_number * | string | HotelRunner reservation code (hr_number, e.g. R377873409) or the sales channel's reservation code. |
from_date | string | Creation-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.
| Parameter | Type | Description |
|---|---|---|
transaction_id * | string | transaction_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…
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Last date to change (inclusive), yyyy-mm-dd. |
inv_code * | string | An inventory code from hotelrunner_list_rooms, e.g. HR:1903. |
start_date * | string | First date to change, yyyy-mm-dd. |
availability | integer | Rooms available to sell. |
channel_codes | array | Only these channels (codes from hotelrunner_list_connected_channels); default: all connected channels of the room. |
cta | boolean | Closed to arrival. |
ctd | boolean | Closed to departure. |
days | array | Only these weekdays, 0 = Sunday ... 6 = Saturday (default: every day). |
max_stay | integer | Maximum nights. |
min_stay | integer | Minimum nights. |
price | number | Base nightly price in the property's sales currency. |
stop_sale | boolean | true = 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…
| Parameter | Type | Description |
|---|---|---|
event * | string | 'confirm' or 'cancel'. |
hr_number * | string | HotelRunner reservation code (hr_number). |
cancel_reason | string | Required for cancel: customer, no_room, no_show or invalid_price. |
confirm | boolean | Required true for event 'cancel': the user explicitly approved cancelling this reservation (not reversible). |