Skip to main content
Glama
Intervals.icu MCP Server

Intervals.icu MCP Server

by jiaweitao001

get_activity_detail

Retrieves full details and complete statistics for a single activity by its activity ID, so you can review one training session's data.

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_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
activity_idYes活动ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full load of behavioral disclosure. It confirms this is a read of one activity and mentions 'complete statistics', but says nothing about what those statistics include, whether streams and intervals are excluded, or what happens when the activity_id is invalid.

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?

One short, front-loaded sentence with no filler. Nothing in the text is redundant.

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 single-resource read with no output schema and no annotations, the definition is minimally adequate. It does not explain what 'complete statistics' covers or how this endpoint relates to the many activity-detail siblings, which is the main remaining gap.

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% for the single activity_id parameter, so the schema itself defines the only input. The description adds no format, provenance, or lookup semantics beyond what the schema already states.

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 states a specific verb and resource: retrieve detailed information for a single activity, including complete statistics. That clearly separates it from list-style siblings such as get_activities, but it does not distinguish it from other single-activity siblings like get_activity_intervals, get_activity_streams, or get_activity_power_curve, so an agent cannot tell which single-activity endpoint to choose.

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?

There is no explicit guidance on when to use this tool instead of alternatives, and no mention of prerequisites or exclusions. The usage is only implied by the word 'single', which is insufficient given the crowded set of activity-related siblings.

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