Skip to main content
Glama

garmin_download_activity_file

Read-onlyIdempotent

Download an activity's original Garmin ZIP (.FIT) archive by activity ID, returning archive metadata and optionally bounded base64 bytes when the file is small.

Instructions

Download an activity's original ZIP archive (.FIT) and return its metadata (plus optional bounded base64).

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

Input Schema

NameRequiredDescriptionDefault
activity_idYesNumeric Garmin activityId to download the original ZIP (.FIT) for.
include_base64NoIf true and archive <= 2 MiB, include base64 ZIP bytes. Default false returns archive metadata only.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety and network behavior are covered. The description adds that the base64 payload is optional and bounded, but the actual 2 MiB bound lives in the schema, so the description contributes only modest extra context.

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?

A single front-loaded sentence covering the action, the artifact type, and the return shape, with no filler or repetition.

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?

The tool is simple with two well-documented parameters and an output schema, so the description carries near-full weight. The only meaningful gap is sibling differentiation ('original' file vs parsed activity data), which is left to inference.

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%, so both activity_id and include_base64 are fully documented in the schema, including the 2 MiB gate. The description only echoes 'optional bounded base64' without adding format or semantics beyond what the schema already says, making the baseline 3 appropriate.

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 uses a specific verb and resource ('Download an activity's original ZIP archive (.FIT)') and makes clear it returns the raw archive plus metadata, which distinguishes it in spirit from parsed-activity siblings like garmin_get_activity. It stops short of naming that sibling explicitly, so the contrast is implied rather than stated.

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?

Usage is only implied: an agent can infer this is for retrieving the original file rather than parsed activity data, but there is no explicit 'use this when you need the raw .FIT, use garmin_get_activity for parsed stats' routing. No prerequisites or exclusions are given.

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