Skip to main content
Glama

Gym details

get_gym
Read-onlyIdempotent

Details of a gym. bookable: true: description, address, hours, sites, maps link and bookingUrl (the public booking page). bookable: false: the directory listing (url) and no booking link, whether the gym is claimed or not. 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_gym"
  }
}

Input Schema

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

Output Schema

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

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": {
      +    "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": "gym"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "gym"
      +  ],
      +  "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?

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses genuinely useful behavior: results differ by bookable status (public booking page vs. directory listing plus claimed flag), and any field Gymmy lacks is returned as null rather than omitted. It does not cover permissions or rate limits, but for a read-only lookup this is solid added context.

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 purpose is front-loaded, but the bulk is one long run-on sentence enumerating return fields that the output schema already declares, making it heavier than necessary. The bookable branching is the most valuable part and is buried mid-sentence.

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 two-parameter read tool with a full output schema, the description covers the non-obvious parts: null semantics for missing data and the difference between bookable and non-bookable gyms. The main gap is that it never explains how to obtain a valid gym id, leaving that entirely to the 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 coverage is 100%, so both parameters are already documented, and the baseline is 3. The description adds only that gym/classId/memberId are internal ids reusable as arguments to other Gymmy tools; it says nothing about locale, which the schema handles alone.

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 sentence names a specific resource and operation (fetch details for a single gym), and the field inventory makes the scope concrete. It falls short of a 5 because the description itself never names search_gyms as the source of the identifier — that routing only appears in 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 Guidelines3/5

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

Usage is implied rather than stated: the tool is an id-based lookup, so an agent infers it comes after a search. There is no explicit 'use this when…' statement, no when-not guidance, and no mention of alternatives such as search_gyms.

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.