Skip to main content
Glama

Sesiones de sueño

get_sleeps

Retrieve sleep sessions with stages (light, deep, REM), efficiency, sleep need, and performance, ordered from most recent.

Instructions

Lista las sesiones de sueño del usuario, con etapas del sueño (ligero, profundo, REM), eficiencia, necesidad de sueño y rendimiento. Ordenadas de la más reciente a la más antigua.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoFin del rango, ISO 8601 (p. ej. 2026-07-08T00:00:00.000Z)
limitNoNúmero de registros por página (máx. 25)
startNoInicio del rango, ISO 8601 (p. ej. 2026-07-01T00:00:00.000Z)
nextTokenNoToken de paginación devuelto por una llamada anterior (next_token)
Behavior3/5

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

With no annotations, the description carries the full burden. It mentions sorted order and returned fields, but does not disclose pagination behavior (even though parameters exist), authentication requirements, or empty result handling. It is adequate but not comprehensive.

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, well-structured sentence that immediately states the action and key details. There is no redundant or unnecessary content, and the important information is front-loaded.

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?

Given the absence of an output schema and annotations, the description should cover return structure and pagination more thoroughly. It lists returned fields but does not explain output format or the pagination mechanism implied by the nextToken parameter. This leaves gaps for an agent.

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 description coverage is 100%, so the input schema already documents all parameters. The description adds no additional semantic value beyond what the schema provides, meeting the baseline for this dimension.

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 tool lists the user's sleep sessions with specific attributes (sleep stages, efficiency, need, performance) and sorted order. While it implies a list operation, it does not explicitly differentiate from sibling tools like get_sleep_by_id or get_sleep_for_cycle, which retrieve single or filtered sleeps.

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 provided on when to use this tool versus alternatives such as get_sleep_by_id or get_sleep_for_cycle. The description only states what the tool does, without context on prerequisites, date range necessity, or exclusion scenarios.

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

Install Server

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/wackari/WhoopMCP'

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