Rock Gym Pro MCP by usefulapi

v1.6.1
io.usefulapi/rock-gym-pro Checked 2 days ago Published 1 day ago

Read customers, bookings, check-ins, invoices and sales in Rock Gym Pro.

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

rockgympro_list_facilities List facilities

List the facilities the connected API key can read, with their 3-letter codes. Start here to find a facilityCode for the other tools. Rock Gym Pro API: GET /v1/facilities.

rockgympro_get_connection_info Get API connection info

Show the token information for the connected API key. Use it to check that the key works. Rock Gym Pro API: GET /v1/me.

rockgympro_get_setting Get a setting

Get one setting value by name (the settings table), optionally for several facilities. Rock Gym Pro API: GET /v1/settings.

ParameterTypeDescription
name *stringThe setting name to get.
facilitystringComma-separated facility codes, e.g. ABC,DEF.

rockgympro_list_customers List customers

List the customers of a facility, filtered by type, status, dates, name, email or address. Text filters accept % wildcards. Page through results with page and limit. Rock Gym Pro API: GET /v1/customers/facility/{facilityCode}.

ParameterTypeDescription
ageGreaterThanintegerAge in years, at least this many.
ageLessThanintegerAge in years, at most this many.
citystringAddress city (% wildcard allowed).
countrystringAddress country (% wildcard allowed).
emailAddressstringEmail address (% wildcard allowed).
emailAllowMarketingbooleanOnly customers who allow email marketing (true) or not (false).
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.
firstContactDateEndingstringFirst contact on or before this date, yyyy-mm-dd.
firstContactDateStartingstringFirst contact on or after this date, yyyy-mm-dd.
firstNamestringFirst name (% wildcard allowed).
lastEditDateEndingstringLast edit on or before this date, yyyy-mm-dd.
lastEditDateStartingstringLast edit on or after this date, yyyy-mm-dd.
lastNamestringLast name (% wildcard allowed).
lastVisitDateEndingstringLast visit on or before this date, yyyy-mm-dd.
lastVisitDateStartingstringLast visit on or after this date, yyyy-mm-dd.
limitintegerResults per page (default 100, max 200).
pageintegerResult page (default 1).
postalCodestringAddress postal code (% wildcard allowed).
statestringAddress state (% wildcard allowed).
statusstringCustomer status.
typestringCustomer type.
waiverSignedbooleanOnly customers whose waiver is signed (true) or not (false).

rockgympro_get_customer Get a customer

Get one customer's details by customer GUID. Rock Gym Pro API: GET /v1/customers/{customerGuid}.

ParameterTypeDescription
customerGuid *stringCustomer GUID.

rockgympro_list_bookings List bookings

List the bookings of a facility, optionally for one customer or a date-time range. Page with startId, page and limit. Rock Gym Pro API: GET /v1/bookings/facility/{facilityCode}.

ParameterTypeDescription
customerGuidstringOnly records for this customer GUID.
endDateTimestringBookings starting on or before this time, yyyy-mm-dd hh:mm:ss.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.
limitintegerResults per page (default 100, max 200).
pageintegerResult page (default 1).
startDateTimestringBookings starting on or after this time, yyyy-mm-dd hh:mm:ss.
startIdintegerResult set start ID (default 0).

rockgympro_get_booking Get a booking

Get one booking's details by its ID. Rock Gym Pro API: GET /v1/bookings/facility/{facilityCode}/{bookingId}.

ParameterTypeDescription
bookingId *stringBooking ID.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.

rockgympro_list_checkins List check-ins

List the check-ins of a facility, optionally for one customer or a date-time range. Page with startId, page and limit. Rock Gym Pro API: GET /v1/checkins/facility/{facilityCode}.

ParameterTypeDescription
customerDetailsbooleanInclude the customer details in each check-in.
customerGuidstringOnly records for this customer GUID.
endDateTimestringCheck-ins on or before this time, yyyy-mm-dd hh:mm:ss.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.
limitintegerResults per page (default 100, max 200).
pageintegerResult page (default 1).
remoteOnlybooleanOnly remote check-ins (true).
startDateTimestringCheck-ins on or after this time, yyyy-mm-dd hh:mm:ss.
startIdintegerResult set start ID (default 0).

rockgympro_get_checkin Get a check-in

Get one check-in by its ID. Rock Gym Pro API: GET /v1/checkins/facility/{facilityCode}/{checkinId}.

ParameterTypeDescription
checkinId *stringCheck-in ID.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.

