Skip to main content
Glama

GymFlexa Gym Management

Get gym opening hours and settings

get_gym
Read-onlyIdempotent

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gymIdYesId of one of the user's gyms, as the gym list returns it (24 lowercase hex characters)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
gymYesScheduling settings of the gym; null when not found. Address, phone, website, organization, billing, integrations, reminders, members and arbitrary metadata are excluded.
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / gymId / description
      Previous value: -"Owned GymFlexa gym id"New value: +"Id of one of the user's gyms, as the gym list returns it (24 lowercase hex characters)"
    • changedOutput schema / properties / gym / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "appointmentDuration": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "countryCode": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[A-Z]{2}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "currency": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[A-Z]{3}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "defaultLocale": {
      -        "anyOf": [
      -          {
      -            "maxLength": 16,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "firstDayOfTheWeek": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "Monday",
      -              "Tuesday",
      -              "Wednesday",
      -              "Thursday",
      -              "Friday",
      -              "Saturday",
      -              "Sunday"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "id": {
      -        "pattern": "^[0-9a-f]{24}$",
      -        "type": "string"
      -      },
      -      "lastEditTime": {
      -        "anyOf": [
      -          {
      -            "maxLength": 32,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "maxLength": 200,
      -        "type": "string"
      -      },
      -      "openingHours": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "close": {
      -              "anyOf": [
      -                {
      -                  "pattern": "^\\d{2}:\\d{2}$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "day": {
      -              "enum": [
      -                "Monday",
      -                "Tuesday",
      -                "Wednesday",
      -                "Thursday",
      -                "Friday",
      -                "Saturday",
      -                "Sunday"
      -              ],
      -              "type": "string"
      -            },
      -            "open": {
      -              "anyOf": [
      -                {
      -                  "pattern": "^\\d{2}:\\d{2}$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "day",
      -            "open",
      -            "close"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 14,
      -        "type": "array"
      -      },
      -      "timezone": {
      -        "anyOf": [
      -          {
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "currency",
      -      "defaultLocale",
      -      "timezone",
      -      "countryCode",
      -      "firstDayOfTheWeek",
      -      "appointmentDuration",
      -      "openingHours",
      -      "lastEditTime"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "appointmentDuration": {
      +        "description": "Default session length in minutes",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "countryCode": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[A-Z]{2}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "currency": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[A-Z]{3}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "defaultLocale": {
      +        "anyOf": [
      +          {
      +            "maxLength": 16,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "firstDayOfTheWeek": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "Monday",
      +              "Tuesday",
      +              "Wednesday",
      +              "Thursday",
      +              "Friday",
      +              "Saturday",
      +              "Sunday"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "id": {
      +        "pattern": "^[0-9a-f]{24}$",
      +        "type": "string"
      +      },
      +      "lastEditTime": {
      +        "anyOf": [
      +          {
      +            "maxLength": 32,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "maxLength": 200,
      +        "type": "string"
      +      },
      +      "openingHours": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "close": {
      +              "anyOf": [
      +                {
      +                  "pattern": "^\\d{2}:\\d{2}$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "day": {
      +              "enum": [
      +                "Monday",
      +                "Tuesday",
      +                "Wednesday",
      +                "Thursday",
      +                "Friday",
      +                "Saturday",
      +                "Sunday"
      +              ],
      +              "type": "string"
      +            },
      +            "open": {
      +              "anyOf": [
      +                {
      +                  "pattern": "^\\d{2}:\\d{2}$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "day",
      +            "open",
      +            "close"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 14,
      +        "type": "array"
      +      },
      +      "timezone": {
      +        "anyOf": [
      +          {
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "currency",
      +      "defaultLocale",
      +      "timezone",
      +      "countryCode",
      +      "firstDayOfTheWeek",
      +      "appointmentDuration",
      +      "openingHours",
      +      "lastEditTime"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / gym / description
      Added value: +"Scheduling settings of the gym; null when not found. Address, phone, website, organization, billing, integrations, reminders, members and arbitrary metadata are excluded."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, non-open-world, so the safety profile is covered. The description adds genuinely new behavioral detail: return cardinality and ordering (up to 14 rows, Monday first) and error semantics (id outside the organization returns not-found).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each earning its place: trigger and scope first, then return shape, then error behavior. No redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the description still adds ordering, row cap, and not-found behavior. For a single-parameter read tool, nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single gymId parameter is fully documented with format and source ('as the gym list returns it'). The description adds nothing about the parameter, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb+resource (get one gym's setting) and enumerates exactly what it returns: opening hours, timezone, currency, default session length. This is concrete enough to distinguish it from summary-style siblings like get_gym_schedule_summary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States a clear trigger ('when someone asks for one gym's opening hours...') and one explicit exclusion ('Not for free session slots'), which routes the agent toward get_gym_availability. It stops short of naming that sibling explicitly, so it is contextually clear but not fully exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources