get_plan_compliance
Compare planned workouts with completed activities in a date range to measure plan compliance. Returns deviations in duration and load, and identifies missed, upcoming, and unplanned activities.
Instructions
Use to compare planned workouts with the activities done in a date range (read-only, two API calls).
Planned workouts (calendar WORKOUT events) are linked to activities by the event's paired_activity_id or the activity's paired_event_id; each pair shows planned vs actual duration and load with the deviation in %. An activity counts for one event only. Unlinked past workouts are missed, those of today or later upcoming (athlete's local date). Activities without a planned workout are unplanned; those linked to a workout outside the range are listed apart. Completion = completed / (completed + missed). NOTE events with training availability, allowed sports or a maximum training time are listed too. Method: intervals://methods/summary (get_guide).
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_plan_compliance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | Last day YYYY-MM-DD | |
| athlete_id | No | Default: the configured athlete | |
| start_date | Yes | First day YYYY-MM-DD |