get_progression
A time-ordered (oldest-first) per-run series of one metric so you can read the trend. metric: pace|heart_rate|cadence|distance|elevation_gain|gap_s_per_km|decoupling (decoupling = pa_hr_pct) or a raw metric key (running_power_w|running_speed_mps|ground_contact_time_s|stride_length_m|vertical_oscillation_m|heart_rate_bpm). Optional type filter (just_a_run|easy|tempo|long|race|intervals|trail, or all) and timeframe ({preset} = this_week (calendar week, Mon→now)|last_7_days (rolling)|this_month|last_30_days|this_year, or {from,to} supplied together). An unknown metric or type is refused with the valid list. A null value in the series = not recorded for that run; never treat it as zero. A point with walk_paced: true is a walk, not a slow run. Copies of the same run from two apps are counted once; duplicates_collapsed says how many were folded. A row whose own span is over 12 hours is never folded, so a duplicated ultra beyond that still counts as stored. runs_quarantined counts runs left out of this response entirely because their own two clocks contradict each other — a run's pause-excluded moving time exceeding its own wall clock, so it can price nothing; the key is absent when there were none, and it says something different from duplicates_collapsed: a quarantined run was dropped on purpose, not folded into another copy of itself.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"metric": "<metric>"
},
"name": "get_progression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| type | No | ||
| metric | Yes | ||
| preset | No |