Skip to main content
Glama

Get Activity Streams

strava_get_activity_streams
Read-onlyIdempotent

Get high-resolution time-series data for an activity (heart rate, power, cadence, altitude, GPS coordinates, etc.). Data is downsampled if too large. Cache miss normally costs one API request.

Instructions

Get high-resolution time-series data for an activity (heart rate, power, cadence, altitude, GPS coordinates, etc.). Data is downsampled if too large. Cache miss normally costs one API request. Missing stream rate headers mean unknown accounting, not free calls; check strava_sync_status or strava://mirror/budget first.

Input Schema

NameRequiredDescriptionDefault
keysYesStream types to retrieve: time, distance, latlng, altitude, velocity_smooth, heartrate, cadence, watts, temp, moving, grade_smooth
max_pointsNoMaximum data points to return (10-2000, default 500). Streams are downsampled if larger.
activity_idYesThe activity ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv4.4.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / activity_id / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / activity_id / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / keys / maxItems
      Added value: +11
  2. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world, so the bar is lower. The description adds genuinely non-obvious behavior: automatic downsampling of oversized data, a typical cost of one API request per cache miss, and the caveat that missing rate headers mean unknown accounting rather than free calls.

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?

Three sentences, front-loaded with what the tool returns, then cost, then the caching caveat — no padding. The rate-header sentence is dense but earns its place as a caution about misreading absence of headers as zero cost.

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 no output schema, the description carries return-shape responsibility and does state that time-series streams come back downsampled; it does not spell out the per-key array structure, but that is minor for a 3-parameter tool with full schema coverage and complete annotations.

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% and the keys enum plus the 10-2000 max_points range are fully documented in the schema. The description only reinforces the downsampling relationship with max_points; it adds no format or default nuance beyond that, so baseline 3 applies.

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?

States a specific verb and resource ('Get high-resolution time-series data for an activity') and enumerates the stream families returned (heart rate, power, cadence, altitude, GPS). It is clearly distinct from strava_get_activity by virtue of the time-series framing, though it never explicitly contrasts with the other *streams siblings (segment/route streams).

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?

It gives one concrete precondition — consult strava_sync_status or strava://mirror/budget before calling when rate accounting is uncertain — which is real usage guidance. However, there is no guidance on when to prefer this over strava_get_activity (summary only) or strava_get_segment_streams / strava_get_route_streams, so an agent must infer the boundaries.

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