Skip to main content
Glama

Start a trial class

start_trial
Read-onlyIdempotent

Gives the link to book a trial class at a bookable Gymmy gym, with the trial offer and optionally the class already picked. The person opens it and confirms with their name and email; nothing is booked or charged by this tool. 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": "start_trial"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
gymNoA gym. `gym` is its internal id, used as an argument of other Gymmy tools.
urlYes
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": "trial"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "kind",
      +    "url"
      +  ],
      +  "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.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description reinforces that with 'nothing is booked or charged', which is the key behavioral fact an agent needs. The refusal rule for bookable:false is real added context, though the handoff mechanics (link expiry, whether the link is per-person) are unstated.

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 lead sentence is well front-loaded and the no-booking caveat lands early. But more than half the text is a long enumeration of returned gym fields (address, coordinates, mapsUrl, logoUrl, listingUrl, phone, email, hours), which is redundant given the tool has an 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?

The essentials for calling it are present, and the output schema means the return payload does not need describing — which makes the long field list wasted effort in the wrong place. Meanwhile the genuinely useful gaps (what happens to the returned link, how it differs operationally from book_class/book_dropin) are left implicit.

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 baseline is 3 and the schema already documents gym, date, locale and class_id thoroughly. The only added note — that gym/classId/memberId are internal ids used by other Gymmy tools — is oddly worded: it uses camelCase 'classId' against the schema's 'class_id' and mentions a 'memberId' that is not a parameter of this tool.

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?

States a concrete verb and artifact: it returns a booking link for a trial class at a bookable gym, optionally with the class preselected. It also draws the boundary against the real booking siblings by saying 'nothing is booked or charged by this tool,' so an agent can tell it apart from book_class and book_dropin.

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?

Gives a clear usage story — the person opens the link and confirms with name and email — plus a hard precondition ('Refuses a gym with bookable: false'). It stops short of explicitly saying 'use book_class when the person wants the booking completed', leaving that routing to inference.

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.