Adjust a strength guide to today's recovery (returns it, pushes nothing)
adjust_guideAdjusts a strength guide to the user's HRV and morning recovery, returning a lighter plan with reasons for review before pushing.
Instructions
Adjusts a strength guide spec (the arguments of push_strength_guide) to how recovered the user is on date (default today), and RETURNS the adjusted spec with the reasons. It does not push anything: show the user the changes, and push the returned guide with push_strength_guide only if they agree. Reads get_baselines for date: HRV (metrics.hrv.latestVsBand) and recovery on waking (metrics.recoveryMorning.latestVsBand) against the user's own band of the last 28 days. Rules: neither below the band, or no reading yet -> unchanged (it never adds load or sets); one of the two below -> one set less on every exercise with 3 or more sets (the 'NxM' in detail is rewritten to match; an exercise whose detail has no matching 'NxM' keeps its sets and says so in reasons); both below -> that, plus every load in detail (the first 'kg', not bodyweight) 10% lower rounded to 2.5 kg, a plates breakdown is dropped when the load changed, and an exercise's target is dropped whenever that exercise changed at all (sets or load; a reason says so, last stays). Output: { level ('unchanged' | 'lighter' | 'reduced'), adjusted (whether anything changed), signals: { hrv, recoveryMorning } (below | within | above | null), reasons, changes: [{ exercise, from: { sets, detail }, to: { sets, detail } }], guide (the full adjusted spec), baselineErrors (only when a baseline section failed) }. The band is the middle half of the user's own recent days, not a medical reference. To put the adjusted guide in the approval queue, pass queuePayload (queue_adjustment's exact arguments: kind adjusted_guide, the adjusted guide as payload, reasons, source; null when nothing was changed) to queue_adjustment: this tool queues nothing and pushes nothing. Read-only.
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": {
"guide": "<guide>"
},
"name": "adjust_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day whose HRV and recovery are compared with the band, YYYY-MM-DD (default today: the night that led into it). A day with no reading yet leaves the guide unchanged. | |
| guide | Yes | The strength guide spec to adjust: the same arguments as push_strength_guide (without guideId). |