Skip to main content
Glama
hhopke
by hhopke

Icu Get Activity Intervals

icu_get_activity_intervals
Read-onlyIdempotent

Fetch a per-lap and per-interval breakdown of one activity to compare target versus actual power, heart rate, or pace and verify workout compliance.

Instructions

Fetch the per-LAP / per-interval breakdown of one activity — each segment with its target, actual power/HR/pace, and type (warm-up / work / rest / cool-down).

Use for workout-compliance analysis, lap-by-lap review, "did I hit my intervals?". For headline summary metrics use get_activity_details; for raw second-by-second data use get_activity_streams.

Input Schema

NameRequiredDescriptionDefault
activity_idYesActivity ID to fetch intervals for

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the lower bar applies. The description adds useful behavioral context about the returned structure: per-lap segments with targets, actual values, and interval types. It does not mention authentication or rate limits, but those are less central here.

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 front-loaded and compact. The first sentence states the main operation and return shape; the second gives usage cases; the third routes to alternatives. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple one-parameter schema, existing output schema, and clear annotations, the description is complete enough for an agent to select and call the tool correctly. It explains the tool's distinct role relative to nearby activity-data 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?

There is one required parameter and schema description coverage is 100%, so the schema already explains activity_id. The description reinforces that the tool operates on one activity, but it does not add format, validation, or lookup guidance beyond the schema.

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 uses a specific verb and resource: fetch the per-lap/per-interval breakdown of one activity. It clearly states what each segment contains (target, actual power/HR/pace, segment type) and distinguishes this from summary metrics and raw streams.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit use cases such as workout-compliance analysis, lap-by-lap review, and checking whether intervals were hit. It also names alternatives directly: get_activity_details for headline summary metrics and get_activity_streams for raw second-by-second data.

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

Deploy Server

Other Tools