Skip to main content
Glama
Intervals.icu MCP Server

Intervals.icu MCP Server

by jiaweitao001

get_activities

Retrieve all training activities within a specified date range and return basic metrics such as type, distance, time, heart rate, and power for review and analysis.

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": {
      "oldest": "<oldest>"
    },
    "name": "get_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
newestNo最新日期,ISO-8601格式 (如: 2024-12-31),可选,默认为今天
oldestYes最早日期,ISO-8601格式 (如: 2024-01-01)

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 exist, so the description carries the full behavioral burden. It does usefully disclose that this is a list read returning type, distance, time, heart rate and power fields (helpful since there is no output schema), but it is silent on result limits, ordering, pagination, and authentication requirements for a potentially large dataset.

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?

Two short sentences: the first front-loads the action and scope, the second covers the return payload. No filler, though the return-value sentence is somewhat vague with '如...等' (such as ... etc.) rather than enumerating fields precisely.

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 gives the essential shape of the response, which is the right instinct. However, it omits what an agent would need to call it well at scale — result caps, ordering, and whether the date range is inclusive — leaving real gaps.

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 both 'newest' and 'oldest' documented in the schema including the default-today behavior for 'newest'. The description only restates the date-range concept, adding no formatting or semantics beyond what the schema already provides, so the 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?

The description names a specific verb+resource (获取...活动列表) and constrains it to a date range, with a parenthetical clarifying that activities are training records. It also signals that only basic info is returned, which implicitly contrasts with the detail-oriented siblings, though it never names them explicitly.

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?

Usage is only implied: the mention of '基本信息' (basic info) hints that richer per-activity data lives elsewhere, but the description never states when to prefer this tool over get_activities_with_details, get_recent_activities_with_details, or search_activities. No exclusions or prerequisites are given.

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