Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_activity_power_curve

Read-only

Retrieve the power curve for a single activity by its ID, returning a dict that is empty when the activity has no power data. Use it to inspect power output distribution.

Instructions

[read-only] Return the power curve of one activity (empty without power data). Signature: get_activity_power_curve(activity_id: int | str) -> dict[str, Any]

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

Input Schema

NameRequiredDescriptionDefault
activity_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered elsewhere. The description adds one real behavioral fact — the empty result when power data is absent — but says nothing about the shape or size of the returned curve, which matters for a timeseries-like payload.

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?

The core sentence is front-loaded and free of padding. However, the '[read-only]' prefix duplicates readOnlyHint and the 'Signature:' line restates the schema, so a small fraction of the text does not earn its place.

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 one-parameter read tool with no output schema this is close to adequate — the empty-result condition is the key operational fact. It is still thin on what the curve actually contains (units, buckets, sorting), which the agent cannot get from the bare dict[str, Any] return type.

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 0% and the schema only types activity_id as a string, so the description does useful work by widening it to 'int | str'. Beyond that it adds no meaning about what the identifier refers to or where to obtain it.

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?

States a specific verb and resource ('Return the power curve of one activity') and adds a scope qualifier that separates it from aggregate siblings such as get_power_curve for a user. It stops short of naming that sibling, so the agent must infer the distinction rather than being told.

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?

The parenthetical '(empty without power data)' is genuine conditional guidance — it tells the agent what to expect when the activity lacks a power meter. There is no explicit statement of when to prefer this over get_power_curve or get_power_zones, so usage remains implied.

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