Skip to main content
Glama

Export an activity as GPX

garmlink_activity_gpx
Read-only

A downloadable GPX 1.1 track for ONE activity — the file Strava, Komoot, RideWithGPS and every mapping tool import. Returns a signed download link valid one hour (NOT the file itself: a long ride is megabytes of XML), plus the track's point count, distance and bounding box. The download_url field is a plain URL to the file. Indoor sessions have no GPS and come back as no_track (an expected outcome, not an error).

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

Input Schema

NameRequiredDescriptionDefault
activity_idYesThe garmin_activity_id from garmlink_activities_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/destructiveHint annotations: discloses that the response is a signed URL valid for one hour rather than file bytes, explains why (megabyte-sized XML), enumerates the accompanying metadata (point count, distance, bounding box), and names the `no_track` sentinel as an expected outcome. It also clarifies that `download_url` is a plain URL, removing ambiguity about the field's form.

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?

Front-loads what the tool produces and what callers do with it, then layers the important caveats (link, not file; expiry; indoor sessions). Every clause carries information an agent needs — the parentheticals explain rather than pad.

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?

No output schema exists, yet the description still covers the return shape (download link, point count, distance, bounding box) and the notable non-happy-path response. For a single-parameter, read-only export tool, nothing needed to call it 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?

Schema coverage is 100% and the single `activity_id` parameter is documented in the schema with its source (garmin_activity_id from garmlink_activities_list). The description reinforces the one-activity scope but adds no new syntax or format detail, so the baseline 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 — a downloadable GPX 1.1 track for exactly one activity — and immediately frames it by consumer (Strava, Komoot, RideWithGPS import). The 'ONE activity' emphasis and 'the file ... import' phrasing make clear it is not the JSON activity detail tools listed as siblings.

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?

Gives clear context for when this is the right call (you need a file to import into a mapping tool) and warns that indoor sessions legitimately return `no_track`, which prevents an agent from retrying a non-error. It does not explicitly say 'use garmlink_activity_get instead for JSON data', so sibling routing is left implicit.

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