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. Without confirm: returns a summary and charges nothing. With confirm: true, first_name and last_name: returns the payment link. checkout_status reports the payment. A single class, or a trial tied to a class, is 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.3/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, open-world, non-idempotent write. The description adds the crucial behavioral facts those hints don't: nothing is charged until confirm, payment happens on the gym's own Stripe Checkout page, and the call returns a link rather than completing payment. It stops short of saying what happens if the person abandons the Stripe page or whether a duplicate join is possible.

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?

Three dense sentences, front-loaded with the core action and the no-charge guarantee before the mechanics. The middle sentence ('With confirm: true, first_name and last_name: returns the payment link') is telegraphically clipped and reads awkwardly, but nothing is wasted.

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 open-world payment tool with no output schema, the description covers the return shape (summary vs payment link) and how payment status is checked. It omits failure/abandonment behavior and whether the membership is finalized only after payment, leaving a small gap for a purchase flow.

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 documents every parameter including the confirm gating and the first_name/last_name requirement. The description restates the confirm sequencing and the offer_id provenance but adds little syntax or format detail beyond what the schema provides, 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 explicitly distinguishes itself from book_dropin for single classes and class-tied trials. An agent can route between the two without opening either 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?

The two-phase flow is spelled out: without confirm it returns a summary and charges nothing; with confirm plus names it returns the payment link. It also names the adjacent tools for each step — get_prices for offer ids, checkout_status for payment status, book_dropin for single classes — which is explicit when-to-use and when-not-to-use guidance.

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.