Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_activity_swim_details

Read-only

Retrieve detailed lap-swimming activity data by activity ID, including swim metrics and optional chart/polyline limits, to analyze pool workouts without pulling full raw payloads.

Instructions

[read-only] Return details for a lap-swimming activity. Signature: get_activity_swim_details(activity_id: int | str, maxchart: int = 2000, maxpoly: 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_swim_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxpolyNo
maxchartNo
activity_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so '[read-only]' merely repeats structured data. The description adds a type signature and default values but says nothing about what 'details' actually contain, why maxchart/maxpoly exist, or what happens when a swim activity is passed versus a non-swim one — behavior well beyond the annotations is left undisclosed.

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 lines, front-loaded with the purpose, and the signature is easy to scan. The bracketed '[read-only]' tag and the signature echo the annotations and schema, slightly reducing the value of the space used.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and a return type of only dict[str, Any], the description must explain what is returned, and it does not. Combined with 0% parameter coverage and undocumented maxchart/maxpoly semantics, an agent cannot predict the response shape or the effect of tuning those limits.

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

Parameters2/5

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

Schema description coverage is 0%, so the description bears the full burden, yet it only restates parameter names, types and defaults. The cryptic parameters maxchart (default 2000) and maxpoly (default 4000) are never explained — nothing indicates they cap chart data points or polyline coordinates, or what a smaller value trades away.

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 gives a specific verb and resource: 'Return details for a lap-swimming activity.' The swim-specific scope distinguishes it from the generic get_activity_details sibling, though it never names that sibling or any other alternative to disambiguate explicitly.

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 by the resource qualifier 'lap-swimming activity' — an agent can infer it should be called for swim activities rather than runs or rides. There is no explicit when-to-use statement, no prerequisite (such as needing an activity_id sourced elsewhere), and no routing to or from alternatives.

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