Get Stats
get-stats-toolGet aggregated workout stats for this user: volume, consistency, personal bests, and top lifts. Optionally scoped to a date range, workout, or exercise.
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-stats-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Preset time range. Defaults to "all". Ignored if start_date/end_date are given. | |
| end_date | No | Custom range end (YYYY-MM-DD). | |
| start_date | No | Custom range start (YYYY-MM-DD). | |
| workout_id | No | Scope stats to one workout. | |
| exercise_id | No | Scope stats to one exercise. | |
| muscle_group | No | Scope stats to one muscle group. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | ||
| trend | No | Volume/consistency over time, bucketed by the range's granularity. | |
| headline | No | Totals for the selected range. | |
| consistency | No | Streak/frequency consistency metrics. | |
| personal_bests | No | Personal bests set within the selected range. | |
| muscle_breakdown | No | Volume by muscle group. |