Skip to main content
Glama

get_workout_leaderboard

Retrieve the leaderboard for a specific program workout, including test details, results, stats, and the user's result.

Instructions

Get the leaderboard for a specific program workout.

Returns {workoutId, workoutTitle, date, tests, results, testStats, userResult}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
program_workout_idYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It implicitly indicates a read operation through 'Get', and it does reveal the return structure ({workoutId, workoutTitle, date, tests, results, testStats, userResult}), which is useful. However, it does not explicitly state read-only safety, authentication needs, error behavior, or potential side effects.

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?

The description is extremely concise: two sentences, with the first stating the purpose and the second listing the return fields. Every word earns its place, and the most important information is front-loaded. There is no redundancy or filler.

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

Completeness3/5

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

Given the tool's low complexity (single parameter, no output schema) the description covers the basic purpose and return format. However, it omits any behavioral context such as whether filtering or ordering is available, whether the original workout ID is required, or any error conditions. It is minimally complete but leaves gaps that could be filled with a bit more context.

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

Parameters2/5

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

The schema has one parameter (program_workout_id) with zero description coverage, and the tool description adds little beyond 'a specific program workout'. The parameter name is self-explanatory, but the description does not explain how to obtain the ID, any constraints (e.g., integer range), or the meaning of the ID in context, so it fails to compensate for the low schema coverage.

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: 'Get the leaderboard for a specific program workout.' It clearly identifies the tool's function and distinguishes it from sibling tools like get_user_profile or get_team_info, though it does not explicitly discuss alternatives or differentiators within the description itself.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, no prerequisites, and no context about how the leaderboard might be accessed in a workflow. There is no mention of exclusions or when-not conditions, leaving the agent without direction on appropriate usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cmagorian/trainheroicMcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server