Skip to main content
Glama

Class schedule

get_schedule
Read-onlyIdempotent

Upcoming classes of a bookable Gymmy gym (next 14 days): time, duration, spots left, and a booking link with the class already picked. Also the gym's address and maps link. Refuses a gym with bookable: false. Each gym includes, when Gymmy has it: full address, city, country, coordinates (geo), mapsUrl (Google Maps), directionsUrl, appleMapsUrl, logoUrl (the salle logo or a sourced photo, null when there is none), listingUrl (public page, null when the gym is not public), phone, public email, website and opening hours, and null for anything Gymmy does not have. gym, classId and memberId are internal ids, used as arguments of other Gymmy tools.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gym": "<gym>"
    },
    "name": "get_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
gymYesGym identifier: the `gym` value from search_gyms (page slug or Gymmy id).
dateNoOnly this day (YYYY-MM-DD).
localeNoAnswer language: fr (default), en, pt, es or de. Pass en when the person writes in English.

Output Schema

NameRequiredDescriptionDefault
gymNoA gym. `gym` is its internal id, used as an argument of other Gymmy tools.
kindYes
classesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / gym / description
      Previous value: -"A gym. `gym` is the internal id for the next tool call. Do not show it to the user."New value: +"A gym. `gym` is its internal id, used as an argument of other Gymmy tools."
  2. Changed1 schema field changed
    • addedOutput schema / properties / gym / properties / styles
      Added value: +{
      +  "description": "Yoga or pilates style ids (bikram, vinyasa, hatha, yin, reformer, lagree, …). The discipline stays in activities.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "classes": {
      +      "type": "array"
      +    },
      +    "gym": {
      +      "description": "A gym. `gym` is the internal id for the next tool call. Do not show it to the user.",
      +      "properties": {
      +        "address": {
      +          "description": "Full postal address (street, postcode, city, country). Null when unknown.",
      +          "type": "string"
      +        },
      +        "appleMapsUrl": {
      +          "description": "Apple Maps URL for the same place.",
      +          "type": "string"
      +        },
      +        "city": {
      +          "type": "string"
      +        },
      +        "country": {
      +          "description": "Country, ISO alpha-2 when the gym stored one (FR, PT…).",
      +          "type": "string"
      +        },
      +        "directionsUrl": {
      +          "description": "Google Maps directions URL to the gym.",
      +          "type": "string"
      +        },
      +        "email": {
      +          "description": "Public contact email of the gym. Not a member email.",
      +          "type": "string"
      +        },
      +        "geo": {
      +          "description": "Coordinates when known.",
      +          "properties": {
      +            "lat": {
      +              "type": "number"
      +            },
      +            "lng": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "gym": {
      +          "type": "string"
      +        },
      +        "listingUrl": {
      +          "description": "Public listing or published gym page. Null when the gym is not public.",
      +          "type": "string"
      +        },
      +        "logoUrl": {
      +          "description": "Salle logo or sourced photo. Null when the gym has none. Never invent one.",
      +          "type": "string"
      +        },
      +        "mapsUrl": {
      +          "description": "Google Maps search URL built from coordinates, or from the address.",
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "openingHours": {
      +          "description": "Opening hours in one line, when known.",
      +          "type": "string"
      +        },
      +        "openingHoursLines": {
      +          "items": {
      +            "properties": {
      +              "label": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "phone": {
      +          "description": "Public phone. Null when the gym has not published one.",
      +          "type": "string"
      +        },
      +        "postalCode": {
      +          "type": "string"
      +        },
      +        "street": {
      +          "type": "string"
      +        },
      +        "website": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "kind": {
      +      "const": "schedule"
      +    }
      +  },
      +  "required": [
      +    "kind"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / locale / description
      Previous value: -"Answer language: fr (default) or en. Pass en when the person writes in English."New value: +"Answer language: fr (default), en, pt, es or de. Pass en when the person writes in English."
    • changedInput schema / properties / locale / enum
      Previous value: -[
      -  "fr",
      -  "en"
      -]New value: +[
      +  "fr",
      +  "en",
      +  "pt",
      +  "es",
      +  "de"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / locale / description
      Previous value: -"Answer language. Default fr."New value: +"Answer language: fr (default) or en. Pass en when the person writes in English."
  6. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds meaningful context beyond that: the 14-day window, refusal of non-bookable gyms, null handling for missing gym fields, and a pre-picked booking link.

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

Conciseness3/5

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

The core purpose is front-loaded, but the description then spends considerable space enumerating returned gym fields that are already covered by the output schema. The phrase 'the salle logo' is also slightly confusing and could be tightened.

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

Completeness4/5

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

For a read-only schedule tool with an output schema, the description covers the key scope, refusal condition, and null behavior for absent gym data. Remaining gaps around authentication or identity handling are minor given the annotations and schema.

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%, so the schema already documents gym, date, and locale. The description adds that gym, classId, and memberId are internal Gymmy ids, but classId and memberId are not inputs here, and it does not add much format or usage detail for date or locale.

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

Purpose4/5

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

The opening clause states a specific resource and action: upcoming classes of a bookable Gymmy gym for the next 14 days, with class details and gym metadata. It is clear what the tool returns, but it does not explicitly distinguish itself from siblings such as my_schedule or search_classes.

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

Usage Guidelines3/5

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

It provides a useful precondition by stating that gyms with bookable: false are refused, and the 14-day horizon implies when the tool is appropriate. However, it gives no explicit when-to-use/when-not guidance versus alternatives like my_schedule or search_classes.

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.