Skip to main content
Glama
kavakoss

mcp-garmin-connect

by kavakoss

get_sleep

Retrieve sleep duration and sleep scores for the last N days to track rest quality and recovery trends from Garmin Connect.

Instructions

Sleep duration and sleep scores for the last N days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLookback window in days.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • addedInput schema / properties / days / description
      Added value: +"Lookback window in days."
    • addedInput schema / properties / days / maximum
      Added value: +30
    • addedInput schema / properties / days / minimum
      Added value: +1
  2. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: no data source, sync freshness, timezone handling for sleep windows, or permissions. It only restates the resource and the lookback window, leaving the read semantics to be assumed.

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?

A single front-loaded sentence with no filler; the resource and scope come first. It is a fragment rather than a full sentence, but nothing in it is wasted.

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?

For a one-parameter read tool with an output schema and full schema coverage, the description covers what the agent needs to call it correctly. The remaining gap is routing among the numerous sibling summary tools, which is a usage rather than a completeness problem.

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 100%, and the days parameter is fully documented in the schema with a default of 7 and a 1-30 range. The description's 'last N days' merely echoes the schema, adding no format or interpretation detail, so the baseline 3 applies.

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 concrete resource (sleep) plus the two data types returned (duration and scores) and the scope (last N days). It is clearly distinguishable from siblings like get_activity_detail or get_stress by resource, though it never names an alternative to route between them.

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 exclusions, and no mention of the many overlapping siblings (get_recovery, get_health_summary, get_full_snapshot). The agent must infer that this is the sleep-specific read tool purely from the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.