Skip to main content
Glama
Arbodgad

strava-openapi-mcp

by Arbodgad

get_laps_by_activity_id

Fetch lap splits for a given Strava activity ID, returning detailed timing, distance, and speed data for performance review.

Instructions

List Activity Laps

Endpoint: GET /activities/{id}/laps

Description: Returns the laps of an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

Read-only operation. Scopes: one of: activity:read, activity:read_all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe identifier of the activity.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states 'Read-only operation' and details required scopes, which informs the agent about safety and authentication. However, it does not describe response shape, pagination, or error cases, leaving some behavioral aspects unspecified, but for a simple GET this is acceptable.

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?

The description is compact and uses clear sections (Endpoint, Description, Read-only operation, Scopes). It front-loads the key action. There is a minor redundancy: the title 'List Activity Laps' duplicates the description 'Returns the laps...' but overall the length is appropriate and well-structured.

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?

Given the tool's simplicity (one parameter, no output schema), the description covers the essential aspects: what it does, endpoint, permissions, and read-only nature. It does not explain the return format, but without an output schema, the need for such detail is limited. For a basic list operation with clear scoping, the description is complete enough for an agent to call it correctly.

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 fully describes the only parameter 'id' as 'The identifier of the activity' (schema coverage 100%). The description adds no additional meaning, merely restating 'identified by an identifier.' Since the schema already covers the parameter, the baseline score of 3 is appropriate; the description does not enhance understanding beyond the schema.

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's purpose: 'Returns the laps of an activity identified by an identifier.' This specifies the exact resource (laps) and the operation (list/return), which distinguishes it from sibling tools like get_comments_by_activity_id or get_kudoers_by_activity_id. The inclusion of the endpoint reinforces the action and resource.

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

Usage Guidelines3/5

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

The description implies when to use the tool (when you need an activity's laps) but does not explicitly contrast it with alternatives or state limitations. It mentions permission requirements (activity:read vs. activity:read_all) but not when to choose this tool over others. Given the large set of sibling tools, more explicit routing guidance would be beneficial.

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/Arbodgad/strava-openapi-mcp'

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