get_setbacks
Retrieve an athlete's illness and injury history with daily status check-ins to see how often setbacks occur, how long they last, and how past ones compare.
Instructions
List the athlete's illnesses and injuries, with how they felt day by day.
get_plan_context already hands you the open ones and the ones that ended in the last three weeks, so you rarely need this at the start of a conversation. Use it for the history: how often the athlete is set back, how long each one lasted, and how past ones compare with the current one.
READING ONE AGAINST THE DATA. A setback gives you the dates; the effect is
in the other tools. To see what an illness did, compare the days from
startDate on with the two to four weeks before it: resting heart rate,
HRV, respiratory rate, sleeping wrist temperature and sleep from
get_health_metrics, and for the runs
after it the heart rate at a given easy pace and the heart rate recovery
from get_recent_runs and get_workout_detail. Raised resting heart rate and
lowered HRV that have come back to the earlier range for a few days in a
row, together with the athlete saying they feel fine, is what recovered
looks like. For an injury the numbers say little: go by the daily status
and by runs completed without pain. Say what you see and how sure you are;
this is not a diagnosis.
Args: active_only: Only setbacks that are still going on. since: Only setbacks still going on or ended on or after this day (YYYY-MM-DD).
Returns: List of setbacks, open ones first, then the most recently started. Keys are camelCase:
- id: pass to update_setback and log_setback_status.
- kind: "illness" or "injury".
- severity: "mild", "moderate" or "severe", the athlete's own call.
- startDate / endDate: first and last day (YYYY-MM-DD, the athlete's
local days). endDate is null while it is still going on.
- active: true while there is no end date.
- days: length in days, both ends counted; for an open one, through
today.
- bodyPart: injuries only, free text; may be null.
- note: the athlete's description; may be null.
- checkins: one entry per day the athlete (or you) recorded a status,
oldest first: date, status ("worse", "same", "better", "fine"),
note. Days without an entry were simply not recorded.
- recovery: open setbacks only, else null. The server's own read of
whether it looks over. `status` is "looks_recovered", "not_yet" or
"insufficient_data"; `summary` says why in a sentence; `metrics`
lists resting heart rate, HRV, breathing rate and sleeping wrist
temperature (those the athlete has data for) with the
athlete's `usual` (median of the four weeks before), the
`tolerance` around it, the `latest` reading and its `state`
("normal", "off", "no_recent_data"). `basis` is "metrics" or
"status" (the athlete said "fine" two days running, or a fresh
"worse"/"same" is holding it back). It is a prompt to ask the
athlete, never grounds to close a setback yourself. Injuries get
no metrics: the numbers say little about them.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_setbacks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| active_only | No |