Skip to main content
Glama

GymFlexa Gym Management

List trainers who take sessions

list_trainers
Read-onlyIdempotent

Use this when someone asks which trainers can be booked, or needs a trainer's id to book a member with them or to find their sessions. Returns up to 100 trainer ids and display names from the user's organization; a gym run by one person lists that person. Not for trainers' working hours.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYes
hasMoreYes
trainersYesIds and display names of the team members with the trainer role, or of the gym's only team member when nobody has it. Roles are organization-wide, not per gym. Contact details, avatars, role records, schedules and organization data are excluded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), and the description adds real behavioral context beyond them: result cap of 100, organization scoping, and the single-person-gym edge case. It stops short of saying what happens when the cap is exceeded or how paging works, which keeps it below a 5.

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?

Three short sentences, front-loaded with the usage trigger before the return shape, then the exclusion last. Every sentence carries distinct information with no repetition of the title or annotations.

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?

An output schema exists, so the description need not explain return values, and it still usefully flags the 100-item cap and org scope. The only material gap is behavior at the cap boundary, which an agent might need to know for large organizations.

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?

The tool takes zero parameters, so there is nothing for the description to clarify; the baseline for a no-param tool applies. No misleading parameter language is introduced.

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 trainers who take sessions) and immediately distinguishes itself from neighboring concerns by naming what it is not: trainers' working hours. An agent can tell this apart from get_gym_availability or list_members without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit trigger conditions ('when someone asks which trainers can be booked') and the downstream purpose (obtaining a trainer id to book a member or to find their sessions), plus an explicit exclusion. Nothing is left to inference about when to call it.

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