get_recovery_context
The user's recovery and fitness context from passive daily Apple Watch metrics — read this whenever recovery, readiness, fatigue, sleep, HRV, resting HR, training load or VO2max comes up, and ALWAYS before you propose or adjust a training plan. No arguments; returns one pre-shaped payload, each metric windowed to the horizon where it actually means something. Read it and apply your own coaching judgment — there is deliberately no server-side readiness verdict; you are the coach, this is the data. Read load AND recovery together: high acute load with suppressed recovery is a different call from high load with recovery sitting at baseline. Blocks returned: vo2_max — the slow-moving fitness arc: latest (carried forward from the last real reading, with its date), d30_avg / d90_avg / d365_avg, a direction (improving | stable | declining vs the longer window), a vdot_estimate derived from the user's race PBs, and a plain-English gap_note reconciling Apple's VO2max against that race-implied VDOT (they often differ — read the note, don't just quote the number). hrv and resting_hr — near-daily signals that only mean anything against the person's own baseline: latest (+ date), d7_avg, d30_baseline, direction vs that baseline, and n_30d (how many days fed the baseline). For resting HR, lower than baseline is the good direction; for HRV, higher is the good direction. sleep — last_night broken into stages in hours (total_h, rem_h, core_h, deep_h, awake_h, in_bed_h), d7_avg_h, d30_avg_h, and direction; sleep variance matters more than the average, so look at last_night against the week. recent_14d — a day-by-day series [{ date, sleep_h, hrv, rhr, vo2max? }] so an acute disruption (a 2-3h night with resting HR spiking, a suppressed-HRV stretch) is visible to you rather than averaged away — scan it before judging readiness. load — the training-load picture, computed from the user's HR data: today (today's load), d7_load (last 7 days), acute (7-day load average), chronic (42-day load average), balance (chronic − acute, SIGNED: positive = fresh, negative = loaded/fatigued), acute_chronic_ratio (acute vs chronic — this is LOAD-BALANCE, NEVER an injury-risk figure; do not present it as injury risk), and ramp_flag (rising_fast | steady | detraining — again a load-balance label, not a risk verdict). load_metric names the score honestly ('edwards_trimp_5band', an HR-zone-weighted load). There is NO 0–100 readiness score anywhere and never will be — a single number implies a weighting we cannot defend; read the balance and the recovery blocks and make the coaching call yourself. flags — descriptive co-occurrences the model noticed (e.g. acute_load_high_and_hrv_suppressed, resting_hr_elevated_and_loaded, cardiac_drift_high_recent, freshening), each fired only when both sides are present — they are observations for YOU to turn into coaching, never instructions; a flag never means 'skip the session', that call is yours. NULL DISCIPLINE: every absent value is null with a reason ('not_worn' | 'not_yet_computed' | 'insufficient_history' for recovery; 'no_runs' | 'no_max_hr' | 'insufficient_history' for load) — NEVER zero, and never invent a figure. The payload shape is identical whether or not data exists, so a new user simply gets nulls with reasons. Lead with the analysis: weave load and recovery into your coaching naturally, don't lecture about sample size or recite which days are missing. Concrete use: after a poor night or suppressed HRV, or when acute load is running hot against chronic, soften the next session (or swap a hard workout for easy/rest); when sleep, HRV and resting HR all sit at or better than baseline and balance isn't deeply negative, the user is absorbing load well and can take the harder session. Pair with get_athlete_profile (which now also surfaces VO2max) and get_planned_schedule when shaping or revising a plan.
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": "get_recovery_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||