Skip to main content
Glama
samitugal
by samitugal

get-activity-laps

Fetch per-lap metrics for a specific Strava activity, including time, distance, speed, heart rate, cadence, and power, for detailed performance analysis.

Instructions

Returns per-lap metrics (time, distance, speed, heart rate, cadence, power) for a specific activity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activityIdYesThe unique identifier of the activity to fetch laps for.
Behavior3/5

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

No annotations are provided, so the description must carry the transparency burden. It discloses the data returned (per-lap metrics) but does not mention behavioral aspects such as whether the activity must have laps, error behavior, or any rate limits. The read-only nature is implicit in 'Returns' but not explicitly stated.

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?

The description is a single, well-structured sentence that front-loads the action and lists the key metrics. Every word earns its place; there is no redundancy or filler.

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?

With one simple parameter and no output schema, the description provides a reasonable summary of the return content (per-lap metrics with listed fields). It could mention units or the fact that laps are returned as an array, but the information is adequate for an agent to infer the tool's purpose and basic invocation.

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?

The input schema already fully describes the single parameter (activityId) with 100% coverage. The description adds little beyond reinforcing that it is for a specific activity, which is already in the schema. No additional meaning or constraints are provided.

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

Purpose5/5

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

The description clearly states the tool returns per-lap metrics for a specific activity, enumerating the metric types (time, distance, speed, heart rate, cadence, power). The verb 'Returns' plus resource 'per-lap metrics' distinguishes it from sibling tools like get-activity-details and get-activity-streams.

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?

The description provides clear context: use this tool when you need lap-level metrics for a specific activity, requiring an activityId. It does not explicitly name alternatives or state when not to use it, but the specificity of 'per-lap metrics' makes the use case obvious. No exclusions are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samitugal/strava-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server