Summarize activities
summarize_activitiesAggregate Garmin activities by week, month, weekday, or total to get totals, pace, heart-rate zone time, and training-load trends across a date range.
Instructions
Best tool for activity totals and trends (e.g. 'how far did I run each month', 'has my pace improved'). Fetches every matching activity in the range and returns only aggregates per period and type: count, distance (km and mi), moving time, elevation, longest, average speed and pace (distance-weighted), fastest average pace, average HR, training load, and time in HR zones 1-5 (minutes and %, for zone 2 / 80-20 questions). With group_by 'week' or 'month' it also returns load_trend: load per period, % change vs the previous period, and the acute:chronic ratio at the end of each, with flags for a ratio above 1.3 or a rise over 30%. Use group_by='week' for 'am I building too fast / ramping up too quickly', and for 'compare this block with my last one' (e.g. last_90_days by week, or two ranges). Range up to 366 days.
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": "summarize_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Only activities that started inside this latitude/longitude box (decimal degrees). | |
| period | No | Named period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date. | |
| end_date | No | Last day, YYYY-MM-DD, inclusive. Defaults to today. | |
| group_by | No | month | |
| event_type | No | Only activities tagged with this event type, e.g. race. | |
| start_date | No | First day, YYYY-MM-DD, inclusive. Required unless period is given. | |
| activity_type | No | Parent type key, e.g. running, cycling, swimming, walking, hiking, fitness_equipment. For anything narrower use activity_subtype. | |
| name_contains | No | Text the activity name contains (case-insensitive), e.g. 'parkrun' or 'tempo'. | |
| max_distance_m | No | Maximum distance in metres. | |
| min_distance_m | No | Minimum distance in metres. | |
| activity_subtype | No | Subtype key, e.g. trail_running, treadmill_running, road_biking, strength_training. Works without activity_type. | |
| exclude_children | No | Hide the legs of multisport activities (e.g. a triathlon's swim/bike/run), keeping the parent. | |
| max_duration_min | No | Maximum duration in minutes. | |
| min_duration_min | No | Minimum duration in minutes. | |
| max_elevation_gain_m | No | Maximum elevation gain in metres. | |
| min_elevation_gain_m | No | Minimum elevation gain in metres. |