Skip to main content
Glama
This connector has been deprecated

Replaced by garmlink.

Duplicate listing of the same server (same endpoint, https://api.garmlink.ai/mcp). garmlink is maintained under ai.garmlink.api/garmlink.

Get one activity

garmlink_activity_get
Read-only

Full detail for a single activity: the summary (nulls stripped) plus splits, typed splits and HR zones (weather on request via include). Several activities at once: garmlink_activities_get (batch form of this tool). Sample-by-sample data: garmlink_activity_timeseries.

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

Input Schema

NameRequiredDescriptionDefault
includeNoDetail sections to return — the array passed replaces the default ["splits","typed_splits","hr_zones"], so a section left out of it is not returned. Weather is served only when asked for (e.g. ["splits","typed_splits","hr_zones","weather"], or ["weather"] alone for a conditions-only question).
activity_idYesThe garmin_activity_id from garmlink_activities_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description still adds real behavior beyond that, notably that nulls are stripped from the summary and that weather is only served when explicitly requested. It does not say what happens when an omitted section is later needed or how failures surface, which keeps it at 4 rather than 5.

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?

Three short, front-loaded sentences: the primary behavior first, then two disambiguating alternatives phrased in the same 'X: tool' pattern. Fragment style is deliberate and no sentence is redundant.

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?

With no output schema, the description carries the return-shape burden and does so (summary plus the three default sections, weather optional). For a 2-parameter read tool with full annotations this is close to sufficient; only failure modes and pagination-style concerns are unaddressed, and those are largely irrelevant here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description adds value by flagging that the `include` array is the switch for weather and by pairing that with the costs of not asking. It does not restate the replace-the-default list semantics, but the important non-obvious parameter effect is surfaced in the prose.

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 ('Full detail for a single activity') and enumerates exactly what is returned: summary with nulls stripped, splits, typed splits, HR zones, plus optional weather. It explicitly distinguishes itself from garmlink_activities_get (batch) and garmlink_activity_timeseries (sample-by-sample), so an agent can separate the three siblings without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit routing: multiple activities → garmlink_activities_get, sample-by-sample data → garmlink_activity_timeseries, conditions-only question → include ["weather"]. The only mild gap is that error behavior for an unknown activity_id is not covered, but the when-to-use guidance itself is complete.

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.