getDashboardData
Retrieves consolidated Garmin training dashboard data—HR zones, fitness age, recent and prior activities, HRV, sleep, readiness, weekly digest, and units—in one call.
Instructions
All the data of the training dashboard in one call: HR zones, fitness age, the activities of the
last weeks weeks (compact summaries, with strength sets and laps where they apply; a strength
session with sets also has planVerdicts: hit or miss for each exercise of the plan that the
watch ran, null without a plan; a run whose laps are read, or whose .FIT file is saved, has
planVerdicts too: hit or miss for each lap with a planned target), the activities of the
weeks before for the period comparison,
daily HRV, the last 14 days of sleep and daily
summaries (with recoveryHistory, also short rows of the older days: date, sleep hours, sleep
score and resting HR), and units: the measurement system of the Garmin profile (metric, statute_us or
statute_uk) that the page shows; the data itself is always metric; locale: the language of
the Garmin profile, e.g. it or pt-BR. Keeps a local cache and
fetches from Garmin only what is new since the last call, so a rebuild or an update needs few
calls. sync in the result says what was fetched: Garmin calls, .FIT files downloaded
(fitDownloads) and new activities.
digest, first in the result: the server's totals for the whole period and for each
Monday-Sunday week (sessions, km, hours, load), the training load of the last 7 and 28 days,
best efforts, races and strength top sets, the plan verdicts of the strength sessions done
(strengthPlan), the long runs with their half split and HR drift, the
longest run and the race predictions (Riegel), the page's readiness verdict for today with its
inputs (readiness), and today's fitness, fatigue and form (fitnessFatigue); quote them
instead of your own sums. For another date range, use the activities: each one is on its own
line. A load is null (n/a) when the sessions have none; estimatedLoads counts the loads that
are estimates from heart rate. A week with partial: true starts before the period. Without HRV
and sleep data the digest has no readiness: give the verdict as n/a.
The full result is large: 12 weeks can be about 180 KB, which can be over the tool output limit
of the assistant. writeDashboard with preview: true gives only the digest, the activities of
each board and the settings.
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": "getDashboardData"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weeks | No | Weeks to cover, default 12, max 52 | |
| workouts | No | Also the laps of the runs of each run name that repeats, to compare a workout across weeks: the last 8 (downloaded once) and older ones whose .FIT file is saved; default false | |
| recoveryHistory | No | Also the sleep and resting HR rows of the whole period, not only the last 14 days |