Get benchmark: a repeatable session over time
get_benchmarkOne repeatable session as a series over its occurrences, to see whether it is getting better: give guide (a guide's title, e.g.
Instructions
One repeatable session as a series over its occurrences, to see whether it is getting better: give guide (a guide's title, e.g. 'PUSH A': the sessions that ran it, by the guide name in the workout list) or exercise (the sessions that contain that exercise, as in get_exercise_history), over the weeks weeks (default 8, max 26) ending at date. It reads the guided sessions with get_exercise_history's own reader (the same local cache, the same limit of 8 uncached sessions per call, the same pending: CALL AGAIN until pending is 0 before drawing conclusions, and the same journal), and adds the workout list's own duration and TSS. Output: { mode, name, from, to, occurrences, sessions: [{ date, workoutKey, guide, durationS, tss (Suunto's HR-based, null when none), restEndHrMedian (median end-of-rest HR after set 1 over the session's exercises with reliable heart-rate data, rounded), exercises: [{ name (one entry per exercise per session: an exercise that appears twice is merged: heaviest block's detail, load and reps, sets added, median rest HR, reliable only if every block is; parts counts the blocks), detail, kg (the guide's label weight, or the top logged weight with loadSource 'journal'; null when none, never guessed), loadSource, reps (the planned reps per set from 'NxM' in the label; null for a range or no 'NxM'), setsDone, plannedSets, restEndHr (null when unreliable), reliable }] }] oldest first, series: { durationS, tss, restEndHrMedian, exercises: [{ name, kg, reps, restEndHr }] } where each series is { n (occurrences with a value), first, last, best (highest kg and reps, lowest duration and heart rate; null for TSS, which has no better direction), better, trend, change }, pending, errors, notes }. TREND RULE: with at least 3 values, the median of the older half is compared with the median of the newer half (floor(n/2) values each; the middle one is left out when n is odd): 'up' or 'down' when they differ by more than 3% of the older median (exactly 3% is flat), else 'flat'; change is that difference; with fewer than 3 values the trend is 'insufficient'. There is no significance test: it says what moved, not that the move is real; 'up' is not 'better' for every series (see better). Weights and reps are what the guide PLANNED unless a log_session entry logged weights. Writes only get_exercise_history's local cache; never changes anything at Suunto. Read-only.
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_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The last local calendar day of the range, YYYY-MM-DD (default today). | |
| guide | No | A guide's title as shown by list_guides or get_daily_snapshot's `guide`, e.g. 'PUSH A' (matched ignoring case, accents and punctuation). Give this or `exercise`. | |
| weeks | No | How many weeks the series covers, ending at `date` (default 8). | |
| exercise | No | An exercise name as in get_exercise_history's index, e.g. 'Back Squat'. Give this or `guide`. |