get_athlete_profile
The user's athlete profile: age, sex, max HR, resting HR, goal, target race + date, training phase, units. ALSO returns the structured goal pair goal_time_s + goal_distance_key (a target finish time in seconds at one of 1k|1mi|5k|10k|half|marathon, both null when no time goal is set) — this is what drives the in-app goal-convergence view; settable (and clearable, both-null) via propose_profile_update. ALSO returns goal_source ('ai' | 'athlete' | null): who set the structured goal. If goal_source is 'athlete', the USER set this goal themselves in the app — do NOT overwrite or clear it unless they explicitly ask you to. max_hr_bpm, resting_hr_bpm and vo2_max_ml_kg_min each carry {value, source} where source is "manual" (the user's set value is in use) or "auto" (derived from their data); a null value means not known — never invent one. max_hr_bpm is the value in use: the user's set value when there is one (it wins, even below their highest recorded heart rate), otherwise the highest heart rate on any recorded run of 1 km or more. manual_max_hr_bpm is the value the user set (null if none), and observed_max_hr is the peak with its provenance {value_bpm, run_id, date, source_app} (null when no run has heart rate; run_id/date/source_app null if the run can't be named) — use them to show the user where their max HR comes from, and treat a lone old peak far above their recent maxima with suspicion (a sensor spike is possible). resting_hr_bpm uses recent readings from their watch or Apple Health (the median of the 14 most recent days with a reading) and vo2_max_ml_kg_min the latest reading, whenever one exists (both track up and down); a value the user sets is used only when there is no reading. Use this context to ground coaching (HR zones from max HR, effort vs goal, etc.). Present figures in the user's units (units field). Useful to read at the start of a coaching session to ground your advice in the user's goals and physiology; fields with source 'auto' or a null value may be worth confirming or setting with the user via propose_profile_update (which can also set VO2max and personal bests by hand). ALSO returns personal_bests — the best-of(manual, auto) distance bests, each tagged source 'manual' (the user entered it) or 'auto' (computed from their runs); these anchor VDOT / Critical Speed / race predictions. ALSO returns performance_profile — the derived fitness fingerprint computed from the user's best efforts: vdot (Daniels VDOT, the single race-fitness number — the app shows this to the user as 'Race Fitness'; prefer that label when talking to them); training_paces — the Daniels E/M/T/I/R paces (easy range, marathon, threshold, interval, repetition) in raw metric s/km, the runner lingua franca for prescribing sessions — use these to set target_pace_s_per_km when authoring guided sessions; threshold_s_per_km — the threshold (tempo) pace, which IS the VDOT T-pace; and critical_speed — a Critical Speed + D' two-parameter fit over the best-efforts ladder (cs_m_per_s, cs_pace_s_per_km, d_prime_m = the finite work capacity above CS in metres), the more physiologically precise sustainable-boundary estimate WHEN enough effort-spread exists. CS is RELATED TO BUT DISTINCT FROM the VDOT threshold pace (CS ≈ the 30–45 min boundary, T-pace ≈ 60-min pace) — do not conflate them. EVERY performance_profile value is a model ESTIMATE, never lab-grade — present it as such, and lean on provenance: training_paces derive from VDOT (anchored on the effort nearest 5 km); critical_speed.from lists the exact (distance, time) efforts the fit used, n_points is how many fed it, and reason is non-null when the fit was NOT surfaced (insufficient_efforts | insufficient_spread_for_confident_fit | efforts_too_clustered | implausible_fit) — when reason is set, cs_m_per_s is null, so fall back to the VDOT threshold pace and say so (insufficient_spread_for_confident_fit means only 2 efforts fed the fit — invite one more effort at a different distance). A null vdot/training_paces means no usable best effort yet (never zero). The easy range's slow bound is the raw 59%-VO₂max anchor (intentionally a touch slower than clipped printed Daniels tables). Present performance_profile paces in the user's units: metric s/km as-is; imperial multiply pace_s_per_km by 1.609344 for s/mile.
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_athlete_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||