Bookster MCP by usefulapi

v1.2.1
io.usefulapi/bookster Checked 1 day ago Published 53 minutes ago

Read bookings, properties, availability and stay prices; set booking tags in Bookster.

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

bookster_list_bookings List bookings

List bookings, newest booked first by default. Filter by property, state, arrival, departure, a night the stay covers, customer name or email, booking reference, or last update. Bookster API: GET /system/api/v1/booking/bookings.json.

ParameterTypeDescription
arrival_datestringArrival on this day (yyyy-mm-dd).
booking_referencestringBookster booking reference to match.
covers_datestringStays that cover this night (arrive before, leave after).
customer_emailstringCustomer email address to match.
customer_namestringCustomer name to match.
departure_datestringDeparture on this day (yyyy-mm-dd).
pageintegerPage number (default 1).
per_pageintegerResults per page (Bookster default 20).
property_idstringOnly bookings for this property (from bookster_list_properties).
sortstringSort order. Default created.desc (newest booked first).
statestringBooking state to match.
updated_comparisonstringHow updated_on compares: e on the day (default), g after, l before, ge on or after, le on or before, n not on the day.
updated_onstringCompare the last-updated date with this day (yyyy-mm-dd).

bookster_get_booking Get a booking

Get one booking with its customer details, party, dates, value and balance, the lines (extras and products), and housekeeping notes. Bookster API: GET /system/api/v1/booking/bookings/{id}.json.

ParameterTypeDescription
booking_id *stringNumeric Bookster id.

bookster_list_booking_tags List booking tags

List the tags on one booking as a map of tag name to value. Tags are the keys your own integration sets. Bookster API: GET /system/api/v1/booking/bookings/{id}/tag.json.

ParameterTypeDescription
booking_id *stringNumeric Bookster id.

bookster_set_booking_tags Set booking tags

Add, update or delete tags on one booking. Each key is a tag name: a new name adds the tag, an existing name with a non-empty value updates it, and an existing name with an empty value deletes it. Use CamelCase names with your own prefix. Changes the booking record in Bookster. Bookster API: PUT /system/api/v1/booking/bookings/{id}/tag.json.

ParameterTypeDescription
booking_id *stringNumeric Bookster id.
tags *objectMap of tag name to value. An empty value deletes that tag.

bookster_list_properties List properties

List properties (rental units, caravan pitches, rooms and similar) in the account, with their id, type id and name. Bookster API: GET /system/api/v1/entry/entries.json.

ParameterTypeDescription
client_idstringOnly properties owned by this client id.
namestringProperty name to match.
pageintegerPage number (default 1).
per_pageintegerResults per page (Bookster default 20).
tagsstringOnly properties that have this tag.

bookster_get_property Get a property

Get one property with its elements: address, facilities, descriptions, geo location, local authority and more. Bookster API: GET /system/api/v1/entry/entries/{id}.json.

ParameterTypeDescription
property_id *stringNumeric Bookster id.

bookster_get_availability Get property availability

Get the availability ranges of one property: each range has a start, an end (exclusive) and an available flag. Only single-product setups are supported. Bookster API: GET /system/api/v1/booking/query/{id}/availability.json.

ParameterTypeDescription
property_id *stringNumeric Bookster id.
syndicate_idstringOptional booking source (syndicate) id for the check.

bookster_get_length_of_stay_prices Get length-of-stay prices

Get the prices for every possible stay of one property for the next 18 months (up to 30 nights). Each returned string is CSV: date, party size, then the price for 1, 2, 3... nights. A zero price means that stay is not possible. Prices are in the property's currency, rounded to whole units. Bookster API: GET /system/api/v1/booking/query/{id}/los.json.

ParameterTypeDescription
property_id *stringNumeric Bookster id.
syndicate_idstringOptional booking source (syndicate) id for the prices.

bookster_get_booking_setup_state Get booking setup state

Get whether online booking is enabled, disabled or sold out for one property, and the state of its last consolidation (the job that publishes setup changes). Bookster API: GET /system/api/v1/booking/setup/{id}/state.json.

ParameterTypeDescription
property_id *stringNumeric Bookster id.

bookster_get_booking_setup_document Get a booking setup document

Download one booking setup document of a property: rates, availability, extras, products, payment profiles, reservation profiles, legals, bundles, provider, or applicability rules. Returns the name and the document JSON as text. latest=true returns the newest document that is not yet consolidated. Bookster API: GET /system/api/v1/booking/setup/{id}/ir.json.

ParameterTypeDescription
name *stringWhich setup document to download.
property_id *stringNumeric Bookster id.
latestbooleantrue: the newest, possibly not yet consolidated, document. Default: the active one.