Skip to main content
Glama
garmin-personal-mcp

garmin-personal-mcp

by nikakhachi

Sleep by night

get_sleep
Read-onlyIdempotent

Retrieve nightly sleep details for a date range (default last 7 nights): duration, stages, bedtime/wake time, respiration, resting heart rate, score, naps, and HRV for sleep analysis.

Instructions

Get nightly sleep for a date range (max 31 nights, default last 7): duration, deep/light/REM/awake time and share, bedtime and wake time, respiration, resting heart rate, plus sleep score, sleep need, naps and overnight HRV when Garmin provides them. Each night is labelled with the date you woke up (the night of Jan 5→6 is 2025-01-06). Use for sleep questions; for a full weekly review start with weekly_checkin.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_sleep"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoLast day, YYYY-MM-DD (inclusive). Defaults to today.
start_dateNoFirst day, YYYY-MM-DD (local calendar date, inclusive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond them: the max 31-night window, the last-7-nights default, and the fact that sleep score, need, naps and overnight HRV appear only when Garmin supplies them. It stops short of saying what happens on days with no recorded sleep, which keeps it from 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.

Conciseness4/5

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

Front-loaded with the core purpose and constraints, with the field inventory compressed into one list. The middle sentence is dense but every clause carries information (defaults, max span, labeling rule); minor cost is that a reader must parse a long enumeration to extract the range limits.

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?

There is no output schema, so the description carries the burden of describing return values, and it does so thoroughly, including which fields are conditionally present. Together with the labeling convention, default range and maximum span, an agent has everything needed to call this tool correctly.

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%, so the two date parameters are already documented, and the baseline would be 3. The description goes further by giving the default range length and the maximum span, and by explaining the wake-up-date labeling convention that determines which calendar date a night is filed under, which the schema does not say.

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 verb and resource (nightly sleep for a date range) and enumerates exactly what is returned: duration, sleep stages, bedtime/wake time, respiration, resting HR, plus optional score, sleep need, naps and HRV. That level of specificity lets an agent distinguish it from siblings like get_daily_summary or get_hrv without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the usage trigger explicitly ('Use for sleep questions') and routes the agent to an alternative with a condition ('for a full weekly review start with weekly_checkin'). The range constraint (max 31 nights) also tells the agent when it must narrow a request or split it.

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