rockgympro_get_active_checkin_count Count active check-ins

Get how many customers are checked in right now at a facility. Rock Gym Pro API: GET /v1/checkins/active/facility/{facilityCode}.

ParameterTypeDescription
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.

rockgympro_list_invoices List invoices

List the invoices of a facility, optionally for one customer or a date-time range. Void invoices are included unless includeVoidInvoices is 0. Rock Gym Pro API: GET /v1/invoices/facility/{facilityCode}.

ParameterTypeDescription
customerGuidstringOnly records for this customer GUID.
endDateTimestringInvoices on or before this time, yyyy-mm-dd hh:mm:ss.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.
includeVoidInvoicesinteger1 includes void invoices (default), 0 leaves them out.
limitintegerResults per page (default 100, max 200).
pageintegerResult page (default 1).
startDateTimestringInvoices on or after this time, yyyy-mm-dd hh:mm:ss.
startIdintegerResult set start ID (default 0).

rockgympro_get_invoice Get an invoice

Get one invoice's details by its ID. Rock Gym Pro API: GET /v1/invoices/facility/{facilityCode}/{invoiceId}.

ParameterTypeDescription
invoiceId *stringInvoice ID.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.

rockgympro_list_sales List sales

List sales by product for a facility, optionally for one product or a date-time range. Rock Gym Pro API: GET /v1/sales/facility/{facilityCode}.

ParameterTypeDescription
endDateTimestringSales on or before this time, yyyy-mm-dd hh:mm:ss.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.
limitintegerResults per page (default 100, max 200).
pageintegerResult page (default 1).
productIdintegerProduct ID to filter by.
startDateTimestringSales on or after this time, yyyy-mm-dd hh:mm:ss.
startIdintegerResult set start ID (default 0).

rockgympro_list_timeclock_entries List timeclock entries

List staff timeclock entries of a facility, optionally for one customer (staff member) or a date-time range. Rock Gym Pro API: GET /v1/timeclocks/facility/{facilityCode}.

ParameterTypeDescription
customerGuidstringOnly records for this customer GUID.
endDateTimestringEntries on or before this time, yyyy-mm-dd hh:mm:ss.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.
limitintegerResults per page (default 100, max 200).
pageintegerResult page (default 1).
startDateTimestringEntries on or after this time, yyyy-mm-dd hh:mm:ss.
startIdintegerResult set start ID (default 0).

rockgympro_get_timeclock_entry Get a timeclock entry

Get one timeclock entry by its ID. Rock Gym Pro API: GET /v1/timeclocks/facility/{facilityCode}/{timeclockId}.

ParameterTypeDescription
timeclockId *stringTimeclock entry ID.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.

rockgympro_list_daily_numbers List daily numbers

List the daily number figures of a facility for a date range, optionally for one tag. Rock Gym Pro API: GET /v1/dailynumbers/facility/{facilityCode}.

ParameterTypeDescription
endDatestringLast day, yyyy-mm-dd.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.
limitintegerResults per page (default 100, max 200).
pageintegerResult page (default 1).
startDatestringFirst day, yyyy-mm-dd.
tagstringTag name to filter by.

rockgympro_list_staff List staff

List the staff records the connected API key can read. Rock Gym Pro API: GET /v1/staff.

ParameterTypeDescription
limitintegerResults per page (default 100, max 200).
pageintegerResult page (default 1).
startIdintegerResult set start ID (default 0).

rockgympro_list_event_widgets List event widgets

List the event widget GUIDs of a facility. Use a GUID with rockgympro_get_event_widget_events. Rock Gym Pro API: GET /v1/widgets/events/facility/{facilityCode}.

ParameterTypeDescription
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.
includeInactiveWidgetsinteger1 includes inactive widgets, 0 (default) leaves them out.
limitintegerResults per page (default 100, max 200).
pageintegerResult page (default 1).

rockgympro_get_event_widget_events Get event widget events

Get the events of one event widget for a facility and a date-time range. Rock Gym Pro API: GET /v1/widgets/events/facility/{facilityCode}/{eventWidgetGuid}.

ParameterTypeDescription
endDateTime *stringEvents on or before this time, yyyy-mm-dd hh:mm:ss.
eventWidgetGuid *stringEvent widget GUID.
startDateTime *stringEvents on or after this time, yyyy-mm-dd hh:mm:ss.
facilityCodestringFacility code (3 capital letters). Defaults to the connected facility.