HolidayPitches MCP by usefulapi

v1.9.1
io.usefulapi/holidaypitches Checked 3 days ago Published 2 days ago

Check pitch availability and bookings; create bookings and update their status in HolidayPitches.

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

holidaypitches_get_campsite Get campsite details

Get the campsite's name, address, contact details, season dates, business types and vocabulary labels. HolidayPitches API: GET /api/ext/v1/campsite (scope read_campsite).

holidaypitches_list_pitches List pitches

List the campsite's pitches and units with unit type, services, dog policy, length limit and price per night. Set active to true for bookable units only. HolidayPitches API: GET /api/ext/v1/pitches (scope read_pitches).

ParameterTypeDescription
activebooleantrue = only bookable, non-permanent units.

holidaypitches_check_availability Check pitch availability

List every active pitch for an arrival and departure window, with an is_available flag per pitch. HolidayPitches API: GET /api/ext/v1/availability (scope read_availability).

ParameterTypeDescription
arrival *stringDate, YYYY-MM-DD.
departure *stringDate, YYYY-MM-DD.

holidaypitches_list_bookings List bookings

List bookings with guest, pitch, dates, party size, status and cost. Filter by status or arrival window. Use offset to page; count gives the total. HolidayPitches API: GET /api/ext/v1/bookings (scope read_bookings).

ParameterTypeDescription
arrival_fromstringOnly bookings arriving on or after this date.
arrival_tostringOnly bookings arriving on or before this date.
limitintegerPage size (default 50, max 200).
offsetintegerPagination offset (default 0).
statusstringOnly bookings with this status.

holidaypitches_get_booking Get a booking

Get one booking by its reference (e.g. HP-101) or numeric id, with guest, pitch, dates, party size, status and total cost. HolidayPitches API: GET /api/ext/v1/bookings/{ref} (scope read_bookings).

ParameterTypeDescription
ref *stringBooking reference (e.g. HP-101) or numeric booking id.

holidaypitches_create_booking Create a booking

Create a confirmed booking for one pitch and date range. Reuses the guest account with the same email or creates one. Fails with a conflict when the pitch is taken. Adds a booking; it does not change existing ones. HolidayPitches API: POST /api/ext/v1/bookings/create (scope write_bookings).

ParameterTypeDescription
arrival_date *stringDate, YYYY-MM-DD.
customer_email *stringGuest email address.
customer_first_name *stringGuest first name (required).
departure_date *stringDate, YYYY-MM-DD.
pitch_id *integerPitch id from holidaypitches_list_pitches.
adultsintegerAdults (vendor default 1).
childrenintegerChildren (vendor default 0).
customer_last_namestringGuest last name.
dogsintegerDogs (vendor default 0).
notesstringFree-text notes for the booking.

holidaypitches_update_booking_status Update a booking status

Move a booking to a new status. Allowed moves: pending → confirmed or cancelled; confirmed → checked_in or cancelled; checked_in → checked_out. Read the booking first with holidaypitches_get_booking. HolidayPitches API: PATCH /api/ext/v1/bookings/{ref}/status (scope write_bookings).

ParameterTypeDescription
ref *stringBooking reference (e.g. HP-101) or numeric booking id.
status *stringNew status: confirmed, checked_in, checked_out or cancelled.