Skip to main content
Glama

Prices and offers

get_prices
Read-onlyIdempotent

Memberships, class packs and trial offers of a bookable Gymmy gym, with prices in EUR and a direct sign-up link per offer. Also the gym's address and maps link. A gym with bookable: false returns its directory listing and no sign-up link. 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_prices"
  }
}

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
gymNoA gym. `gym` is its internal id, used as an argument of other Gymmy tools.
kindYes
offersNo

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": "prices"
      +    },
      +    "offers": {
      +      "type": "array"
      +    }
      +  },
      +  "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

B3.2/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, and the description adds genuinely useful context: prices are in EUR, one sign-up link per offer, and a distinct degraded mode when bookable is false. It also documents the systematic null policy for missing fields and for non-public gyms, which is real beyond-schema value. It stops short of describing pagination, whether the sign-up link expires or requires auth, or any per-gym limits.

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 purpose is front-loaded in the first sentence, and the conditional bookable:false case comes before the field inventory, which is sensible ordering. The long enumerated list of address, geo, mapsUrl, directionsUrl, appleMapsUrl, logoUrl, listingUrl, phone, email, website and hours is a run-on that largely duplicates the output schema.

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

Completeness3/5

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

With an output schema present, the exhaustive field enumeration is redundant, and the description could instead spend that space on how it relates to get_gym and book_class. Coverage of the non-bookable edge case and the null policy is good. What is missing is the decision guidance an agent needs when a user asks 'how much does this gym cost' but the answer depends on which sibling to call.

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 the schema already defines both gym and locale, including the enum for locale and the 'value from search_gyms' hint. The description's only parameter-adjacent sentence mixes in classId and memberId, which are not parameters of this tool and add confusion rather than meaning; it never addresses the locale parameter at all. Baseline 3 applies since the schema carries the load.

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 the resource (memberships, class packs, trial offers) and the key value it returns (EUR prices plus a sign-up link per offer), which is specific enough for an agent to understand the tool. It never names or contrasts with get_gym, even though it returns overlapping gym metadata (address, coordinates, maps links), so the boundary with that sibling is left implicit.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use statement; the description never says to call this instead of get_gym when the user asks about pricing. The only conditional content is behavioral ('A gym with bookable: false returns its directory listing and no sign-up link'), which explains output shape rather than routing.

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.