find_comparable_intervals
Find recent running reps matching a target distance across your recent activities, filtering out warm-ups, rests, and cool-downs so you can compare interval splits.
Instructions
Find recent work reps of a given distance, across your last running activities.
Answers "what have I been running 1000m reps at lately?" in one call, replacing list-activities → laps-per-activity → filter-by-hand. Every rep returned has been through the same classification as get_activity_intervals, so warm-ups, rests and cool-downs never appear.
target_distance_m is the rep distance to match (e.g. 1000). Reps within
tolerance_pct of it are returned (default 10%, so 900-1100 m).
activity_limit (default 10) caps how many running activities are opened —
each one costs a Garmin call — and they are taken from the most recent
activities of any type, so a long stretch without running returns fewer.
Returns a JSON object with "matches" (each rep plus its activity_id, date and name, newest first), "match_count", and "activities_scanned".
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": {
"target_distance_m": "<target_distance_m>"
},
"name": "find_comparable_intervals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tolerance_pct | No | ||
| activity_limit | No | ||
| target_distance_m | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |