Skip to main content
Glama

get_activity_laps

Read-only

Retrieve per-lap metrics (distance, time, speed, heart rate, cadence, power) for a Strava activity to analyze interval sessions and race splits.

Instructions

Laps of one activity, with distance, time, speed, heart rate, cadence and power per lap. Useful for interval sessions and races split by lap.

Input Schema

NameRequiredDescriptionDefault
activity_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, open-world retrieval operation. The description adds useful content about what each lap includes, but does not disclose pagination, ordering, rate limits, or other behavioral traits beyond the output schema.

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

Conciseness5/5

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

Two short sentences with no filler. The resource and returned metrics are front-loaded, followed by a concise usage context.

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

Completeness4/5

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

For a simple one-parameter read tool with an output schema, the description covers purpose, returned per-lap data, and typical use. The main gap is the undocumented required parameter, but the overall definition is nearly complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should explain the required activity_id parameter. Instead it only says 'one activity' without clarifying that a numeric activity ID is required or what it identifies.

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?

The description clearly identifies the resource as laps of a single activity and lists the per-lap metrics returned, distinguishing it from activity summary or stream tools. It does not explicitly name sibling tools, but the resource scope is unambiguous.

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?

It gives a clear use case: interval sessions and races split by lap. It does not state when not to use it or name alternatives such as get_activity_streams, so it falls short of full routing guidance.

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