get_health_trends
Compute rolling averages, half-window deltas, and training volume for RHR, HRV, sleep, steps, and stress over N days to detect multi-week trends and early overtraining signals.
Instructions
Compute longitudinal rolling averages, first-half vs. second-half deltas, and training volume over N days.
Coaching Purpose: Detects multi-week physiological trends and early overtraining signals across Resting Heart Rate (RHR), overnight HRV, sleep duration, daily steps, daily stress, and total training volume (hours, distance, activity breakdown) over a configurable window (e.g., 7, 14, 28, 30, or 90 days).
Args:
days: Number of days to aggregate (default 28). Clamped to a positive integer.
end_date: End ISO date (YYYY-MM-DD) of the analysis window. Defaults to today.
response_format: Output representation: "markdown", "json", or "hybrid" (default).
Returns: Formatted longitudinal trend report with biomarker averages, min/max, 1st-half vs. 2nd-half deltas, trend directions, training volume totals, and diagnostic coach flags.
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_health_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| end_date | No | ||
| response_format | No | hybrid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |