get_endurance_score
Retrieve daily Garmin endurance score or weekly aggregates over a date range. Provide startdate for one day; add enddate for weekly stats.
Instructions
Endurance score for a date, or weekly aggregates over a date range. TWO branches by presence of enddate: no enddate hits the single-day endpoint; with enddate hits .../stats with hard-coded aggregation="weekly".
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": {
"startdate": "<startdate>"
},
"name": "get_endurance_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enddate | No | Calendar date, YYYY-MM-DD (UTC) | |
| startdate | Yes | Calendar date, YYYY-MM-DD (UTC) |