fitDEGREE MCP by usefulapi

v1.2.1
io.usefulapi/fitdegree Checked 2 days ago Published 11 hours ago

Read locations, classes, sessions, bookings, members, sales and staff in fitDEGREE.

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

fitdegree_get_account Get the connected account

Return the fitDEGREE account behind the API key: type (fitspot or company), identifier and label. Good first call to check the connection. API: GET /v1/me.

fitdegree_list_fitspots List fitspots

List the studio locations (fitspots) the key can see: id, name, company. Use the ids in the other list tools. API: GET /v1/fitspots.

ParameterTypeDescription
company_idstringOnly fitspots of this company id.
idsarrayOnly these ids (max 100).
orderstringSort direction of last_updated_datetime.
pageintegerPage number for offset pagination (default 1).
page_sizeintegerItems per page, 1 to 1000.
updated_afterstringOnly fitspots updated at or after this datetime.
updated_beforestringOnly fitspots updated at or before this datetime.

fitdegree_list_classes List classes

List the classes (the studio's class definitions, for example a yoga or spin class) with their class group. API: GET /v1/classes.

ParameterTypeDescription
group_idstringOnly classes of this class group id.
idsarrayOnly these ids (max 100).
orderstringSort direction of last_updated_datetime.
pageintegerPage number for offset pagination (default 1).
page_sizeintegerItems per page, 1 to 1000.
updated_afterstringOnly classes updated at or after this datetime.
updated_beforestringOnly classes updated at or before this datetime.

fitdegree_list_registrables List bookable sessions

List the bookable sessions (registrables): one scheduled class at a studio, with start and end time, cancellation flag and class id. Use it for the schedule and for free spots. API: GET /v1/registrables.

ParameterTypeDescription
class_idstringOnly sessions of this class id.
ends_afterstringOnly sessions ending at or after this datetime.
ends_beforestringOnly sessions ending at or before this datetime.
fitspot_idstringOnly sessions at this fitspot id.
idsarrayOnly these ids (max 100).
is_cancelledbooleantrue = cancelled sessions only; false = active sessions only.
order_by_startstringSort by start_datetime.
pageintegerPage number for offset pagination (default 1).
page_sizeintegerItems per page, 1 to 1000.
starts_afterstringOnly sessions starting at or after this datetime.
starts_beforestringOnly sessions starting at or before this datetime.

fitdegree_list_registrations List bookings

List the bookings (registrations): which member is booked on which bookable session, and the status. Cursor pagination is available: pass next_cursor back as cursor. API: GET /v1/registrations.

ParameterTypeDescription
created_afterstringOnly bookings created at or after this datetime.
created_beforestringOnly bookings created at or before this datetime.
cursorstringnext_cursor of the previous page. Send an empty string for the first cursor page; omit it to page by page number.
idsarrayOnly these ids (max 100).
orderstringSort direction of last_updated_datetime.
pageintegerPage number for offset pagination (default 1).
page_sizeintegerItems per page, 1 to 1000.
registrable_idsarrayOnly bookings on these session ids (max 100).
statusstringOnly bookings with this status (as the API defines it).
updated_afterstringOnly bookings updated at or after this datetime.
updated_beforestringOnly bookings updated at or before this datetime.
user_idsarrayOnly bookings of these member ids (max 100).

fitdegree_list_users List members

List the studio's members (users): name and contact fields as the API returns them, and their fitspot. Cursor pagination is available: pass next_cursor back as cursor. API: GET /v1/users.

ParameterTypeDescription
cursorstringnext_cursor of the previous page. Send an empty string for the first cursor page; omit it to page by page number.
fitspot_idstringOnly members of this fitspot id.
idsarrayOnly these ids (max 100).
orderstringSort direction of last_updated_datetime.
pageintegerPage number for offset pagination (default 1).
page_sizeintegerItems per page, 1 to 1000.
updated_afterstringOnly members updated at or after this datetime.
updated_beforestringOnly members updated at or before this datetime.

fitdegree_list_sales List sales

List the sales (purchases of memberships, passes or other items) with the member they belong to. Cursor pagination is available: pass next_cursor back as cursor. API: GET /v1/sales.

ParameterTypeDescription
cursorstringnext_cursor of the previous page. Send an empty string for the first cursor page; omit it to page by page number.
idsarrayOnly these ids (max 100).
orderstringSort direction of last_updated_datetime.
pageintegerPage number for offset pagination (default 1).
page_sizeintegerItems per page, 1 to 1000.
updated_afterstringOnly sales updated at or after this datetime.
updated_beforestringOnly sales updated at or before this datetime.
user_idsarrayOnly sales of these member ids (max 100).

fitdegree_list_team_members List team members

List the studio's staff (team members): name, role fields and whether they are active. Use it to match instructors to sessions. API: GET /v1/team_members.

ParameterTypeDescription
fitspot_idstringOnly staff of this fitspot id.
idsarrayOnly these ids (max 100).
is_activebooleantrue = active staff only; false = inactive staff only.
orderstringSort direction of last_updated_datetime.
pageintegerPage number for offset pagination (default 1).
page_sizeintegerItems per page, 1 to 1000.
updated_afterstringOnly staff updated at or after this datetime.
updated_beforestringOnly staff updated at or before this datetime.