Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_daily_sleep

Read-only

Retrieve Garmin sleep data for a specific date (YYYY-MM-DD) from the newer sleep-service endpoint, with an optional non-sleep buffer to define daily sleep periods.

Instructions

[read-only] Return sleep data for a day from the newer sleep-service endpoint. Signature: get_daily_sleep(cdate: str | None = None, non_sleep_buffer_minutes: int | None = 60) -> dict[str, Any] Dates are YYYY-MM-DD.

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_daily_sleep"
  }
}

Input Schema

NameRequiredDescriptionDefault
cdateNoDate as YYYY-MM-DD.
non_sleep_buffer_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 [read-only] in the description is redundant. The description adds little beyond that: it does not say what happens when cdate is omitted (a likely 'today' default) or what the non_sleep_buffer_minutes window actually does to the returned sleep window.

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?

Short and front-loaded, with the purpose in the first clause and the date format constraint at the end. The embedded Signature line duplicates the input schema and the [read-only] tag duplicates annotations, but neither is costly.

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 no output schema, the definition covers the call signature and date format but not the return shape, the meaning of the buffer parameter, or the default-date behavior. That leaves real gaps an agent would need to guess at.

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 only 50%: cdate is documented in the schema, but non_sleep_buffer_minutes has no description anywhere, and the description only restates the schema's default of 60 without explaining its meaning or effect. 'Dates are YYYY-MM-DD' merely repeats the schema's format note, so the description fails to compensate for the coverage gap on the second parameter.

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?

States a specific verb and resource: 'Return sleep data for a day.' The phrase 'from the newer sleep-service endpoint' gives a partial distinction from the older sleep sibling (get_sleep_daily), though it names no alternative explicitly and leaves the agent to infer which endpoint to prefer.

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/when-not-to-use guidance and no routing to siblings such as get_sleep_daily or garmin_sleep_detail. The only hint is the incidental 'newer sleep-service endpoint' label, which implies an older counterpart exists but never says when to pick which.

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