Skip to main content
Glama

garmin_get_sleep

Read-onlyIdempotent

Retrieve detailed sleep data for a chosen calendar date, including sleep stages, scores, SpO2, and respiration; optionally include epoch-level intraday arrays for deeper analysis.

Instructions

Detailed single-night sleep data for a calendar date (stages, scores, SpO2, respiration).

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": "garmin_get_sleep"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoCalendar date in YYYY-MM-DD format. Defaults to local today.
include_intradayNoInclude epoch-level intraday sleep arrays (large). Default false keeps summary and scores.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered and the description adds only that results are per-night and detailed. It does not mention data availability limits, historical backfill behavior, or what happens when no sleep record exists for the date — the main failure modes for an open-world data fetch.

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 the scope first and the payload contents in a compact parenthetical; nothing is wasted. It reads as a noun phrase rather than a full statement of action, but for a GET-style tool that is not a real cost.

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?

With only two optional parameters, a fully described schema, rich annotations and an output schema that carries the return shape, the description is sufficient to call the tool correctly. The only real gap is explicit routing against garmin_get_sleep_summaries, which the 'single-night' qualifier only hints at.

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 coverage is 100%, so both parameters (date format/default and the large include_intraday payload flag) are already fully documented in the input schema. The description's field list (stages, scores, SpO2, respiration) loosely maps to the summary-versus-intraday distinction but adds no syntax or format meaning beyond the schema.

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 names the specific resource and scope: 'Detailed single-night sleep data for a calendar date', plus the payload contents (stages, scores, SpO2, respiration). 'Single-night' implicitly separates it from the sibling garmin_get_sleep_summaries, but it never names that sibling or states the contrast 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: 'single-night' versus the summaries tool suggests when to pick this one, and the default-null date is documented in the schema. There is no explicit when-to-use statement, no exclusion, and no guidance on choosing between this and garmin_get_sleep_summaries for historical ranges.

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