Skip to main content
Glama

Get peaks

tp_get_peaks
Read-onlyIdempotent

Retrieve an athlete's top cycling or running performances and personal records by sport, PR type, and time period. Ideal for tracking fitness peaks over days, with a default 90-day range.

Instructions

Get an athlete's top performances for one sport and PR type over a period (days, default 90). Bike pr_type: power1min/5min/20min; Run: speed5K/10K/Half. For PRs from a single workout use tp_get_workout_prs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
sportYes
athleteNoTarget athlete name or ID (coach accounts only). Omit to use your own profile.
pr_typeYesBike: power1min/5min/20min. Run: speed5K/10K/Half
Behavior3/5

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

Annotations already establish read-only and idempotent behavior. The description adds context about period-based aggregation and PR type mappings, but it incorrectly claims the default days is 90 while the schema states 3650, and it does not describe the return format or pagination.

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?

Two tightly written sentences front-load the core action, then provide compact PR-type details and a cross-reference. No filler or redundancy.

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?

The description covers the main purpose, period, PR types, and a key alternative, but lacks information about the returned data structure and contains a default-value mismatch. Given no output schema, a bit more detail about the expected result would improve completeness.

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

Parameters3/5

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

The description enriches the days parameter as a period and maps PR types to sports, which is useful given only 50% schema coverage. However, the wrong default for days and the lack of elaboration on the athlete parameter weaken its semantic contribution.

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?

The description clearly states the tool retrieves an athlete's top performances filtered by sport and PR type over a time period. It also explicitly differentiates from tp_get_workout_prs, making its unique purpose unambiguous.

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?

It gives direct usage guidance by specifying the period-based context and explicitly names tp_get_workout_prs as the alternative for single-workout PRs. This is a clear when-to-use vs. when-not-to-use statement.

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/JamsusMaximus/TrainingPeaks-MCP'

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