Skip to main content
Glama

LiLo

Upcoming classes with availability state and booking links

list_classes
Read-onlyIdempotent

Dated classes from today in the gym's time zone, up to 14 days, each with an availability state (never a raw count) and, where LiLo can prove it, a book link that lands on that class. Schedules without observed dates come back as weekly rows (date null, recurring true) — say "repeats on Monday", never a date. A stale or unverified schedule returns no classes on purpose. Same answer as GET /api/v1/gyms/{slug}/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": {
      "slug": "<slug>"
    },
    "name": "list_classes"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (which only declare it is a safe, idempotent, open-world read), the description discloses substantial behavior: availability is given as a state, never a raw count; book links appear only when provably resolvable to that class; undated schedules return weekly recurring rows with date null; and stale/unverified schedules deliberately return zero classes. These details directly shape how an agent should interpret results.

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?

The return contract is front-loaded and every clause carries information — availability state, link provability, recurring-row representation. The sentence with parentheticals ('(date null, recurring true)') and the endpoint equivalence adds density that is justified but slightly harder to scan.

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 does the work of explaining result shape (per-class availability state and optional book link, weekly recurring rows when dates are unobserved, empty result for stale schedules) and even supplies output phrasing guidance. It stops short of naming the other per-class fields an agent would receive, which keeps it from being fully complete.

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 0%, so the description carries the burden, and it does communicate the date window ('from today ... up to 14 days', with the schema supplying the default of 7) and implies slug identifies the gym and its time zone via the endpoint path. It does not spell out edge behavior such as days=1 semantics, so it is strong but not exhaustive.

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 concrete verb and resource ('dated classes from today... up to 14 days') together with the key scope constraint (gym's time zone, 14-day cap, equivalence to the REST endpoint /api/v1/gyms/{slug}/classes). It is clear what it returns, though it never names a sibling like find_classes, so an agent must infer differentiation from that tool's own definition.

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?

Usage is implied by the return semantics: this is the tool for listing upcoming dated classes with availability, and the note that stale schedules return nothing on purpose tells the agent not to interpret an empty result as an error. However, there is no explicit when-to-use versus find_classes or search_gyms guidance and no stated prerequisites.

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