Skip to main content
Glama

get_activity_details

Retrieve chart metrics, sample data, and GPS polyline for a specific Garmin activity by ID to analyze performance or map routes.

Instructions

Get chart metrics, samples, and GPS polyline for a specific activity.

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

Input Schema

NameRequiredDescriptionDefault
activityIdYesGarmin activity ID
maxChartSizeNoMax number of chart samples
maxPolylineSizeNoMax number of polyline points

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it only partially does so. It usefully enumerates the return content (metrics, samples, polyline), but says nothing about read-only semantics beyond the verb 'Get', authentication requirements, or what happens when large activities exceed the sample/polyline limits.

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 no filler and no redundancy. The resource list comes before the scope qualifier, so the key information lands first.

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 no output schema, the description does the minimum by naming the returned data, and all three parameters are covered by the schema. However, for a tool that can return large chart-sample and polyline payloads, the absence of any note on truncation or size behavior leaves a real gap.

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 activityId, maxChartSize, and maxPolylineSize are already documented in the schema. The description adds no meaning beyond that — in particular it never explains that the two size parameters exist to cap response size.

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?

Uses a specific verb ('Get') with a concrete resource list ('chart metrics, samples, and GPS polyline') scoped to 'a specific activity'. That is enough to distinguish it from summary-level siblings like get_activity or get_activity_splits, though no sibling is named 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 or when-not-to-use guidance and no mention of alternatives such as get_activity or get_activity_splits. The only implied usage is 'for a specific activity', which the required activityId parameter already conveys.

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