Skip to main content
Glama
Intervals.icu MCP Server
by arjohns

Icu Get Pace Curves

icu_get_pace_curves
Read-onlyIdempotent

Fetch pace-vs-distance curves over a chosen period to compare peak efforts at standard distances, track fitness trends, and predict race times. Enable Grade-Adjusted Pace for hill-normalized running.

Instructions

Fetch the pace-vs-distance curve — best (fastest) time and pace over distances from ~50 m up to the athlete's longest effort, aggregated over the chosen window.

Peak efforts are reported at standard distances (400 m, 1 km, mile, 5 km, 10 km, half marathon, marathon) when the curve reaches them. The summary's best pace is almost always set over the shortest distances (tens of metres), so compare peak_efforts rather than that headline figure. Use for run/swim fitness trends and race-time predictions. Pass use_gap=True to normalize for hills via Grade-Adjusted Pace. For time-in-zone distribution within a single activity, use get_pace_histogram (or get_gap_histogram) instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "icu_get_pace_curves"
  }
}

Input Schema

NameRequiredDescriptionDefault
use_gapNoUse Grade Adjusted Pace (GAP) for running
days_backNoNumber of days to analyze (optional)
athlete_idNoAthlete ID (for coaches managing multiple athletes)
sport_typeNoSport type (e.g., Run, Swim)Run
time_periodNoTime period shorthand: 'week', 'month', 'year', 'all' (optional)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent and open-world, so the description's added value is interpretive: it warns that the summary's headline best pace is almost always set over tens of metres and that the agent should compare peak_efforts instead. That is a real trap-avoidance disclosure not derivable from the structured fields, and it also notes the curve is bounded by the athlete's longest effort and reaches standard distances only 'when the curve reaches them'.

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 purpose is front-loaded in the first sentence, followed by output interpretation, use cases, a keyword tip, and finally sibling routing — a sensible order with no filler. It runs slightly long and the parenthetical '(or get_gap_histogram)' plus the standard-distance list could be tightened, keeping it short of flawless.

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?

For a read-only analytics tool with a full input schema, complete annotation coverage and an existing output schema, the description covers everything else an agent needs: what the curve measures, its distance span, how to read the outputs, when to enable GAP, and which sibling to prefer. Return-value formatting is correctly left to the output schema.

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 each of the five parameters is already documented, and the description only restates use_gap as hill normalization rather than adding syntax or defaults. It says nothing about how days_back and time_period interact when both are supplied, nor how athlete_id changes scoping — the main ambiguity left in the schema.

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 opening sentence names a specific verb and resource — a pace-vs-distance curve of best time/pace from ~50 m to the athlete's longest effort, aggregated over a window — which no sibling offers (get_pace_histogram is distribution, not peak curve). It also explicitly names the sibling it is not, so an agent can route without opening either 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?

It supplies both positive use cases ('run/swim fitness trends and race-time predictions', 'use_gap=True to normalize for hills') and an explicit exclusion with the alternative named ('For time-in-zone distribution within a single activity, use get_pace_histogram (or get_gap_histogram) instead'). The when-not condition is concrete and actionable.

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

Deploy Server

Other Tools