Skip to main content
Glama

Payment status

checkout_status
Read-onlyIdempotent

Status of a purchase started with book_dropin or join_gym (ref): pending (checkout open), processing (bank debit), paid, free or failed, and whether the gym now shows in the person's Gymmy account. The widget polls it after the Stripe page opens. The booking is confirmed by the gym's Stripe webhook either way.

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": {
      "ref": "<ref>"
    },
    "name": "checkout_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe ref returned by book_dropin or join_gym.
localeNoAnswer language: fr (default), en, pt, es or de. Pass en when the person writes in English.

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

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description still adds genuinely useful behavior: the full status vocabulary, the fact that it also reports whether the gym appears in the person's Gymmy account, and that confirmation comes from the Stripe webhook regardless of this call. It does not discuss staleness/latency of the status or error behavior for unknown refs, so a 3 rather than higher.

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 sentences, front-loaded with the status enumeration, and every sentence carries information (states, account visibility, polling, webhook authority). The status list is dense but not padded.

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?

With no output schema, the description must convey return content, and it does by listing status values plus the 'gym shows in account' signal. Minor gaps remain around display names and behavior for an unknown or expired ref.

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% and the description adds no syntax or semantics beyond what the schema already states about ref (returned by book_dropin/join_gym) and locale. Baseline 3 applies since the schema does the heavy lifting.

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?

Description names the specific resource (status of a purchase created by book_dropin or join_gym) and enumerates the possible states, which lets an agent distinguish it immediately from the booking siblings that create the purchase.

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?

It gives clear usage context: call it after a purchase started via book_dropin/join_gym, passing the returned ref, and notes the widget polls it once the Stripe page opens. There are no explicit exclusions or 'do not use when' statements, so it falls short of a 5.

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.