Skip to main content
Glama

get_sleep_detail

Retrieve daily sleep details for a specific date from Garmin Connect. Specify the day in YYYY-MM-DD format to get sleep metrics and stages.

Instructions

Sleep details (daily data) for a day (YYYY-MM-DD).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dayNo
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It makes clear this is a read-style retrieval and that it returns daily data for a specific day, but it does not address null/default behavior, timezone handling, or the exact shape of the returned sleep detail data.

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?

The description is one short sentence with the operation, resource, and date format front-loaded. There is a minor redundancy between 'daily data' and 'for a day', but every other word adds value.

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 simple one-parameter read-only tool, this is minimally viable: the purpose and date format are clear, and no output schema exists to explain return values. However, the many sibling sleep tools create ambiguity, and the description does not say how get_sleep_detail differs from get_sleep or get_sleep_summary.

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 schema only defines 'day' as an optional string or null with no description, so 0% schema description coverage. The tool description compensates by stating the expected YYYY-MM-DD format and clarifying that the day is the target of the daily data lookup. It does not explain what null or default means, but the sole parameter is otherwise well-specified.

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 that the tool retrieves sleep details for a single day and specifies the date format. It does not differentiate itself from siblings like get_sleep or get_sleep_summary, so it loses the top score.

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?

No guidance is given about when to use this tool instead of alternatives such as get_sleep, get_sleep_summary, or get_daily_summary. The phrase 'daily data' implies a single-day scope, but there is no explicit or implicit routing based on the user's needs.

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