Skip to main content
Glama

search_classes

Find bookable Wellpass studio or online classes by date, category, teacher, and availability, returning soonest sessions with free spots and details.

Instructions

Search bookable Wellpass classes for a studio (or online), with filters.

Needs WELLPASS_EMAIL and WELLPASS_PASSWORD in .env (classes are gated).

Pick ONE target: - studio_slug: a studio from search_studios (its classes). - club_uuid: the club_uuid field from a search_studios result. - online=True: the online / live-stream class catalogue.

Args: studio_slug: Studio slug whose classes to list. club_uuid: Netpulse club uuid (from search_studios club_uuid). online: Search the online class catalogue instead of a studio. date_from: ISO date/datetime for the window start. Default: now. date_to: ISO date/datetime for the window end. Default: now + 7 days. category: Keep classes whose activity matches (e.g. "yoga", "Body & Mind"). teacher: Keep classes by this instructor (substring, case-insensitive). available_only: Keep only classes with a free spot. limit: Max classes to return (1-100). Default 30.

Returns: A dict with the resolved club, the window, and a class list (soonest first). Each class has name, category, start/end, teacher, free spots, capacity, and online flag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
onlineNo
date_toNo
teacherNo
categoryNo
club_uuidNo
date_fromNo
studio_slugNo
available_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that classes are gated behind WELLPASS_EMAIL/WELLPASS_PASSWORD in .env, supplies default date window behavior, caps limit at 1-100, and describes the return payload. It does not state what happens if no target is supplied, nor any rate-limit or error behavior.

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?

Front-loaded purpose sentence followed by three labelled blocks (target selection, Args, Returns). Every line carries information an agent needs and there is no filler or restatement of the name.

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 nine-parameter tool with no annotations and no output schema, the description supplies auth requirements, targeting constraints, parameter semantics, defaults, and an explicit Returns summary. The one omission is behavior when none of the three targets is provided, given that the schema declares zero required parameters.

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

Parameters5/5

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

Schema coverage is 0% and all nine parameters are undocumented in the schema, so the description must compensate entirely — and it does, giving each an explicit meaning, plus defaults (date_from=now, date_to=now+7d, limit=30) and match semantics (teacher is a case-insensitive substring, category matches activity, available_only requires a free spot). This is the strongest section.

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?

States a specific verb and resource ('Search bookable Wellpass classes for a studio (or online), with filters'), and the parenthetical scope '(or online)' signals the dual targeting mode. It does not explicitly differentiate itself from the sibling search_classes_near, which an agent would likely weigh against it, so it stops short of a 5.

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?

'Pick ONE target' with three enumerated mutually exclusive modes is clear when-to-use guidance, and it routes the agent to search_studios for the studio_slug and club_uuid values. It never states when to prefer this tool over search_classes_near, leaving the main sibling ambiguity unresolved.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.