log_readiness
Record the athlete's daily readiness — one entry per date, idempotent MERGE-upsert: only the fields you send are updated, existing fields survive. Accepts a BATCH (up to 90 items) so you can backfill history from an export (e.g. months of HRV/RHR/sleep) in a few calls. Subjective core (McLean 1-5, 5=best: fatigue — asked and read back as ENERGY, 1 drained … 5 fresh, never call it fatigue to the athlete — sleep_quality, soreness, stress, mood) + prs (0-10) is the primary signal; objective fields (rhr bpm, hrv_rmssd ms, hrv_sdnn ms, sleep_total_min, deep_sleep_min) are optional manual values from the athlete's wearable. hrv_sdnn is HRV as SDNN (what an Apple Watch reports) — its own field, never put an SDNN value in hrv_rmssd or the reverse. Confounder flags (late_meal, alcohol, hookah, smoking, life_stress, illness, injury, poor_sleep_external, small_child, travel, underfuelled, long_day, heat, meds) record WHY a day might look off; small_child = a small child broke the night, a known cause outside training — never read that night as overreaching. Record them as ticked; never fold a confounder into the numbers themselves. Values are range-checked (e.g. rhr 25-110) so a typo can't poison the baselines.
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": {
"items": "<items>"
},
"name": "log_readiness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |