Skip to main content
Glama

strava_activity_search

Read-only

Search your Strava activity history using filters for name, sport type, gear, distance, elevation, and time range to find specific past activities.

Instructions

Search bounded activity history by name, sport type, gear, distance, and elevation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterYesUnix timestamp lower bound. Required so summaries do not accidentally fetch full history.
limitNoMaximum compact rows returned. Defaults to 25.
queryNoCase-insensitive search over activity name and sport type.
beforeNoOptional Unix timestamp upper bound.
sourceNoActivity source. Defaults to cache_then_api.
gearIdsNoOptional Strava gear_id allowlist.
maxPagesNoMaximum Strava activity-list pages to fetch. Defaults to 20.
sportTypesNoOptional Strava sport_type allowlist, such as Run, TrailRun, Ride, or MountainBikeRide.
maxDistanceMilesNoMaximum activity distance in miles.
minDistanceMilesNoMinimum activity distance in miles.
minElevationFeetNoMinimum elevation gain in feet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

The readOnlyHint annotation already indicates a safe read operation. The description adds no further behavioral details (e.g., pagination, rate limits, caching behavior). Given the annotation, the description meets a baseline but does not exceed it.

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, concise sentence that packs all essential filter dimensions without fluff. It is well-structured and immediately understandable.

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?

There is no output schema, and the description does not specify what the search returns. While the name 'activity_search' implies activity objects, the absence of any return format description leaves some ambiguity.

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?

Schema coverage is 100% with descriptions for each parameter. The tool description does not add additional meaning beyond the schema, so the baseline score of 3 is appropriate.

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 states the verb 'search' and the resource 'activity history', and specifies the filter dimensions (name, sport type, gear, distance, elevation). It does not explicitly contrast with sibling tools like strava_recent_activities, but the purpose 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 Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives. It does not mention that it is appropriate for filtered/bounded searches or that strava_recent_activities might be simpler for unfiltered lists.

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