coach_get_run
COACH TOOL — full single-run detail for a consented athlete's run: identical payload to get_run (summary + per-km splits, segment_summary rep-by-rep breakdown on interval runs, best_efforts, hr_zones, GAP, decoupling). Same conventions as get_run (null ≠ zero; recovery_segment_count 0 means work-only by design). splits[] is empty on any manually-logged run, and may be empty on an imported one — but an import is NOT splitless by rule: where the source supplied no kilometre markers and no usable route clock, splits are derived from the run's own speed series, so most imported runs do carry them. An empty splits[] is expected rather than missing data; the rest of the summary (metrics, best_efforts, elevation) is unaffected. A run may end with one row carrying coverage:"uncovered": the source's samples stop before the run did, so that distance has no split data and no pace. Never estimate or quote a pace for it; the run-level splits_coverage block says how much is covered. The run carries distance_provenance ('recorded' | 'corrected' | 'manual') with the same semantics as get_run — corrected/manual runs never set personal bests and never feed Race Fitness; a manual run's metrics read not_recorded. Clocks: the run's duration_s/pace_s_per_km are MOVING time (pauses excluded). Each split carries clock — wall means its duration_s includes any pause inside that kilometre, so a paused run's split can read far slower than the run's pace without being a bad kilometre; do not compare a wall split against the run pace, or sum wall splits to the run's duration, without allowing for pauses. A split with pace_s_per_km: null and split_quality: "implausible_pace" is a clock artefact, not a fast kilometre. best_efforts and time_bests are WALL-CLOCK windows — the fastest contiguous stretch of the run with any pause inside it counted — so on a paused run a best-effort rung can legitimately read slower than a rep in segment_summary or a run-level pace timed on the moving clock; that is the pause, not a contradiction. Never restate a best effort as a moving-time pace. Garmin (Connect IQ) runs send no pause events, so their split moving time may be priced from pauses INFERRED from gaps in the watch's own sample stream and used only when those gaps reconcile against the run's own two clocks — on such a run a split reading clock: "moving" was priced that way, while one still reading wall means the inference did not apply — the run had no pause to find, or the gap evidence did not reconcile. A run may also carry clock_contradiction — {excess_s, span_s, duration_s}, present only when that run's pause-excluded moving time exceeds its own wall clock (ended_at − started_at) by more than 60 s, which means NEITHER clock on that run can be trusted: the run is still stored and still listed, but it is excluded from every aggregate, every personal best, every race prediction and the training-load model, and its best_efforts and time_bests are null. Do not restate that run's pace or duration as a fact. A Garmin (Connect IQ) run may carry sample_coverage: when truncated is true, the watch's sample series ends unexplained_tail_s before the run did; run-level HR is the watch's own figure when run_hr_source is watch; charts and per-km HR inside the tail are absent, not zero. series_samples: 0 means the watch sent no sample series at all for that run (not a lost tail): truncated and unexplained_tail_s then describe the whole run, not a missing ending.
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": {
"athlete_id": "<athlete_id>",
"run_id": "<run_id>"
},
"name": "coach_get_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run's backend id (from coach_get_runs) | |
| athlete_id | Yes | From coach_list_athletes |