Skip to main content
Glama
adrienlupo

mcp-strava

by adrienlupo

list_activities

Retrieve Strava activities with filters by calendar week or date range, and pagination. Returns activity details including distance, time, elevation, speed, heartrate, and power.

Instructions

List activities with filtering and pagination. Returns: id, name, type, sport_type, start_date, distance (m), moving_time (s), elapsed_time (s), total_elevation_gain (m), average_speed (m/s), heartrate, watts. Use week_offset for calendar weeks (0=this week, -1=last week). Monday-Sunday.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of activities to return (1-200, default: 10). For 'recent' or 'last N' queries, set this limit without date filters. Ignored when week_offset is set or both before/after are provided (fetches all in range).
week_offsetNoGet activities from a specific calendar week (Monday-Sunday). 0 = this week, -1 = last week, -2 = two weeks ago, etc. PREFERRED for week-based queries. When set, 'before' and 'after' are ignored.
beforeNoISO date string (e.g., '2024-12-31'). Activities before this date (exclusive). Ignored if week_offset is set. Use for custom date ranges only.
afterNoISO date string (e.g., '2024-01-01'). Activities after this date. Ignored if week_offset is set. Use for custom date ranges only.
pageNoPage number for pagination (default: 1). Use to access older activities beyond the limit. Example: limit=10, page=2 returns activities 11-20.
Behavior3/5

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

No annotations provided; description carries full burden. It lists returned fields and mentions pagination, but does not explicitly state the operation is read-only or disclose any potential side effects. The absence of behavioral flags is acceptable for a list tool but could be improved.

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?

Three sentences that efficiently convey purpose, return fields, and key usage guidance without redundancy or unnecessary detail.

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

Completeness3/5

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

Lists returned fields which is helpful given no output schema, but does not mention default ordering (e.g., most recent first) or behavior when no activities match. Sibling tools are distinct, so context is adequate but not fully complete.

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

Parameters4/5

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

Schema coverage is 100%, but the description adds valuable context: clarifies week_offset usage, calendar week definition (Monday-Sunday), and when limit is ignored. This enhances understanding beyond the schema descriptions alone.

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 succinctly states it lists activities with filtering and pagination and enumerates the returned fields. It does not explicitly differentiate from siblings like get_activity_detail, but the verb 'list' and field list imply this is the main listing tool.

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?

Provides explicit guidance on using week_offset for calendar weeks and explains parameter interactions (limit ignored when week_offset or both before/after are provided). Lacks explicit alternatives or when-not-to-use scenarios for sibling tools.

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

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