Skip to main content
Glama

Get sleep

whoop_get_sleep

Retrieve WHOOP sleep activities for a date range, including sleep stages (REM, deep, light) and sleep performance metrics, to review rest quality and recovery.

Instructions

Sleep activities including stages (REM/deep/light) and sleep performance.

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": "whoop_get_sleep"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoISO 8601 end, e.g. 2026-06-28T00:00:00Z. A plain date (2026-06-28) is widened to that UTC day's end, so the range includes it.
limitNoMax total records to return (default 25; auto-paginated up to 200)
startNoISO 8601 start, e.g. 2026-06-01T00:00:00Z. A plain date (2026-06-01) is widened to that UTC day's start.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does little with it. It never confirms read-only semantics, states the default time window returned when start/end are omitted, or characterizes rate limits or auth needs — an agent could not tell whether an empty result means no data or an unbounded default.

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?

A single compact sentence with no filler or duplication. It is efficiently sized, though its brevity stems partly from omission rather than disciplined editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a query tool with no annotations, no output schema, and entirely optional parameters, the description is thin: it omits the default range, the shape of returned sleep records, and any guidance on scoping. The rich input schema covers the parameters, but the behavioral picture an agent needs before calling remains incomplete.

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%, so start, end, and limit are fully documented including the plain-date widening behavior and the 25/200 pagination bounds. The description adds no parameter-level meaning beyond pointing at the returned fields, which makes the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment names the resource (sleep activities) and enumerates the return content (REM/deep/light stages, sleep performance), which separates it from siblings like whoop_get_recovery and whoop_get_cycles. However, it is a noun phrase with no verb, so it never states that it retrieves or lists sleep records, leaving the action implied by the tool name.

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 on when to use this versus the other WHOOP getters, and no mention of context such as needing a date range or what happens when the caller omits it. With all three parameters optional, the description gives no hint about default retrieval behavior or how to scope a query.

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