Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_activity_map_details

Read-only

Retrieve an activity's polyline and heat map without chart data, with optional point limits, to visualize route and location density from a Garmin activity ID.

Instructions

[read-only] Return the polyline and heat map of an activity without the charts. Signature: get_activity_map_details(activity_id: int | str, maxpoly: int = 4000, max_heat_map: int = 4000) -> dict[str, Any]

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

Input Schema

NameRequiredDescriptionDefault
maxpolyNo
activity_idYes
max_heat_mapNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so '[read-only]' is largely redundant. The description does add useful scope ('without the charts'), but it says nothing about what maxpoly/max_heat_map do when exceeded (truncation, simplification, or error) or about authorization/rate-limit behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded and earns its place, including the exclusion of charts. The second 'Signature:' sentence largely re-serializes the input schema and output type, adding length without much new information.

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?

With three parameters at 0% schema documentation and no output schema, the description covers the high-level payload (polyline plus heat map) but leaves the return dict's keys and the two limit parameters' behavior undefined. It is adequate for a simple read but not fully self-contained.

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 0%, so the description must carry parameter meaning, and it only restates the signature (names, types, defaults) — information the schema already exposes. It never explains what maxpoly and max_heat_map actually control (e.g. maximum point count before downsampling) or what activity_id accepts.

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 states a concrete verb and resource ('Return the polyline and heat map of an activity') and adds a scoping qualifier ('without the charts'). An agent can tell it returns map geometry rather than chart data, though no sibling (e.g. get_activity_polyline) is named to sharpen the distinction.

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: 'without the charts' suggests this is the choice when map data is needed but chart series are not. There is no explicit when-to-use, no prerequisite statement, and no named alternative such as get_activity_polyline or get_activity_details, so the agent must infer 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