Skip to main content
Glama
aimharder-mcp
by fvena

get_class_participants

Read-onlyIdempotent

Lists participants booked into a specific AimHarder class session by date, class name, and start time, including occupancy, capacity, coach, and participant details; optionally filter to friends.

Instructions

List who is booked into one exact class session (gym-local date, exact class name and HH:mm start time), as the AimHarder app shows it. Returns the session occupancy, capacity and coach, and each participant's user ID, name, public photoUrl and, for the account holder's friends, friendName (the name they know them by; prefer it). Optional filter: all, or friends (only the account holder's friends; the default comes from configuration). The result reports the filter and totalParticipants. Names are other members' personal data: use them only to answer the account holder. The list can change until the class starts.

Input Schema

NameRequiredDescriptionDefault
dateYes
filterNoall: every participant; friends: only the account holder's friends. Defaults to AIMHARDER_PARTICIPANTS_FILTER, else all.
classNameYes
startTimeYes

Output Schema

NameRequiredDescriptionDefault
gymYes
filterNo
statusYes
targetYes
noticesYes
sessionYes
participantsYes
totalParticipantsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only and idempotent safety, but the description adds behavior the annotations cannot: the result is volatile ('can change until the class starts') and participant names are other members' personal data to be used only for answering the account holder. Those two constraints materially shape how an agent should use and cache the output.

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?

Front-loads the verb and the identity key, then moves to filter and caveats. The mid-sentence enumeration of return fields (user ID, name, photoUrl, friendName) is largely redundant with the output schema and slightly bloats an otherwise tight description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation was optional, yet the description still flags the friendName preference rule and the totalParticipants echo of the applied filter. Combined with the freshness window and privacy caveat, an agent has everything needed to call this correctly and interpret the result.

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 coverage is only 25% (just the filter enum is documented), yet the description compensates by specifying that date is gym-local, that className must be exact, and that startTime is HH:mm. It does not restate the schema's max/min lengths or the date pattern, which is fine, but the 'exact name' matching rule could be stated more crisply.

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 ('List who is booked into one exact class session') and pins the identity key to date + exact class name + HH:mm start time. That keying distinguishes it cleanly from the sibling get_class_sessions, which lists sessions rather than occupants.

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?

The requirement for an 'exact' class name and start time implicitly tells the agent it must first resolve a session, and the filter's default-from-configuration rule is spelled out. It stops short of naming get_class_sessions as the prerequisite step or stating when to prefer 'friends' vs 'all' beyond the default.

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