Skip to main content
Glama

tp_get_zone_methods

List available zone-calculation methods for power, heartrate, or speed metrics, showing zone counts and labels. Identifies methods that derive threshold from a test.

Instructions

List available zone-calculation methods per metric (power / heartrate / speed), each with its zone count and zone labels. TP has no method-names endpoint and settings store only an opaque method int; this probes the zone calculator (read-only) to fingerprint each method by its zone labels. derives_threshold marks methods that derive the threshold from a (field-)test, so a direct threshold can't be set. Coach-scoped (uses your own user), not athlete-specific.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metricNoLimit to one metric. Omit to list all three.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool is read-only ('probes the zone calculator (read-only)') and explains the 'derives_threshold' flag behavior. However, it could briefly mention whether any data is mutated, which is implied as none.

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?

The description is three sentences that efficiently convey purpose, technical context, and scope. It is front-loaded with the main action. While informative, it could be slightly more concise, but the added detail is relevant.

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?

Given the absence of an output schema, the description fully specifies what the tool returns: zone count, zone labels, and the 'derives_threshold' flag. It also covers scope and the technical reason for the tool. No gaps remain for an agent to invoke it correctly.

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 input schema has 100% coverage for the single parameter 'metric', including a description. The description adds value by explicitly stating 'Omit to list all three,' which goes beyond the schema's 'Limit to one metric.' This extra guidance justifies a score above the baseline of 3.

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 explicitly states 'List available zone-calculation methods per metric (power / heartrate / speed), each with its zone count and zone labels.' This is a specific verb+resource+output combination that clearly distinguishes the tool from its siblings, which are mostly CRUD operations for other entities.

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?

The description explains why this tool exists ('TP has no method-names endpoint and settings store only an opaque method int') and what it does ('fingerprint each method'). It also clarifies scope ('Coach-scoped (uses your own user), not athlete-specific'), guiding the agent on when to use and when not to use it.

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