Skip to main content
Glama
durely
by durely

Get activity laps

garmin_get_activity_laps
Read-onlyIdempotent

Retrieve per-lap splits, sessions, swim lengths, and FIT-recorded metrics for a Garmin activity to analyze intervals, pacing, and multisport legs.

Instructions

Get the laps (and sessions, swim lengths and Garmin's physiological metrics) of one activity, from its original FIT file.

Returns per lap: start offset, duration (elapsed and timer), distance, pace/speed, avg/max HR, avg/max/normalized power, cadence, ascent/descent, intensity (active/rest/warmup/cooldown) and lap trigger; for swims, stroke and lengths. Also: device, multisport sessions, and FIT-only metrics when the device recorded them (VO2max, recovery time, lactate threshold HR/power).

Use it for interval sessions, splits and pacing. Downloads the FIT file on first use (one request), then it's cached. For a multisport leg ID, returns only that leg's laps.

Input Schema

NameRequiredDescriptionDefault
lap_offsetNoSkip this many laps (for activities with very many laps)
activity_idYesGarmin activity ID from garmin_list_activities
response_formatNo'markdown' for readable text (default), 'json' for complete structured datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare it read-only, idempotent and non-destructive, so the description adds value by disclosing the network behavior: the FIT file is downloaded on first use and then cached. It also discloses what data comes only 'when the device recorded them', which sets correct expectations about missing fields — a detail annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then a dense field inventory, then usage and caching notes. The return-field sentence is long but each clause maps to real output content rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the full burden of describing return values — and it does so thoroughly, covering lap fields, swim-specific fields, multisport sessions, and FIT-only metrics, plus the caching behavior. An agent has enough to call it correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and every parameter (activity_id, lap_offset, response_format) is documented in-schema, including the enum. The description adds no syntax or overflow guidance (e.g. when to use lap_offset on very long activities), so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get the laps... of one activity, from its original FIT file') and enumerates the returned granularity, so an agent knows this is the lap/session-level view rather than the activity overview. No sibling is named, so routing between it and garmin_get_activity or garmin_get_activity_streams is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use it for interval sessions, splits and pacing' gives concrete use conditions, and 'For a multisport leg ID, returns only that leg's laps' clarifies a scope boundary. It lacks explicit when-not guidance or a named alternative for activity-level summaries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.