getYearReview
Review a calendar year of training from the local cache: totals, sports, months, streaks, best efforts, weekdays and HRV trends. Use for a year in review; for recent weeks, use the dashboard.
Instructions
The recap of a calendar year from the local cache: totals (sessions, active days, km, hours,
ascent in metres, calories, load), sports, months, the biggest month and week, the best 4 weeks,
the most consistent month, streaks, the longest and the biggest session, the progression of the
best efforts, weekdays, time of day, and HRV and resting HR by month. Use it for a year in review;
for the last weeks, use getDashboardData. year.coverage.missing lists the days that the cache
does not have. With a day before today in it, the tool asks the user first, in a form, and only
after a yes it fetches the activity list of these days, and of other days that the cache needs
(no HRV, no resting HR). fill.asked says what came of it: notNeeded (no day before today is
missing), yes, no, unasked (this client has no form), or tooLarge (about estimate requests, over
20: for a year before this year, say to review a newer year first, then this one,
which works only in a client with a form). Only yes fetches; fill.error says why a fetch failed.
With lastDayOpen true, the last cached day, year.coverage.activities.to, can lack
sessions that came after that day's update: say so. When fill.asked is notNeeded and the year
is the year of today, say also that a dashboard update adds them.
null is n/a, never 0.
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": "getYearReview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The dashboard page whose sports and excluded data apply; it must exist; relative paths are inside the data dir; default: the page garmin-dashboard.html, when there is one | |
| year | No | Calendar year, 2000 to this year; default this year (the year before until 14 January) |