Skip to main content
Glama

Get several activities at once

garmlink_activities_get
Read-only

Batch form of garmlink_activity_get: full detail for up to 20 activities in one call — summaries (nulls stripped) plus splits, typed splits and HR zones per activity (weather via include). One round trip covers all the ids. Ids the user does not own come back in not_found.

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_ids": "<activity_ids>"
    },
    "name": "garmlink_activities_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_idsYesgarmin_activity_ids from garmlink_activities_list, returned in the order given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changed
    • changedInput schema / properties / activity_ids / description
      Previous value: -"garmin_activity_ids from garmlink_activities_list, in the order you want them back."New value: +"garmin_activity_ids from garmlink_activities_list, returned in the order given."
    • changedInput schema / properties / include / description
      Previous value: -"Detail sections to return — the array you pass REPLACES the default [\"splits\",\"typed_splits\",\"hr_zones\"], so list everything you want. Weather is served only when asked for (e.g. [\"splits\",\"typed_splits\",\"hr_zones\",\"weather\"], or [\"weather\"] alone for a conditions-only question)."New value: +"Detail 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)."
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnly/destructive annotations it discloses real behavior: summaries come with nulls stripped, weather is only served when requested via include, and ids the user does not own are reported in `not_found` rather than raising an error. It does not say what happens on partial failures or how large the payload can get, which keeps it below a 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?

Two dense sentences, front-loaded with the identity and limit, then the return shape and the edge case. No filler or repetition of schema text.

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?

With no output schema, the description must describe the return shape, and it does: summaries, splits, typed splits, HR zones per activity, optional weather, plus the `not_found` bucket. That is everything needed to call it correctly and interpret the result.

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% with enums on `include`, so the schema already carries the syntax. The description still adds meaning by stating which sections come back by default and that weather is opt-in, which is the operational fact an agent most needs.

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?

Names a specific resource and verb ('Batch form of garmlink_activity_get: full detail for up to 20 activities') and explicitly positions itself against the single-activity sibling, so an agent can choose between them without opening either schema.

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?

The 'batch form of garmlink_activity_get' framing plus the 20-id cap and 'one round trip covers all the ids' gives clear context for choosing this over the single-get sibling. It stops short of an explicit rule (e.g. 'use this whenever you have more than one id'), leaving that step to inference.

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