Skip to main content
Glama
eddmann

intervals-icu-mcp

by eddmann

get_activity_streams

Retrieve second-by-second time-series data for an activity, including power, heart rate, cadence, speed, and altitude, to enable detailed workout analysis and visualization.

Instructions

Get time-series data streams for an activity.

Returns second-by-second data for various metrics like power, heart rate, cadence, speed, altitude, etc. This data is essential for detailed workout analysis and visualization.

Available stream types:

  • watts: Power data

  • heartrate: Heart rate data

  • cadence: Cadence (rpm or spm)

  • velocity_smooth: Smoothed speed

  • altitude: Elevation

  • distance: Cumulative distance

  • time: Time stamps

  • latlng: GPS coordinates

  • temp: Temperature

  • moving: Moving status

  • grade_smooth: Gradient

Args: activity_id: The unique ID of the activity streams: Optional list of specific stream types to fetch

Returns: JSON string with time-series data streams

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
streamsNoList of stream types (e.g., ['watts', 'heartrate', 'cadence']). If not specified, all streams are fetched.
activity_idYesActivity ID to fetch streams for

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden and does well by explaining the return format, listing stream types, and clarifying that omitting streams fetches all. It doesn't mention error handling or auth, but the read-only nature is clear and the behavioral details are solid.

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 well-structured with a clear opening, explanatory note, bulleted stream list, and Args/Returns sections. It's detailed but every element serves a purpose, with no fluff.

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?

For a two-parameter tool with an output schema, the description covers purpose, parameters, and return type comprehensively. It misses explicit sibling differentiation and edge-case behavior, but overall it's complete enough for an agent to select and invoke correctly.

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

Parameters5/5

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

Despite 100% schema coverage, the description adds significant meaning by enumerating each valid stream type with its unit/meaning (e.g., 'watts: Power data'), which the schema alone doesn't provide. It also confirms the default behavior of the streams parameter.

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 opens with a specific verb and resource: 'Get time-series data streams for an activity.' It lists all stream types, clearly distinguishing this from sibling tools like get_activity_details or get_activity_intervals by focusing on raw time-series data.

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?

States the data is 'essential for detailed workout analysis and visualization,' providing clear context for when to use the tool. However, it does not explicitly name alternatives or exclusion criteria, so it lacks the explicit when-not-to-use guidance.

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/eddmann/intervals-icu-mcp'

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