Skip to main content
Glama

Get activity

strava_get_activity
Read-only

Retrieve detailed Strava activity data including splits, laps, gear, calories, power, and heart-rate averages. Optionally include segment efforts and map polyline.

Instructions

Full detail for one activity (GET /activities/{id}): splits, laps, gear, calories, power and heart-rate averages. Segment efforts and the full map polyline are omitted unless requested.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe activity identifier.
include_polylineNoInclude the full-resolution map polyline. Large payload; defaults to false.
include_all_effortsNoInclude every segment effort. Large payload; defaults to false.
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, indicating a safe read operation. The description adds valuable behavioral detail: segment efforts and full map polyline are omitted unless requested, and the parameter descriptions note large payloads. No contradiction.

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 two sentences, front-loaded with the tool's purpose, and every sentence earns its place. No fluff or redundancy.

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?

For a simple get-by-id tool with 3 parameters and no output schema, the description covers the key response content (splits, laps, etc.), the default exclusions, and how to request omitted data. It is complete enough for an AI to select and invoke 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?

All three parameters have schema descriptions (100% coverage), so baseline is 3. The main description reiterates the omission behavior but does not add significant new parameter semantics 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 retrieves full detail for a single activity, listing specific data (splits, laps, gear, calories, power, HR averages). It distinguishes from sibling tools by noting that segment efforts and the full map polyline are omitted unless requested, making its scope explicit.

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 about what is included and what is omitted by default, implying when to use this tool. It does not explicitly name alternatives like strava_get_activity_laps or strava_get_activity_streams, but the context is strong enough to guide selection.

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/sivaparthi/stravamcp'

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