Skip to main content
Glama

list_sleep

Read-onlyIdempotent

List primary overnight sleep and daytime naps within a date range. Overnight entries include duration, score, stages, and timezone-aware bedtime/wake times. Naps are listed separately with duration and start/end times; they never increase the overnight total or score.

Maximum range: 31 days per call. For longer periods, make multiple calls with sequential date ranges.

INFER — do not ask:

  • start_date: default to 14 days ago

  • end_date: default to today

Input Schema

NameRequiredDescriptionDefault
end_dateNoEnd of date range. Format: YYYY-MM-DD. Default: today.
start_dateNoStart of date range. Format: YYYY-MM-DD. Default: 14 days ago.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the bar is lower. The description still adds real context beyond them: the 31-day range limit, the need for multiple calls on longer spans, and the important semantic that naps are listed separately and never contribute to the overnight total or score.

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 tool's scope, then the range constraint, then defaults — a sensible ordering with no filler. The defaults section mildly duplicates what the schema already states, slightly diluting conciseness.

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?

An output schema exists, so return values need not be explained, and the description covers the remaining unknowns an agent needs: date window limits, multi-call strategy, and the overnight-vs-nap accounting rule. Only the routing against sibling summary tools is left unaddressed.

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% and both parameters already document format and defaults, so the schema does the heavy lifting. The description's 'INFER — do not ask' block largely restates the schema defaults (14 days ago / today), adding a decision-behavior note rather than new parameter meaning.

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 concrete verb and resource ('List primary overnight sleep and daytime naps') and draws a clear internal distinction between overnight entries and naps. It does not name the closest siblings (show_sleep_detail, show_week_sleep), so an agent must infer the boundary, but the scope of what is listed is unambiguous.

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

Usage Guidelines4/5

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

Gives clear operational guidance: 31-day maximum per call and to make multiple sequential calls for longer periods, plus explicit defaults for both dates with an 'infer, don't ask' instruction. It stops short of stating when to use this versus show_sleep_detail or show_week_sleep, which is the remaining gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.