GymFlexa Gym Management is an MCP server published by com.gymflexa, hosted at mcp.gymflexa.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 17 tools, including list_gyms, get_gym, get_gym_availability, get_gym_schedule_summary, get_gym_payment_summary.
See your gym's open slots, services, how busy each day is and your payment totals.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Use this when someone asks which gyms or studios they run in GymFlexa, or a gym's id is needed. Returns gyms with id, name, currency, default language and last edit time, alphabetical, 25 per page by default. Not for finding a member.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of gyms to return (default 25, maximum 100) |
| cursor | string | The nextCursor of the previous page of this listing; absent for the first page |
{
"name": "list_gyms",
"title": "List your gyms",
"description": "Use this when someone asks which gyms or studios they run in GymFlexa, or a gym's id is needed. Returns gyms with id, name, currency, default language and last edit time, alphabetical, 25 per page by default. Not for finding a member.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Maximum number of gyms to return (default 25, maximum 100)",
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 4096,
"description": "The nextCursor of the previous page of this listing; absent for the first page"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"gyms",
"hasMore",
"nextCursor"
],
"properties": {
"gyms": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"currency",
"defaultLocale",
"lastEditTime"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"currency": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z]{3}$"
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"defaultLocale": {
"anyOf": [
{
"type": "string",
"maxLength": 16
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Gyms in the signed-in organization, alphabetical. Organization, address, contact, billing, integration and member data are never returned."
},
"hasMore": {
"type": "boolean"
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "null"
}
],
"description": "Cursor for the next page; null on the last page"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List your gyms",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Use this when someone asks for one gym's opening hours, timezone, currency or default session length. Returns the gym's scheduling settings with up to 14 opening-hour rows, Monday first; an id outside the organization returns not-found. Not for free session slots.
| Parameter | Type | Description |
|---|---|---|
| gymId * | string | Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters) |
{
"name": "get_gym",
"title": "Get gym opening hours and settings",
"description": "Use this when someone asks for one gym's opening hours, timezone, currency or default session length. Returns the gym's scheduling settings with up to 14 opening-hour rows, Monday first; an id outside the organization returns not-found. Not for free session slots.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"gymId"
],
"properties": {
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters)"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"gym"
],
"properties": {
"gym": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name",
"currency",
"defaultLocale",
"timezone",
"countryCode",
"firstDayOfTheWeek",
"appointmentDuration",
"openingHours",
"lastEditTime"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"currency": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z]{3}$"
},
{
"type": "null"
}
]
},
"timezone": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"countryCode": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z]{2}$"
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"openingHours": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"open",
"close"
],
"properties": {
"day": {
"enum": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"type": "string"
},
"open": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{2}:\\d{2}$"
},
{
"type": "null"
}
]
},
"close": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{2}:\\d{2}$"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 14
},
"defaultLocale": {
"anyOf": [
{
"type": "string",
"maxLength": 16
},
{
"type": "null"
}
]
},
"firstDayOfTheWeek": {
"anyOf": [
{
"enum": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"type": "string"
},
{
"type": "null"
}
]
},
"appointmentDuration": {
"type": [
"number",
"null"
],
"description": "Default session length in minutes"
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Scheduling settings of the gym; null when not found. Address, phone, website, organization, billing, integrations, reminders, members and arbitrary metadata are excluded."
},
"status": {
"enum": [
"found",
"not-found"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get gym opening hours and settings",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks when their gym has free slots or openings for a class or session, or which coming days are fully booked. Returns, per day, how many online-booking slots are open plus the first start and last end time, for the next 14 days that have openings, so a skipped day has none (no member or trainer names). Not for booking a session.
| Parameter | Type | Description |
|---|---|---|
| gymId * | string | Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters) |
{
"name": "get_gym_availability",
"title": "Find free session slots",
"description": "Use this when someone asks when their gym has free slots or openings for a class or session, or which coming days are fully booked. Returns, per day, how many online-booking slots are open plus the first start and last end time, for the next 14 days that have openings, so a skipped day has none (no member or trainer names). Not for booking a session.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"gymId"
],
"properties": {
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters)"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"timezone",
"availableDayCount",
"availableSlotCount",
"days"
],
"properties": {
"days": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"slotCount",
"firstStartTime",
"lastEndTime"
],
"properties": {
"day": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"slotCount": {
"type": "integer",
"minimum": 0
},
"lastEndTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"firstStartTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 14,
"description": "One row per day with open online-booking slots inside the gym's booking window, in date order. Slot counts and times only; members, appointments, trainers and the reason a time is unavailable are never exposed."
},
"timezone": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"availableDayCount": {
"type": "integer",
"minimum": 0
},
"availableSlotCount": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find free session slots",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks how busy their gym is or how many appointments or sessions are booked each day, past or upcoming. Returns booking counts per UTC day for one gym, whatever their status, for any window of at most 31 days (the next 7 by default); counting stops at 100. Not for counting cancellations or seeing which members are booked.
| Parameter | Type | Description |
|---|---|---|
| gymId * | string | Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters) |
| endTime | string | End of the range as an ISO 8601 date-time, after startTime and at most 31 days later; defaults to 7 days after the start |
| startTime | string | Start of the range as an ISO 8601 date-time; defaults to now |
{
"name": "get_gym_schedule_summary",
"title": "Count bookings per day",
"description": "Use this when someone asks how busy their gym is or how many appointments or sessions are booked each day, past or upcoming. Returns booking counts per UTC day for one gym, whatever their status, for any window of at most 31 days (the next 7 by default); counting stops at 100. Not for counting cancellations or seeing which members are booked.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"gymId"
],
"properties": {
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters)"
},
"endTime": {
"type": "string",
"maxLength": 32,
"description": "End of the range as an ISO 8601 date-time, after startTime and at most 31 days later; defaults to 7 days after the start"
},
"startTime": {
"type": "string",
"maxLength": 32,
"description": "Start of the range as an ISO 8601 date-time; defaults to now"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"range",
"recordCount",
"recordCountIsLowerBound",
"days"
],
"properties": {
"days": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"count"
],
"properties": {
"day": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"count": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "One row per UTC day that has bookings, canceled ones included. Aggregate counts only: appointment ids and times, member information, services, notes, trainer data and attendance history are never returned."
},
"range": {
"type": "object",
"required": [
"startTime",
"endTime"
],
"properties": {
"endTime": {
"type": "string",
"maxLength": 32
},
"startTime": {
"type": "string",
"maxLength": 32
}
},
"additionalProperties": false
},
"recordCount": {
"type": "integer",
"minimum": 0
},
"recordCountIsLowerBound": {
"type": "boolean",
"description": "True when more than 100 bookings fall in the range"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Count bookings per day",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks how much their gym took in, or how many payments succeeded, failed or were canceled. Returns payment counts by status and totals by currency; totals include every status. Covers up to 31 days and 100 payments and defaults to the next 7 days, which hold no payments yet. Not for moving money: it cannot charge, refund or transfer.
| Parameter | Type | Description |
|---|---|---|
| gymId * | string | Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters) |
| endTime | string | End of the range as an ISO 8601 date-time, after startTime and at most 31 days later; defaults to 7 days after the start |
| startTime | string | Start of the range as an ISO 8601 date-time, matched against when each payment was recorded; defaults to now, so pass a past date for past takings |
{
"name": "get_gym_payment_summary",
"title": "Summarize gym takings",
"description": "Use this when someone asks how much their gym took in, or how many payments succeeded, failed or were canceled. Returns payment counts by status and totals by currency; totals include every status. Covers up to 31 days and 100 payments and defaults to the next 7 days, which hold no payments yet. Not for moving money: it cannot charge, refund or transfer.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"gymId"
],
"properties": {
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters)"
},
"endTime": {
"type": "string",
"maxLength": 32,
"description": "End of the range as an ISO 8601 date-time, after startTime and at most 31 days later; defaults to 7 days after the start"
},
"startTime": {
"type": "string",
"maxLength": 32,
"description": "Start of the range as an ISO 8601 date-time, matched against when each payment was recorded; defaults to now, so pass a past date for past takings"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"range",
"recordCount",
"recordCountIsLowerBound",
"totalsArePartial",
"totals",
"statuses"
],
"properties": {
"range": {
"type": "object",
"required": [
"startTime",
"endTime"
],
"properties": {
"endTime": {
"type": "string",
"maxLength": 32
},
"startTime": {
"type": "string",
"maxLength": 32
}
},
"additionalProperties": false
},
"totals": {
"type": "array",
"items": {
"type": "object",
"required": [
"currency",
"amount"
],
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string",
"pattern": "^(?:[A-Z]{3}|UNSPECIFIED)$"
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Amount totals per currency, summed over every status including FAILED and CANCELED payments. Payment and member ids, processor or card data, contacts, notes, discounts, decline reasons, services and individual transactions are never returned."
},
"statuses": {
"type": "array",
"items": {
"type": "object",
"required": [
"status",
"count"
],
"properties": {
"count": {
"type": "integer",
"minimum": 0
},
"status": {
"type": "string",
"pattern": "^[A-Z0-9_-]{1,48}$"
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Payment counts per status, such as SUCCEEDED, FAILED, CANCELED or OTHER"
},
"recordCount": {
"type": "integer",
"minimum": 0
},
"totalsArePartial": {
"type": "boolean",
"description": "True when more than 100 payments fall in the range or any returned amount is missing or invalid"
},
"recordCountIsLowerBound": {
"type": "boolean"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Summarize gym takings",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks what their gym charges for a class, personal training session or other service, or needs a service id to book it. Returns catalog service ids, names, prices and last edit times for one gym, alphabetical, 25 per page by default. Not for what a particular member bought or attended.
| Parameter | Type | Description |
|---|---|---|
| gymId * | string | Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters) |
| limit | integer | Maximum services to return (default 25, maximum 100) |
| cursor | string | The nextCursor of the previous page of this listing; absent for the first page |
{
"name": "list_services",
"title": "Look up class and service prices",
"description": "Use this when someone asks what their gym charges for a class, personal training session or other service, or needs a service id to book it. Returns catalog service ids, names, prices and last edit times for one gym, alphabetical, 25 per page by default. Not for what a particular member bought or attended.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"gymId"
],
"properties": {
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters)"
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Maximum services to return (default 25, maximum 100)",
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 4096,
"description": "The nextCursor of the previous page of this listing; absent for the first page"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"services",
"hasMore",
"nextCursor"
],
"properties": {
"hasMore": {
"type": "boolean"
},
"services": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"price",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
{
"type": "null"
}
],
"description": "The id book_appointment takes in serviceIds"
},
"name": {
"type": "string",
"maxLength": 200
},
"price": {
"type": [
"number",
"null"
],
"description": "Price in the gym's currency"
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Service catalog entries, alphabetical. Member history, notes, staff commissions, organization ids and arbitrary metadata are excluded."
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "null"
}
],
"description": "Cursor for the next page; null on the last page"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Look up class and service prices",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks which trainers can be booked, or needs a trainer's id to book a member with them or to find their sessions. Returns up to 100 trainer ids and display names from the user's organization; a gym run by one person lists that person. Not for trainers' working hours.
No parameters.
{
"name": "list_trainers",
"title": "List trainers who take sessions",
"description": "Use this when someone asks which trainers can be booked, or needs a trainer's id to book a member with them or to find their sessions. Returns up to 100 trainer ids and display names from the user's organization; a gym run by one person lists that person. Not for trainers' working hours.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trainers",
"count",
"hasMore"
],
"properties": {
"count": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"trainers": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"displayName"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "The id book_appointment takes in providerIds"
},
"displayName": {
"type": "string",
"maxLength": 200
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Ids and display names of the team members with the trainer role, or of the gym's only team member when nobody has it. Roles are organization-wide, not per gym. Contact details, avatars, role records, schedules and organization data are excluded."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List trainers who take sessions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks who their members are, or needs a member's id to book them, update their details or look up their sessions. Returns up to 100 members (20 by default) across all the user's gyms or one, with id, name, gym and last edit time, optionally only those whose name matches. Not for a member's email, phone or notes.
| Parameter | Type | Description |
|---|---|---|
| gymId | string | Only members of this gym, by an id from the user's gym list; every gym when absent |
| limit | integer | Maximum number of members to return (default 20, maximum 100) |
| search | string | Only members whose name contains these words, in any order, ignoring case and accents |
{
"name": "list_members",
"title": "Look up gym members",
"description": "Use this when someone asks who their members are, or needs a member's id to book them, update their details or look up their sessions. Returns up to 100 members (20 by default) across all the user's gyms or one, with id, name, gym and last edit time, optionally only those whose name matches. Not for a member's email, phone or notes.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Only members of this gym, by an id from the user's gym list; every gym when absent"
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Maximum number of members to return (default 20, maximum 100)",
"exclusiveMinimum": 0
},
"search": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Only members whose name contains these words, in any order, ignoring case and accents"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"members",
"count",
"hasMore"
],
"properties": {
"count": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"members": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"gymId",
"lastEditTime"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"gymId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
],
"description": "Version to pass as expectedLastEditTime when updating the member's details"
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Members with the ids needed to book them or look up their sessions. Email, phone, address, date of birth, notes, attendance and payment history, organization data and other profile fields are excluded."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Look up gym members",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks when a member is booked, which sessions a trainer has, or what is booked on a day, including to move or cancel one. Returns sessions across all the user's gyms or one, with id, member, gym and trainer ids, times, status and edit time for any date window, latest first, up to 100. Not for counting how busy each day is.
| Parameter | Type | Description |
|---|---|---|
| gymId | string | Only sessions at this gym, by an id from the user's gym list; every gym when absent |
| limit | integer | Maximum number of sessions to return (default 20, maximum 100) |
| endTime | string | Only sessions ending before this ISO 8601 time |
| memberId | string | Only sessions of this member, by an id from list_members |
| startTime | string | Only sessions starting at or after this ISO 8601 time |
{
"name": "list_appointments",
"title": "List gym sessions",
"description": "Use this when someone asks when a member is booked, which sessions a trainer has, or what is booked on a day, including to move or cancel one. Returns sessions across all the user's gyms or one, with id, member, gym and trainer ids, times, status and edit time for any date window, latest first, up to 100. Not for counting how busy each day is.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Only sessions at this gym, by an id from the user's gym list; every gym when absent"
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Maximum number of sessions to return (default 20, maximum 100)",
"exclusiveMinimum": 0
},
"endTime": {
"type": "string",
"format": "date-time",
"maxLength": 32,
"description": "Only sessions ending before this ISO 8601 time"
},
"memberId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Only sessions of this member, by an id from list_members"
},
"startTime": {
"type": "string",
"format": "date-time",
"maxLength": 32,
"description": "Only sessions starting at or after this ISO 8601 time"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"appointments",
"count",
"hasMore"
],
"properties": {
"count": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"appointments": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"memberId",
"gymId",
"providerIds",
"startTime",
"endTime",
"status",
"lastEditTime"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"gymId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"REQUESTED",
"SCHEDULED",
"MEMBER_ARRIVED",
"NO_SHOW",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"endTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"memberId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
{
"type": "null"
}
]
},
"startTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"maxItems": 10,
"description": "Trainers booked on it, as list_trainers ids"
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
],
"description": "Version to pass as expectedLastEditTime when moving or cancelling it"
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Sessions, latest start first. Notes, services, reminders, contact details, organization data and payment details are excluded."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List gym sessions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks how much of a product or supply is left in the gym's stock or what is running low. Returns up to 100 stock items with unit, quantity, minimum and a low-stock flag. Not for retail prices.
| Parameter | Type | Description |
|---|---|---|
| gymId | string | Id of the gym, from list_gyms. Leave it out when the user has one gym. |
| limit | integer | Maximum number of items (default 50, maximum 100). |
| search | string | Only items whose name contains these words. |
| lowStockOnly | boolean | Only items at or below their minimum quantity. |
{
"name": "list_inventory_items",
"title": "Check gym stock",
"description": "Use this when someone asks how much of a product or supply is left in the gym's stock or what is running low. Returns up to 100 stock items with unit, quantity, minimum and a low-stock flag. Not for retail prices.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the gym, from list_gyms. Leave it out when the user has one gym."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum number of items (default 50, maximum 100)."
},
"search": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Only items whose name contains these words."
},
"lowStockOnly": {
"type": "boolean",
"description": "Only items at or below their minimum quantity."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"gymId",
"items",
"count",
"hasMore"
],
"properties": {
"count": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"unit",
"quantity",
"minimumQuantity",
"lowStock",
"gymId",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"unit": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"gymId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"lowStock": {
"type": "boolean"
},
"quantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"minimumQuantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 100
},
"hasMore": {
"type": "boolean"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check gym stock",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks to book a member into a session, class or personal training at their gym. Returns the new session with its time, trainer and services; it takes the gym's usual session length and reminders, so the gym's reminder messages go to the member. Not for finding free slots.
| Parameter | Type | Description |
|---|---|---|
| note | string | A note for the gym team. |
| gymId | string | Id of the gym, from list_gyms. Leave it out when the user has one gym. |
| memberId * | string | Id of the member, from list_members or create_member. |
| requestId * | string | A unique id you choose for this booking, such as a UUID. Calling again with the same requestId returns the first booking instead of booking twice. |
| startTime * | string | Start as an ISO 8601 time with the gym's UTC offset, such as 2026-11-20T10:00:00+01:00. |
| serviceIds | array | Ids of the services booked, from list_services. |
| providerIds | array | Ids of the trainers who take it, from list_trainers. Leave it out when the gym has one trainer or the user is the trainer. |
| durationMinutes | integer | Length in minutes. Leave it out for the gym's usual session length. |
{
"name": "book_appointment",
"title": "Book a gym session",
"description": "Use this when someone asks to book a member into a session, class or personal training at their gym. Returns the new session with its time, trainer and services; it takes the gym's usual session length and reminders, so the gym's reminder messages go to the member. Not for finding free slots.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"memberId",
"startTime",
"requestId"
],
"properties": {
"note": {
"type": "string",
"maxLength": 2000,
"description": "A note for the gym team."
},
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the gym, from list_gyms. Leave it out when the user has one gym."
},
"memberId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the member, from list_members or create_member."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"maxLength": 64,
"minLength": 1,
"description": "A unique id you choose for this booking, such as a UUID. Calling again with the same requestId returns the first booking instead of booking twice."
},
"startTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "Start as an ISO 8601 time with the gym's UTC offset, such as 2026-11-20T10:00:00+01:00."
},
"serviceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 20,
"description": "Ids of the services booked, from list_services."
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 5,
"description": "Ids of the trainers who take it, from list_trainers. Leave it out when the gym has one trainer or the user is the trainer."
},
"durationMinutes": {
"type": "integer",
"maximum": 480,
"minimum": 5,
"description": "Length in minutes. Leave it out for the gym's usual session length."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"appointment"
],
"properties": {
"status": {
"enum": [
"booked",
"already_booked"
],
"type": "string"
},
"appointment": {
"type": "object",
"required": [
"id",
"gymId",
"memberId",
"startTime",
"endTime",
"status",
"lastEditTime",
"providerIds",
"serviceCount",
"services",
"reminderCount"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"gymId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"REQUESTED",
"SCHEDULED",
"MEMBER_ARRIVED",
"NO_SHOW",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"endTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"memberId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"services": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"price"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"price": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 20
},
"startTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 10
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"serviceCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"reminderCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Book a gym session",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone asks to move a member's session to another day or time. Returns the moved session; its member, trainer, services and length stay the same and the member's reminders move with it. Not for cancelling a session.
| Parameter | Type | Description |
|---|---|---|
| startTime * | string | New start as an ISO 8601 time with the gym's UTC offset, such as 2026-11-20T15:30:00+01:00. |
| appointmentId * | string | Id of the session, from list_appointments. |
| durationMinutes | integer | New length in minutes. Leave it out to keep the current length. |
| expectedLastEditTime * | string | The lastEditTime from list_appointments. A session changed since then is refused. |
{
"name": "reschedule_appointment",
"title": "Move a gym session",
"description": "Use this when someone asks to move a member's session to another day or time. Returns the moved session; its member, trainer, services and length stay the same and the member's reminders move with it. Not for cancelling a session.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"appointmentId",
"startTime",
"expectedLastEditTime"
],
"properties": {
"startTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "New start as an ISO 8601 time with the gym's UTC offset, such as 2026-11-20T15:30:00+01:00."
},
"appointmentId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the session, from list_appointments."
},
"durationMinutes": {
"type": "integer",
"maximum": 480,
"minimum": 5,
"description": "New length in minutes. Leave it out to keep the current length."
},
"expectedLastEditTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "The lastEditTime from list_appointments. A session changed since then is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"previousStartTime",
"appointment"
],
"properties": {
"status": {
"enum": [
"rescheduled"
],
"type": "string"
},
"appointment": {
"type": "object",
"required": [
"id",
"gymId",
"memberId",
"startTime",
"endTime",
"status",
"lastEditTime",
"providerIds",
"serviceCount",
"services",
"reminderCount"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"gymId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"REQUESTED",
"SCHEDULED",
"MEMBER_ARRIVED",
"NO_SHOW",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"endTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"memberId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"services": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"price"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"price": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 20
},
"startTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 10
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"serviceCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"reminderCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
}
},
"additionalProperties": false
},
"previousStartTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"title": "Move a gym session",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone asks to cancel a member's session or decline one the member requested. Returns the session as canceled, kept rather than deleted, and whether the gym's cancellation message goes to the member. Not for moving a session to another time.
| Parameter | Type | Description |
|---|---|---|
| appointmentId * | string | Id of the session, from list_appointments. |
| expectedLastEditTime * | string | The lastEditTime from list_appointments. A session changed since then is refused. |
{
"name": "cancel_appointment",
"title": "Cancel a gym session",
"description": "Use this when someone asks to cancel a member's session or decline one the member requested. Returns the session as canceled, kept rather than deleted, and whether the gym's cancellation message goes to the member. Not for moving a session to another time.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"appointmentId",
"expectedLastEditTime"
],
"properties": {
"appointmentId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the session, from list_appointments."
},
"expectedLastEditTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "The lastEditTime from list_appointments. A session changed since then is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"clientNotification",
"appointment"
],
"properties": {
"status": {
"enum": [
"canceled",
"already_canceled"
],
"type": "string"
},
"appointment": {
"type": "object",
"required": [
"id",
"gymId",
"memberId",
"startTime",
"endTime",
"status",
"lastEditTime",
"providerIds",
"serviceCount",
"services",
"reminderCount"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"gymId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"REQUESTED",
"SCHEDULED",
"MEMBER_ARRIVED",
"NO_SHOW",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"endTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"memberId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"services": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"price"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"price": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 20
},
"startTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 10
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"serviceCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"reminderCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
}
},
"additionalProperties": false
},
"clientNotification": {
"enum": [
"configured",
"not_configured",
"unknown"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Cancel a gym session",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone asks to add a new member to a gym. Returns the member's id, name, gym and language; the phone and email given are saved but never returned. Not for changing an existing member.
| Parameter | Type | Description |
|---|---|---|
| name * | string | The member's full name. |
| string | Email address. | |
| gymId | string | Id of the gym, from list_gyms. Leave it out when the user has one gym. |
| phone | string | Mobile number, with the country code when known. |
| language | string | Language for their messages, as a code such as en, it or pt-BR. Defaults to the gym language. |
| requestId * | string | A unique id you choose for this member, such as a UUID. Calling again with the same requestId returns the first member instead of adding a second one. |
{
"name": "create_member",
"title": "Add a gym member",
"description": "Use this when someone asks to add a new member to a gym. Returns the member's id, name, gym and language; the phone and email given are saved but never returned. Not for changing an existing member.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"requestId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "The member's full name."
},
"email": {
"type": "string",
"maxLength": 254,
"description": "Email address."
},
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the gym, from list_gyms. Leave it out when the user has one gym."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "Mobile number, with the country code when known."
},
"language": {
"type": "string",
"maxLength": 10,
"description": "Language for their messages, as a code such as en, it or pt-BR. Defaults to the gym language."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"maxLength": 64,
"minLength": 1,
"description": "A unique id you choose for this member, such as a UUID. Calling again with the same requestId returns the first member instead of adding a second one."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"member"
],
"properties": {
"member": {
"type": "object",
"required": [
"id",
"name",
"gymId",
"language",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"gymId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"language": {
"anyOf": [
{
"type": "string",
"maxLength": 16
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"status": {
"enum": [
"created",
"already_created"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Add a gym member",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone asks to change a member's name, phone, email or language. Returns the member's id, name, gym and which fields changed; contact details are never returned. Not for adding a new member.
| Parameter | Type | Description |
|---|---|---|
| name | string | New full name. |
| string | New email address. | |
| phone | string | New mobile number, with the country code when known. |
| language | string | New language for their messages, as a code such as en or it. |
| memberId * | string | Id of the member, from list_members. |
| expectedLastEditTime * | string | The lastEditTime from list_members. A member changed since then is refused. |
{
"name": "update_member",
"title": "Update a member's details",
"description": "Use this when someone asks to change a member's name, phone, email or language. Returns the member's id, name, gym and which fields changed; contact details are never returned. Not for adding a new member.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"memberId",
"expectedLastEditTime"
],
"properties": {
"name": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "New full name."
},
"email": {
"type": "string",
"maxLength": 254,
"description": "New email address."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "New mobile number, with the country code when known."
},
"language": {
"type": "string",
"maxLength": 10,
"description": "New language for their messages, as a code such as en or it."
},
"memberId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the member, from list_members."
},
"expectedLastEditTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "The lastEditTime from list_members. A member changed since then is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"changedFields",
"member"
],
"properties": {
"member": {
"type": "object",
"required": [
"id",
"name",
"gymId",
"language",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"gymId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"language": {
"anyOf": [
{
"type": "string",
"maxLength": 16
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"status": {
"enum": [
"updated"
],
"type": "string"
},
"changedFields": {
"type": "array",
"items": {
"enum": [
"name",
"phone",
"email",
"language",
"dateOfBirth",
"address",
"color"
],
"type": "string"
},
"maxItems": 7
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update a member's details",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone asks to correct or update how much of a stock item the gym has. Returns the item with its previous and new quantity; the number given replaces the stored one. Not for adding a new stock item.
| Parameter | Type | Description |
|---|---|---|
| quantity * | number | The quantity now in stock, in the item unit. It replaces the stored quantity; work out the total first when the user gives a change. |
| inventoryItemId * | string | Id of the stock item, from list_inventory_items. |
| expectedLastEditTime * | string | The lastEditTime from list_inventory_items. An item changed since then is refused. |
{
"name": "set_inventory_quantity",
"title": "Update a stock quantity",
"description": "Use this when someone asks to correct or update how much of a stock item the gym has. Returns the item with its previous and new quantity; the number given replaces the stored one. Not for adding a new stock item.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"inventoryItemId",
"quantity",
"expectedLastEditTime"
],
"properties": {
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "The quantity now in stock, in the item unit. It replaces the stored quantity; work out the total first when the user gives a change."
},
"inventoryItemId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the stock item, from list_inventory_items."
},
"expectedLastEditTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "The lastEditTime from list_inventory_items. An item changed since then is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"previousQuantity",
"item"
],
"properties": {
"item": {
"type": "object",
"required": [
"id",
"name",
"unit",
"quantity",
"minimumQuantity",
"lowStock",
"gymId",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"unit": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"gymId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"lowStock": {
"type": "boolean"
},
"quantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"minimumQuantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"status": {
"enum": [
"updated"
],
"type": "string"
},
"previousQuantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update a stock quantity",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone wants a quick overview or dashboard of one gym. Returns an overview card with the gym's details, booking counts for the next 7 days, open online-booking slots across up to 14 days with openings and up to 12 services with prices (no member, trainer or payment data). Not for a single member or booking.
| Parameter | Type | Description |
|---|---|---|
| gymId * | string | Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters) |
{
"name": "show_gym_overview",
"title": "Show gym overview",
"description": "Use this when someone wants a quick overview or dashboard of one gym. Returns an overview card with the gym's details, booking counts for the next 7 days, open online-booking slots across up to 14 days with openings and up to 12 services with prices (no member, trainer or payment data). Not for a single member or booking.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"gymId"
],
"properties": {
"gymId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters)"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"gym",
"scheduleRange",
"appointmentCount",
"appointmentCountIsLowerBound",
"scheduleDays",
"serviceCount",
"serviceCountIsLowerBound",
"services",
"availableDayCount",
"availableSlotCount",
"availabilityDays"
],
"properties": {
"gym": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name",
"currency",
"defaultLocale",
"timezone"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"currency": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z]{3}$"
},
{
"type": "null"
}
]
},
"timezone": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"defaultLocale": {
"anyOf": [
{
"type": "string",
"maxLength": 16
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Gym metadata; null when not found. The overview never reads or returns member records, individual appointments or payments, attendance or service history, trainers, notes or health and fitness details."
},
"services": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"price",
"lastEditTime"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 12
},
"scheduleDays": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"count"
],
"properties": {
"day": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 100
},
"serviceCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"scheduleRange": {
"type": "object",
"required": [
"startTime",
"endTime"
],
"properties": {
"endTime": {
"type": "string",
"maxLength": 32
},
"startTime": {
"type": "string",
"maxLength": 32
}
},
"additionalProperties": false
},
"appointmentCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"availabilityDays": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"count"
],
"properties": {
"day": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 14
},
"availableDayCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"availableSlotCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"serviceCountIsLowerBound": {
"type": "boolean"
},
"appointmentCountIsLowerBound": {
"type": "boolean"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Show gym overview",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}# Safe gym operations with GymFlexa This skill drives the GymFlexa MCP connector. The user must connect GymFlexa and authorize an account with live access to the intended organization. If authorization fails, ask the user to connect GymFlexa. Never request, embed, or repeat an API key, password, OAuth token, payment credential, or webhook secret. ## What the connector changes The read tools change nothing. Six tools write, as the signed-in team member: `book_appointment`, `reschedule_appointment`, `cancel_appointment`, `create_member`, `update_member` and `set_inventory_quantity`. GymFlexa's own rules apply to every write: the signed-in account must still be on the gym's team, and the plan's monthly session limit counts bookings made here. If those six tools are missing, the connection was authorized to read only (every connection made before November 2026 was). Ask the user to disconnect GymFlexa and connect it again, allowing GymFlexa to create and update data. Confirm every write with the user before calling it: which member, which gym, when, and what will change. Booking, moving and cancelling reach the member: a booking schedules the gym's reminder messages, a move moves them, and declining a session the member requested sends the gym's cancellation message when the gym set one up. Cancelling a booked session sends the member nothing. Say so when you ask. The connector cannot delete anything, take, charge, refund, retry, settle, transfer or otherwise move funds, send a message of its own, change reminder or template settings, create a repeating series of sessions, change services, prices, staff or roles, or touch expenses. It cannot provide workout, nutrition, medical, insurance, employment, credit, eligibility, or another individualized or high-impact recommendation. Direct the user to the GymFlexa app for those. ## Resource identifiers and tenant checks Every id is an exact lowercase 24-character hex id returned by a tool. Keep them distinct: - `gymId` selects one gym owned by the signed-in user's organization, from `list_gyms`. A write may leave it out when the account has one gym. - `memberId` names one member, from `list_members` or `create_member`; `appointmentId` one session, from `list_appointments`; `inventoryItemId` one stock item, from `list_inventory_items`. - `providerIds` are the trainer ids `list_trainers` returns; `serviceIds` the service ids `list_services` returns. - `lastEditTime` is a record's version. Moving or cancelling a session, updating a member and setting a stock quantity take it as `expectedLastEditTime` and are refused with `conflict` when the record changed since it was read. - `requestId` is a unique id you choose for each new booking or member, such as a UUID. Calling again with the same `requestId` returns the first result instead of booking or adding twice. Resolve a name with a list tool, then reuse the exact returned id. Never guess an id, treat an opaque id as authority, or reuse one from another organization. Malformed and cross-tenant ids fail closed. The availability API is also used by GymFlexa's public booking page. The connector must finish its tenant-owned gym lookup before calling that route. If ownership cannot be proved, stop; never use public availability as a cross-tenant fallback. ## Available tools | Tool | Use it when someone asks… | | -------------------------- | -------------------------------------------------------------------------------------------- | | `list_gyms` | which gyms they run; also resolves the gym id every other tool needs | | `get_gym` | for a gym's opening hours, timezone, currency or session length | | `get_gym_availability` | when there are free session slots, or which coming days are fully booked (up to 14 days) | | `get_gym_schedule_summ
Names, descriptions and schemas were written by the server and are shown as data.