get_threshold_history
Retrieve lactate-threshold heart rate and pace history over a date range, aggregated daily, weekly, monthly, or yearly, to track changes across training blocks.
Instructions
Get lactate-threshold heart rate + pace over time (the threshold trend).
start_date and end_date are "YYYY-MM-DD" (start no more than a year
before end). aggregation is one of "daily", "weekly" (default), "monthly",
"yearly". Returns a JSON object with "points": a dated series, each entry
giving lthr_bpm (threshold heart rate) and threshold pace (pace_per_km
"M:SS", decimal pace_min_per_km, raw speed_m_s). Use this to see whether
threshold HR/pace is trending up over a training block — for the single
latest value use get_performance_metrics instead. If Garmin's range payload
can't be parsed into a series it is returned verbatim under "raw".
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_threshold_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ||
| start_date | Yes | ||
| aggregation | No | weekly |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |