Catch up: what is new since last time
get_catchupWhat is new since the last time the user caught up: new workouts (date, startLocal, activityId, totalTimeS, tss, guide, workoutKey), new finished nights (bedtimeStart/End, durationS, score, avgHrv, recoveryOnWaking), new recovery samples…
Instructions
What is new since the last time the user caught up: new workouts (date, startLocal, activityId, totalTimeS, tss, guide, workoutKey), new finished nights (bedtimeStart/End, durationS, score, avgHrv, recoveryOnWaking), new recovery samples (count, latest, low, high), the plan items (from set_plan) in the review window as done / missed / pending by DATE (any workout on a planned date counts as done: the sport and the guide are not compared), and daysSinceLastSession. Toward Suunto it only reads: list calls for workouts (pages of 50, at most 4 pages per call), sleep and recovery. The first call looks back 7 days (the list calls add a margin of up to 14 hours for time zones); later calls start at the review window's first day, which is the day every section was last read completely (never more than 14 days back; anything older is reported in notes and was not looked at), and list workouts 2 days further back so a late sync is found. 'New' means after the marker kept in ~/.suunto-mcp/seen.json (SUUNTO_SEEN_PATH overrides it): workouts by key (a workout that syncs late with an earlier start is still new, once), nights by end time, recovery by sample time. Pass markSeen: true only once the user has actually been told. markSeen false (the default) is a PURE READ: nothing is written and the same call repeats the same answer. With markSeen: true each section that was read moves its marker, and marked is true; the review window (sleep, recovery and plan items) moves forward only when EVERY section was read (no entry in errors, the plan file readable, the whole workout list read), so what a failed section missed is reported next time. If there are more workouts than one call reads, errors says so, the call reports what it read, and calling again with markSeen: true continues below where it stopped. Plan items are reviewed from the review window's first day, so an item can show again until the window moves. A night still being recorded and naps are not reported. Output: { today, since: { from, firstCall }, newWorkouts, newNights, recovery, plan (null without a plan, { error } if the plan file is unreadable), lastSessionDate, daysSinceLastSession, markSeen, marked, errors, notes }. An unreadable seen.json is an error and is never overwritten. In demo mode the marker is kept in memory. Annotated not read-only (and idempotent: marking twice leaves the same marker) only because markSeen: true writes that small local marker, so clients may ask for permission before running it; the call itself changes nothing at Suunto.
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_catchup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markSeen | No | true: move the marker to what this answer covers (do it only after telling the user). false (default): leave it, so the next call repeats this answer. |