Skip to main content
Glama

LiLo

Classes near a point on a day, in a time window — one call

find_classes
Read-onlyIdempotent

The whole traveller question in one call: classes across nearby gyms on a date (today, tomorrow or YYYY-MM-DD — each gym's LOCAL date) whose start falls in [from, to) gym-local, dated rows first (and, with discipline, classes named for it before others — discipline_match), each with its gym, availability state and booking link (lands_on website = no booking page held, the gym's website). Rows with recurring:true repeat on that weekday and carry no observed date. Also lists nearby gyms with no usable schedule (to phone). Same answer as GET /api/v1/classes.

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": {
      "lat": "<lat>",
      "lng": "<lng>"
    },
    "name": "find_classes"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoText the class name or type must contain, e.g. hyrox.
toNoHH:MM, 24h, gym-local; exclusive24:00
latYes
lngYes
dateNotoday
fromNoHH:MM, 24h, gym-local00:00
limitNo
radius_kmNo
disciplineNoGyms running both match either.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations declare a read-only, idempotent, open-world query; the description adds substantial behavior: gym-local date semantics, half-open time window, dated-row ordering, recurring rows without observed dates, and the fallback list of gyms with no usable schedule. That is meaningful context beyond the annotations.

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?

Content is front-loaded and free of filler, but the entire definition is one dense sentence with nested parentheticals, making it harder to parse than necessary. Breaking it into shorter sentences or bullets would improve scanability without losing information.

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 carries the burden of explaining return values, and it does so: gym, availability state, booking link, lands_on website meaning, recurring rows, and unscheduled nearby gyms. It does not detail limit/pagination or radius behavior, but the core query and response shape are covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 44%, so the description must add meaning; it clarifies date tokens and local-date interpretation, [from,to) exclusivity, discipline ordering, and recurring-row semantics. It leaves limit, radius_km, and lat/lng to obvious schema names, which is acceptable.

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 description states a specific verb and resource—finding classes near a point on a date and time window—and enumerates the returned fields. It does not name or differentiate from siblings such as list_classes or search_gyms, so an agent must infer that this is the richer geo/date query.

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

Usage Guidelines3/5

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

It frames the tool as 'the whole traveller question in one call,' which implies a primary use case, but gives no explicit when-not-to-use conditions or alternatives. It does not say when to prefer list_classes or search_gyms, leaving selection 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.

Resources