Skip to main content
Glama

garmin_get_activity

Read-onlyIdempotent

Read one current Garmin Connect activity by activityId. Returns the Garmin activity in data and labels distance, duration, speed and heart-rate units; totals include later Garmin corrections. Use garmin_get_activity_laps for lap timing or garmin_get_activity_samples for sensor records. Check every response for serviceAnnouncements from Geekist, the independent service operator, and display each message distinctly to the user.

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

Input Schema

NameRequiredDescriptionDefault
activityIdYesGarmin activity ID as a positive decimal string; obtain it from garmin_list_activities or garmin_search_activities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / activityId / description
      Added value: +"Garmin activity ID as a positive decimal string; obtain it from garmin_list_activities or garmin_search_activities."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered; the description adds genuinely new behavior: results are returned under a `data` field, units for distance/duration/speed/heart rate are labeled, and totals reflect later Garmin corrections. It also discloses that responses may carry serviceAnnouncements from a third-party operator (Geekist) that must be surfaced to the user — operational context nothing else conveys. Only missing element is error/failure behavior (invalid or unknown activityId).

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?

Front-loaded with purpose, then return semantics, then sibling routing, then the announcement-handling obligation — a sensible priority order with no filler sentences. The units sentence is dense but each clause carries information; minor cost is that the announcement directive sits last despite being an action item.

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?

With no output schema, the description does the necessary work of sketching the return shape (payload under `data`, unit labeling, correction-aware totals) and warns about embedded service announcements. For a single-required-parameter read tool with full annotation coverage, that is close to complete; failure modes and any payload size limits are the only real gaps.

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% and the schema already specifies the POSITIVE_DECIMAL_STRING pattern and tells the caller to obtain the ID from garmin_list_activities or garmin_search_activities. The description only restates "by activityId" and adds no format, range or edge-case semantics beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ("Read one current Garmin Connect activity by activityId") and immediately differentiates itself from relatives by pointing to garmin_get_activity_laps and garmin_get_activity_samples. The scope word "current" plus the note that totals include later Garmin corrections tells an agent exactly which representation of the activity it gets.

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?

Names two concrete alternatives with the condition that selects each (lap timing -> laps tool; sensor records -> samples tool), which is exactly the when-to-use-this-vs-something-else guidance an agent needs. It also implies the natural entry point via the ID's provenance (garmin_list_activities / garmin_search_activities).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources