Skip to main content
Glama

download_activity_file

Download Garmin activity files (zip, GPX, TCX, or KML) to the allowed download directory or a specified subdirectory for offline use.

Instructions

Download an activity file (zip/fit, gpx, tcx, or kml) into the allowed download directory (GARMIN_DOWNLOAD_DIR or ~/Downloads/garmin-mcp).

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

Input Schema

NameRequiredDescriptionDefault
dirNoOptional subdirectory inside the allowed download root (defaults to ~/Downloads/garmin-mcp or GARMIN_DOWNLOAD_DIR)
formatNoFile format to download (default: zip)zip
activityIdYesGarmin activity ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose a genuinely useful behavioral trait: writes are confined to an allowed download root (GARMIN_DOWNLOAD_DIR or ~/Downloads/garmin-mcp). It says nothing about overwrite behavior, whether directories are created, error cases for invalid activity IDs, or what the response contains.

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 with the core action first and the destination constraint second. No redundant or filler wording; the parenthetical env-var/default is compact and useful.

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 simple three-parameter tool with full schema coverage, the description covers purpose, formats, and destination. With no output schema, it should still say what comes back (e.g., the resolved file path) and whether an existing file is overwritten, which are the main remaining 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 description coverage is 100%, so all three parameters are already documented inline; baseline 3 applies. The description adds marginal value by restating the format list and the download root, but the mention of 'fit' alongside 'zip' is not an enum option and could momentarily confuse an agent reading both.

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 ('Download') and a specific resource ('activity file'), and enumerates the supported formats. The 'activity' qualifier implicitly separates it from siblings like download_course_gpx and download_workout, though it never names an alternative explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no routing advice relative to the many sibling tools (e.g., get_activity vs get_activity_details vs this downloader). The only guidance-like content is the destination constraint, which is about behavior, not tool selection.

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