Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_activity_laps

Read-only

Retrieve lap-level details for a specific Garmin activity to analyze splits, pacing, and segment performance.

Instructions

[read-only] Return the laps of an activity (lapDTOs). Signature: get_activity_laps(activity_id: int | str) -> 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_laps"
  }
}

Input Schema

NameRequiredDescriptionDefault
activity_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the '[read-only]' tag repeats structured data rather than adding context. The one piece of real added value is naming the return key 'lapDTOs', which hints at the payload shape in the absence of an output schema, but nothing is said about lap segmentation rules, pagination, or errors.

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

Conciseness4/5

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

Two compact, front-loaded lines with no filler; the resource and return key come first. The 'Signature:' line is boilerplate that partly duplicates the schema, but its type union adds information the schema lacks.

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?

For a simple single-parameter read tool the definition is adequate: it names the resource and the return key, and annotations cover the safety profile. It still lacks any note on what qualifies as a lap or what the caller receives when laps are unavailable, and no output schema exists to fill that 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 0%, so the description must compensate, and it partially does by giving the signature with 'activity_id: int | str' — a wider type than the schema's string. However, it never says where to obtain an activity_id, what format it takes, or what happens for activities without laps.

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?

States a specific verb and resource: 'Return the laps of an activity (lapDTOs)'. The laps concept is distinct from other get_activity_* siblings, but the description never explicitly contrasts itself with get_activity_details or get_activity_segments, so differentiation is left to the tool name.

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 guidance, no prerequisites, and no mention of alternatives such as get_activity_details for overall summary data. The only usage signal is the implied 'call this to get laps,' which an agent must infer from the purpose sentence.

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