Skip to main content
Glama

estimate_thresholds

Read-only

Estimate the athlete's cycling FTP, LTHR and max HR from their ACTUAL synced rides over a window (default 90 days), by building the mean-maximal power curve from stored ride streams and fitting a Critical Power model on it. Returns recommended values, a CP range with the efforts behind it, W', a power-law fade estimate, and confidence with reasons — plus hrZones: whether the profile's HEART-RATE zones match the heart rate this athlete actually rides at the tops of their power zones, with bounds to propose when they do not. The check to run when heart rate sits under or over its zone on rides that felt right, or when they ask whether their heart-rate zones are correct. CYCLING ONLY — running threshold pace is NOT supported here, so for a runner use a recent race result or a 30-min field test instead. Asked to recompute an anchor from recent riding, call this and answer from what it returns: that request is what the tool is for, not a reason to send them to a test. The result carries a howToRead block — the estimates are FLOORS and confidence gates whether you may propose an update, so read it before you quote a single number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNolookback window, default 90
sportNodefault cycling; running returns guidance, not numbers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/safe, so the bar is for added context, and this delivers: it discloses the return shape (recommended, CP range, W', fade estimate, confidence with reasons, hrZones with bounds), and critically warns that estimates are FLOORS and that confidence gates whether an update may be proposed, plus that a howToRead block must be read first.

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?

Long but front-loaded: the purpose and method come first, then usage, then scope, then a return-contract warning. Since there is no output schema, much of the length is load-bearing, though some density (CP range, W', fade, hrZones, howToRead all in one paragraph) could be trimmed.

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?

With no output schema, the description fully carries the return-value burden by enumerating the fields and the howToRead/confidence contract, and it closes the scope gap for running. An agent has everything needed to call it and to interpret and report the result.

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?

Schema coverage is 100%, so the schema already documents both parameters including the 'running returns guidance, not numbers' enum behavior and the default window. The description reinforces the 90-day default and cycling scope but adds no syntax or semantics beyond the schema, so the baseline 3 applies.

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+resource with method detail: estimates FTP/LTHR/max HR from ACTUAL synced rides via a mean-maximal power curve and Critical Power fit. It distinguishes itself from siblings by naming the scope (CYCLING ONLY) and explicitly ruling out running threshold pace, which separates it from estimate_cda and running-oriented tools.

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 triggering conditions ('when heart rate sits under or over its zone on rides that felt right', 'when they ask whether their heart-rate zones are correct') and an anti-pattern correction ('that request is what the tool is for, not a reason to send them to a test'). It also names the correct alternative for out-of-scope cases (a recent race result or 30-min field test for runners).

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