Skip to main content
Glama
garmin-connect-mcp

garmin-connect-mcp

by Samiu1

Get Activity Detail

garmin_get_activity
Read-onlyIdempotent

Retrieve a Garmin Connect activity by ID to inspect summary metrics or all available sport-specific fields, with optional structured workout steps.

Instructions

Get one activity in detail by its ID, optionally with its structured workout steps.

detail_level="summary" (the default) returns the sport-agnostic key fields: the activity's identity and type, plus the figures Garmin groups under summaryDTO -- distance, duration, calories, heart rate, speed, elevation and training effect. detail_level="full" returns all available fields, which for a single activity can exceed 200 properties covering dive, golf, and other sport-specific sensors.

Use garmin_search_activities to find activity IDs.

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

Input Schema

NameRequiredDescriptionDefault
activity_idYesGarmin activity ID, e.g. 123456789
detail_levelNo'summary' for sport-agnostic key fields, 'full' for every field Garmin returnssummary
response_formatNo'markdown' for readable text, 'json' for the exact Garmin field names and valuesmarkdown
include_workoutsNoAlso fetch the activity's structured workout steps, when it followed a workout
include_empty_fieldsNoKeep fields Garmin returned as null or empty. Off by default, since unsupported sensors on the user's device produce large runs of nulls. Turn on only to inspect raw shape.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile needs no restatement. The description adds genuine payload context: the default summary bucket follows Garmin's summaryDTO grouping, and full can exceed 200 properties spanning sport-specific sensors. It does not mention rate limits or cost of the full fetch, but the size warning covers the main operational hazard.

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?

Three short paragraphs, front-loaded with the core action, then the detail-level tradeoff, then the dependency for finding IDs. There is mild overlap with the schema on detail_level, but no sentence is wasted.

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 carries return-value burden and does explain the field grouping per detail level, which is the key thing an agent needs. It leaves response_format selection to the schema and says nothing about output size limits or truncation behavior for very large listings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still adds value by enumerating which categories summary actually contains and by quantifying the full-level expansion. It also justifies the include_empty_fields default (large runs of nulls from unsupported sensors), which is meaning beyond the schema's terse wording.

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 opens with a specific verb and resource ("Get one activity in detail by its ID") and immediately qualifies it with the optional workout-steps expansion. It also names garmin_search_activities as the ID-lookup sibling, so the agent can distinguish it from other retrieval tools without opening a schema.

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

Usage Guidelines4/5

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

It gives explicit routing guidance to garmin_search_activities for obtaining IDs and explains when the two detail levels are appropriate (summary for sport-agnostic fields, full for sport-specific sensors). It stops short of stating exclusions, such as when to prefer garmin_get_raw or garmin_download_activity_file instead.

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