Skip to main content
Glama

get_activity

Read-onlyIdempotent

Retrieve detailed data for a single Garmin activity by ID, including duration, distance, pace, heart rate, power, splits, and structured workout steps.

Instructions

T7. Details of one activity by id: duration, distance, pace, speed, heart rate, power, cadence, training effect and load, splits and structured workout steps. Results are informational, not medical advice. Fields Garmin did not record say 'not recorded'; never treat them as zero.

Input Schema

NameRequiredDescriptionDefault
activity_idYesActivity id from list_activities.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive safety, but the description adds genuinely non-obvious semantics: missing fields read as 'not recorded' rather than zero, and results are informational not medical. Both prevent real misinterpretation of the returned data. It does not discuss rate limits or payload size, so not a 5.

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 the core action, then the field inventory, then two short caveats that each earn their place. The leading 'T7.' tag is unexplained internal notation that adds no meaning for an agent calling the tool.

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?

With an output schema present, the description needn't restate return structure, yet it helpfully signals the field categories and, critically, how to interpret absent values. Combined with read-only/idempotent annotations and a fully documented single parameter, nothing needed to call this correctly is missing.

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?

One parameter at 100% schema coverage, and the schema itself explains the id comes from list_activities. The description's 'by id' adds nothing beyond the schema, so this sits at the baseline 3 for well-documented schemas.

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 ('Details of one activity by id') and enumerates exactly what comes back (duration, pace, heart rate, splits, workout steps), which clearly separates it from the sibling list_activities. An agent knows immediately this is the single-record detail fetch.

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?

The 'one activity by id' phrasing plus the schema note tying the id to list_activities gives clear usage context: list first, then fetch details here. It stops short of naming alternatives explicitly or stating when not to use it (e.g., for aggregate ranges), so it is not a full 5.

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