Skip to main content
Glama

Find a free class to book

search_classes
Read-onlyIdempotent

Bookable aggregator: search by sport (crossfit, hyrox, yoga, pilates, boxing / boxe, martial_arts / arts martiaux, dance / danse, climbing / escalade, padel), city and optional date and time. Gyms on Gymmy that accept visitors return their real free classes (spotsLeft and capacity from the planning) and a bookingUrl that opens the gym's page on that class. Gyms not on Gymmy come back under listings, with slots empty and no booking link. A Gymmy class can be booked with its bookingUrl or with book_dropin. A hidden test gym is never returned. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_classes"
  }
}

Input Schema

NameRequiredDescriptionDefault
gymNoOnly this gym (Gymmy id from search_gyms).
latNoLatitude to search around.
lngNoLongitude to search around.
dateNoOnly this day (YYYY-MM-DD).
timeNoOnly classes starting within 45 minutes of this time (HH:MM), on the gym clock.
classNoKind of class or coach to match, e.g. 'WOD', 'HYROX', 'Yoga'.
limitNoMax results. Default 15.
queryNoCity, district, postcode or address ('Lyon', 'yoga Lyon', 'padel à Bordeaux'). A sport in the text is the sport filter. Geocoded when no lat/lng is given.
sportNoDiscipline: crossfit, hyrox, yoga, pilates, boxing (boxe), martial_arts (arts martiaux), dance (danse), climbing (escalade), padel. French names are accepted too.
localeNoAnswer language: fr (default), en, pt, es or de. Pass en when the person writes in English.
radius_kmNoRadius in km, 1 to 50. Default 15, or fitted to the place.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Place to search around: address, district, city or postcode ('Lyon 7', 'Bastille'). Geocoded when no lat/lng is given."New value: +"City, district, postcode or address ('Lyon', 'yoga Lyon', 'padel à Bordeaux'). A sport in the text is the sport filter. Geocoded when no lat/lng is given."
    • addedInput schema / properties / sport
      Added value: +{
      +  "description": "Discipline: crossfit, hyrox, yoga, pilates, boxing (boxe), martial_arts (arts martiaux), dance (danse), climbing (escalade), padel. French names are accepted too.",
      +  "enum": [
      +    "crossfit",
      +    "hyrox",
      +    "yoga",
      +    "pilates",
      +    "boxing",
      +    "martial_arts",
      +    "dance",
      +    "climbing",
      +    "padel"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / time
      Added value: +{
      +  "description": "Only classes starting within 45 minutes of this time (HH:MM), on the gym clock.",
      +  "type": "string"
      +}
  2. 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"
      +]
  3. 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."
  4. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: hidden test gyms are never returned, non-Gymmy gyms appear under listings with empty slots and no booking link, and missing fields are null. It also describes the returned bookingUrl semantics and notes internal ids used by other Gymmy tools, which is valuable context not covered by the readOnlyHint or idempotentHint annotations.

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

Conciseness4/5

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

The description is front-loaded with its purpose and then explains return behavior and edge cases. It is dense but largely free of fluff; the long list of returned gym fields is useful because there is no output schema. Structural bullets would improve scanability, but every sentence contributes relevant information.

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?

With no output schema, the description carries the burden of explaining return values, and it does so thoroughly: Gymmy listings versus external listings, spotsLeft and capacity, bookingUrl behavior, null handling, and the set of gym metadata fields. For a complex aggregator with 11 parameters, this is complete enough for an agent to call and interpret the tool correctly.

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 input schema already documents all 11 parameters including enum values, date formats, time windows, and radius bounds. The description reinforces the sport aliases and filtering behavior but adds little syntax or meaning beyond what the schema already provides. A baseline 3 is appropriate when the schema carries the parameter semantics.

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?

The description opens with a specific role: a bookable aggregator that searches classes by sport, city, optional date and time. It clearly distinguishes Gymmy-hosted gyms (real free classes with bookingUrl) from non-Gymmy gyms returned under listings, and names book_dropin as an alternative booking route. An agent can identify the tool's scope without opening the schema.

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?

It gives clear context for when this tool is appropriate: finding free classes to book, with bookingUrl or book_dropin. It explains the split between bookable Gymmy results and non-bookable listings. However, it does not explicitly state when to prefer this over search_gyms or get_schedule, so the routing guidance is strong but not complete.

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.