Skip to main content
Glama

Join a gym

join_gym

Signs the signed-in person up to a Gymmy gym's membership or class pack (from get_prices), paid on the gym's own Stripe Checkout page. First call without confirm returns the summary to confirm; then confirm: true with first_name and last_name returns the payment link. Follow up with checkout_status. For a single class or a trial with a class, use book_dropin.

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>",
      "offer_id": "<offer_id>"
    },
    "name": "join_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.
confirmNotrue only after the person said yes to the summary returned by the first call.
site_idNoSite id when the gym has several.
offer_idYesOffer id (from get_prices).
last_nameNoThe person's last name (needed with confirm).
first_nameNoThe person's first name (asked once, needed with confirm).

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +]
  2. 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."
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag this as a non-readonly, open-world, non-idempotent mutation, and the description adds genuinely new behavior: a two-call confirmation gate and that payment happens on the gym's own external Stripe Checkout page. It does not cover failure modes such as an expired or abandoned payment link, or whether membership activates immediately, which keeps it from a 5.

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

Conciseness5/5

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

Three sentences, front-loaded with the action and payment mechanism, then the call sequence, then the alternative tool. No filler and nothing buried.

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 7-parameter mutation tool with no output schema, the definition covers the full interaction arc: summary, confirmation, payment link, and follow-up status check. Minor gaps remain around what the first call's summary contains and what to do if the person abandons checkout.

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?

With 100% schema description coverage, the schema already explains every parameter, including that confirm is only true after the summary and that first_name/last_name are needed with confirm. The description restates that sequencing and adds provenance for offer_id and gym, but supplies little semantics the schema lacks, so the baseline 3 applies.

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 specific verb and resource ('Signs the signed-in person up to a Gymmy gym's membership or class pack'), names the source of the offer (get_prices), and names the sibling it is not ('For a single class or a trial with a class, use book_dropin'). An agent can distinguish it from book_dropin and start_trial without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit sequence (first call without confirm returns a summary, then confirm:true with first_name/last_name returns the payment link) and an explicit exclusion routing single classes and trials to book_dropin. It also names checkout_status as the follow-up step, so the agent knows the whole path.

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.