Skip to main content
Glama

get_activity_power_in_timezones

Retrieve time spent in each power zone for a specific Garmin cycling or running activity using its activity ID.

Instructions

Get time spent in each power zone for a specific cycling/running activity.

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": {
      "activityId": "<activityId>"
    },
    "name": "get_activity_power_in_timezones"
  }
}

Input Schema

NameRequiredDescriptionDefault
activityIdYesGarmin activity ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does partially discharge that burden by disclosing the return content (time spent per power zone), which implies a read-only retrieval, but it says nothing about behavior for activities without a power meter, permissions required, or units of the returned time values.

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?

One sentence with no filler, and the resource (power zone time) is front-loaded ahead of the scoping qualifier. It is close to minimal-but-sufficient, though the single clause leaves no room for the usage or return-format details an agent would benefit from.

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

Completeness4/5

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

For a one-parameter read tool with a fully described schema and no output schema, the description covers what it returns (time per power zone) and what it operates on (a specific activity). The main residual gap is the absence of any note about activities lacking power data, which would matter for correct invocation.

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% and the single activityId parameter is fully documented as a "Garmin activity ID." The description adds only the qualifier that the activity is cycling/running in nature, which is marginal meaning beyond the schema, 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 pairs a specific verb with a specific resource: "Get time spent in each power zone" scoped to "a specific cycling/running activity." That is enough for an agent to tell it apart from get_activity_hr_in_timezones (heart-rate zones) and get_power_zones (zone configuration), but the description never names those alternatives, so differentiation must be inferred.

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?

Usage is only implied by the phrase "for a specific cycling/running activity," which communicates scope rather than guidance. There is no explicit statement of when to choose this over get_power_zones, get_power_duration_curve, or get_activity_hr_in_timezones, and no note that the activity must actually contain power 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