Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_activity_subsecond_details

Read-only

Retrieve sub-second Garmin activity samples when metadata reports availability; use maxchart to limit returned chart points for detailed timing analysis.

Instructions

[read-only] Return sub-second samples (only when metadataDTO.hasSubsecondData). Signature: get_activity_subsecond_details(activity_id: int | str, maxchart: int = 2000) -> 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_subsecond_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxchartNo
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, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds one real behavioral fact beyond that — the hasSubsecondData gating condition — but says nothing about payload shape or what happens when the flag is false.

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?

The gating condition is front-loaded and the whole definition is two compact lines with no filler. The signature restatement duplicates structured data slightly, but the cost is low.

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 two-parameter read tool with annotations and no output schema, the definition covers the essential precondition. It remains incomplete on what maxchart controls and what the sub-second sample records contain, leaving an agent guessing at invocation semantics.

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 must carry parameter meaning, but it largely restates the signature. Critically, 'maxchart' is never explained (presumably a cap on chart points), and the stated type 'int | str' for activity_id conflicts with the schema's string-only declaration.

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 states a specific verb and resource: it returns sub-second samples for an activity, and it names the gating field metadataDTO.hasSubsecondData. It does not distinguish this from the many sibling detail endpoints (e.g. garmin_activity_timeseries), which keeps it short of a 5.

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?

The precondition "only when metadataDTO.hasSubsecondData" tells the agent when the call will yield data, which is genuinely useful. However, it offers no guidance on when to pick this over the sibling timeseries/details endpoints, or what to do when the flag is false.

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