Skip to main content
Glama
Intervals.icu MCP Server

Intervals.icu MCP Server

by jiaweitao001

check_activity_source

Check an activity's data source to determine whether it came from Strava and is subject to API restrictions before analyzing or exporting it.

Instructions

检查活动的数据来源,判断是否来自 Strava(受 API 限制)

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": "check_activity_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 full burden. It does add useful behavioral context that the Strava source carries API restrictions, which is the main reason to call this tool, but it never states whether the operation is read-only, what the result looks like (boolean vs source label), or how non-Strava sources are reported.

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 short sentence, front-loaded with the verb and the object of the check, with the rationale in a parenthetical. Nothing is padded, though the sentence is terse enough to leave gaps.

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 one-parameter tool this covers the 'what', but with no output schema the description should say what result to expect (a flag, a source identifier, or an error for missing data) and what the Strava restriction implies for the caller. Without that, an agent cannot fully plan around the call.

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?

There is a single required parameter with 100% schema description coverage, so the schema already fully documents activity_id. The description adds no format, type, or lookup semantics beyond that baseline.

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 and resource: check an activity's data source and determine whether it originates from Strava. That is clear and distinguishable in intent from the surrounding get_activity_* read tools, though it does not explicitly contrast itself with any sibling.

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 parenthetical 'API restricted' hints that this check matters before calling Strava-dependent tools, but nothing states when to use this versus just calling get_activity_detail, nor any exclusions or prerequisites.

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