Rock Gym Pro MCP by usefulapi
v1.6.1Read 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | The setting name to get. |
facility | string | Comma-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}.
| Parameter | Type | Description |
|---|---|---|
ageGreaterThan | integer | Age in years, at least this many. |
ageLessThan | integer | Age in years, at most this many. |
city | string | Address city (% wildcard allowed). |
country | string | Address country (% wildcard allowed). |
emailAddress | string | Email address (% wildcard allowed). |
emailAllowMarketing | boolean | Only customers who allow email marketing (true) or not (false). |
facilityCode | string | Facility code (3 capital letters). Defaults to the connected facility. |
firstContactDateEnding | string | First contact on or before this date, yyyy-mm-dd. |
firstContactDateStarting | string | First contact on or after this date, yyyy-mm-dd. |
firstName | string | First name (% wildcard allowed). |
lastEditDateEnding | string | Last edit on or before this date, yyyy-mm-dd. |
lastEditDateStarting | string | Last edit on or after this date, yyyy-mm-dd. |
lastName | string | Last name (% wildcard allowed). |
lastVisitDateEnding | string | Last visit on or before this date, yyyy-mm-dd. |
lastVisitDateStarting | string | Last visit on or after this date, yyyy-mm-dd. |
limit | integer | Results per page (default 100, max 200). |
page | integer | Result page (default 1). |
postalCode | string | Address postal code (% wildcard allowed). |
state | string | Address state (% wildcard allowed). |
status | string | Customer status. |
type | string | Customer type. |
waiverSigned | boolean | Only 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}.
| Parameter | Type | Description |
|---|---|---|
customerGuid * | string | Customer 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}.
| Parameter | Type | Description |
|---|---|---|
customerGuid | string | Only records for this customer GUID. |
endDateTime | string | Bookings starting on or before this time, yyyy-mm-dd hh:mm:ss. |
facilityCode | string | Facility code (3 capital letters). Defaults to the connected facility. |
limit | integer | Results per page (default 100, max 200). |
page | integer | Result page (default 1). |
startDateTime | string | Bookings starting on or after this time, yyyy-mm-dd hh:mm:ss. |
startId | integer | Result 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}.
| Parameter | Type | Description |
|---|---|---|
bookingId * | string | Booking ID. |
facilityCode | string | Facility 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}.
| Parameter | Type | Description |
|---|---|---|
customerDetails | boolean | Include the customer details in each check-in. |
customerGuid | string | Only records for this customer GUID. |
endDateTime | string | Check-ins on or before this time, yyyy-mm-dd hh:mm:ss. |
facilityCode | string | Facility code (3 capital letters). Defaults to the connected facility. |
limit | integer | Results per page (default 100, max 200). |
page | integer | Result page (default 1). |
remoteOnly | boolean | Only remote check-ins (true). |
startDateTime | string | Check-ins on or after this time, yyyy-mm-dd hh:mm:ss. |
startId | integer | Result 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}.
| Parameter | Type | Description |
|---|---|---|
checkinId * | string | Check-in ID. |
facilityCode | string | Facility 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}.
| Parameter | Type | Description |
|---|---|---|
facilityCode | string | Facility 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}.
| Parameter | Type | Description |
|---|---|---|
customerGuid | string | Only records for this customer GUID. |
endDateTime | string | Invoices on or before this time, yyyy-mm-dd hh:mm:ss. |
facilityCode | string | Facility code (3 capital letters). Defaults to the connected facility. |
includeVoidInvoices | integer | 1 includes void invoices (default), 0 leaves them out. |
limit | integer | Results per page (default 100, max 200). |
page | integer | Result page (default 1). |
startDateTime | string | Invoices on or after this time, yyyy-mm-dd hh:mm:ss. |
startId | integer | Result 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}.
| Parameter | Type | Description |
|---|---|---|
invoiceId * | string | Invoice ID. |
facilityCode | string | Facility 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}.
| Parameter | Type | Description |
|---|---|---|
endDateTime | string | Sales on or before this time, yyyy-mm-dd hh:mm:ss. |
facilityCode | string | Facility code (3 capital letters). Defaults to the connected facility. |
limit | integer | Results per page (default 100, max 200). |
page | integer | Result page (default 1). |
productId | integer | Product ID to filter by. |
startDateTime | string | Sales on or after this time, yyyy-mm-dd hh:mm:ss. |
startId | integer | Result 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}.
| Parameter | Type | Description |
|---|---|---|
customerGuid | string | Only records for this customer GUID. |
endDateTime | string | Entries on or before this time, yyyy-mm-dd hh:mm:ss. |
facilityCode | string | Facility code (3 capital letters). Defaults to the connected facility. |
limit | integer | Results per page (default 100, max 200). |
page | integer | Result page (default 1). |
startDateTime | string | Entries on or after this time, yyyy-mm-dd hh:mm:ss. |
startId | integer | Result 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}.
| Parameter | Type | Description |
|---|---|---|
timeclockId * | string | Timeclock entry ID. |
facilityCode | string | Facility 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}.
| Parameter | Type | Description |
|---|---|---|
endDate | string | Last day, yyyy-mm-dd. |
facilityCode | string | Facility code (3 capital letters). Defaults to the connected facility. |
limit | integer | Results per page (default 100, max 200). |
page | integer | Result page (default 1). |
startDate | string | First day, yyyy-mm-dd. |
tag | string | Tag 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page (default 100, max 200). |
page | integer | Result page (default 1). |
startId | integer | Result 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}.
| Parameter | Type | Description |
|---|---|---|
facilityCode | string | Facility code (3 capital letters). Defaults to the connected facility. |
includeInactiveWidgets | integer | 1 includes inactive widgets, 0 (default) leaves them out. |
limit | integer | Results per page (default 100, max 200). |
page | integer | Result 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}.
| Parameter | Type | Description |
|---|---|---|
endDateTime * | string | Events on or before this time, yyyy-mm-dd hh:mm:ss. |
eventWidgetGuid * | string | Event widget GUID. |
startDateTime * | string | Events on or after this time, yyyy-mm-dd hh:mm:ss. |
facilityCode | string | Facility code (3 capital letters). Defaults to the connected facility. |