Skip to main content
Glama
Intervals.icu MCP Server

Intervals.icu MCP Server

by jiaweitao001

get_activity_streams

Retrieve detailed time-series activity data streams—such as heart rate, power, speed, cadence, altitude, distance, and time—for a specified activity ID to analyze training performance.

Instructions

获取活动的详细数据流,如心率、功率、速度、海拔等随时间变化的数据

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "activity_id": "<activity_id>"
    },
    "name": "get_activity_streams"
  }
}

Input Schema

NameRequiredDescriptionDefault
typesNo需要的数据流类型,如: watts, heartrate, cadence, speed, altitude, distance, time
activity_idYes活动ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does disclose what is returned (metric streams over time), which is the most important behavioral fact for this tool. It is silent on volume/size of the response, what happens when requested stream types are unavailable for an activity, and default behavior when types is omitted — relevant gaps for a potentially large time-series payload.

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?

A single, front-loaded sentence with no filler; the resource is stated first and the examples follow. It is efficient, though the brevity leaves the behavioral gaps noted above unaddressed.

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?

For a simple two-parameter read tool with no output schema, the description covers what the tool returns, which is the core need. It falls short on stream availability, behavior when types is unspecified, and how this differs from sibling detail/interval tools.

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 description coverage is 100%, so both activity_id and types are already documented in the schema, establishing a baseline of 3. The description's examples (心率、功率、速度、海拔) loosely echo the schema's type list but add no semantics about filtering, default set, or whether non-existent types cause errors.

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?

Uses a specific verb ('获取') plus a specific resource ('活动的详细数据流') and enumerates the kinds of streams returned (心率、功率、速度、海拔), so the agent knows this is a time-series retrieval tool rather than a summary tool. It does not explicitly name or contrast with siblings such as get_activity_detail or get_activity_intervals, so differentiation is inferred rather than stated.

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?

The '随时间变化的数据' phrasing implicitly signals when to use it (time-series per-second/per-sample metrics), but there is no explicit when-to-use, when-not-to-use, or alternative routing. The agent must infer that summary-level needs belong to get_activity_detail instead.

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