Skip to main content
Glama

get_sleep

Retrieve sleep data for a specified day, including sleep stage time blocks from Garmin Connect. Use it to track sleep patterns and stages.

Instructions

Sleep data for a day (YYYY-MM-DD) including sleep stage time blocks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dayNo
Install Server

TDQS

B3.2/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 burden for behavioral disclosure. It only states what data is included, but does not describe the response shape, timezone handling, behavior when no sleep data exists, or whether a null day defaults to today. These are meaningful gaps for a data-retrieval tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is a single compact sentence that leads with the resource and immediately gives the date format. Every word contributes value and there is no redundancy.

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 one-parameter getter this is minimally viable: the agent knows the date format and the kind of data returned. However, there is no output schema, so the response shape is unclear, and the existence of sleep-related sibling tools makes the lack of distinguishing context a notable gap.

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?

The only parameter, 'day', is explained by the description's 'YYYY-MM-DD' format, which adds meaning beyond the schema's generic string/null type. The null/default behavior is not explained, but the essential format requirement is clearly stated.

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 clearly states the resource ('Sleep data for a day') and the date format, and it adds content detail by mentioning 'sleep stage time blocks.' However, it does not explicitly distinguish this from the sibling tools get_sleep_detail and get_sleep_summary, so it stops short of full differentiation.

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 guidance about when to use get_sleep versus get_sleep_detail or get_sleep_summary. The description gives no context, exclusions, or alternative routing, so an agent must rely on the tool name and guesswork.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/StefanOOE/mcp-garmin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server