Trend
get_trendRetrieve weekly or monthly trends for a selected running or health metric over an optional date range to compare fitness, recovery, sleep, and training load over time.
Instructions
A metric aggregated per week or month. Metrics: fitness (Fitness (CTL) at period end); form (Average form (TSB)); load (Total training load (TRIMP)); run_km (Running distance (km)); runs (Number of runs); hrv (Average nightly HRV (ms)); resting_hr (Average resting HR (bpm)); sleep_h (Average sleep (hours)); sleep_need_h (Average Garmin sleep need (hours)); weight_kg (Weight trend (kg) at period end); body_fat_pct (Body fat trend (%) at period end); easy_efficiency (Metres per heartbeat on easy outdoor runs); pace_at_ref_hr (Pace at the reference HR on outdoor runs); decoupling (Average decoupling (%) on steady runs of 30+ min); low_intensity_pct (Share of running time below LT1 (%)); sleep_score (Garmin's sleep score (0–100), average per night); deep_sleep_h (Deep sleep per night (hours)); rem_sleep_h (REM sleep per night (hours)); breathing_rate (Overnight breathing rate (breaths per minute)); spo2 (Overnight blood oxygen, SpO2 (%)); sleep_stress (Stress during sleep (0–100)); stress (All-day stress (0–100), average per day); body_battery_morning (Body Battery peak of the day, usually right after waking (0–100)); steps (Steps per day); calories (Calories burned per day (resting + active)); active_calories (Active calories per day); intensity_minutes (Intensity minutes, total for the period (vigorous count double, as Garmin and the WHO count them)).
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_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| metric | Yes | ||
| period | No | month |