Skip to main content
Glama

WHOOP Sleep

whoop_get_sleep
Read-onlyIdempotent

Retrieve a single WHOOP sleep activity by UUID to support sleep, health, and recovery analysis.

Instructions

Get one WHOOP sleep activity by UUID. Requires read:sleep scope. Not medical advice.

Input Schema

NameRequiredDescriptionDefault
idYesWHOOP resource id.
privacy_modeNoOptional per-call payload privacy override. Defaults to WHOOP_PRIVACY_MODE or structured. raw returns full WHOOP API payloads, not raw device sensor streams.
response_formatNomarkdown
explicit_user_intentNoRequired true when privacy_mode=raw (agent escalation of redaction).

Output Schema

NameRequiredDescriptionDefault
dataYes
endpointYes
privacy_modeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.6
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.6.1
  3. Removedv0.5.4
  4. First observedv0.5.3

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare the full safety profile (readOnly, idempotent, non-destructive), so the bar is lower. The description adds the required read:sleep scope and a 'not medical advice' caveat, which is useful auth/domain context, but says nothing about payload size or how privacy_mode affects what is returned.

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?

Three tight sentences with the purpose front-loaded, followed by the prerequisite and the caveat. No filler; every clause earns its place.

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?

With annotations covering safety and an output schema covering return structure, the description supplies purpose, scope prerequisite, and a disclaimer, which is nearly enough for a read tool. It is only missing explicit guidance on choosing among the sleep-related siblings.

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 75%, so the schema carries most param documentation (privacy_mode, explicit_user_intent are already described). The description only alludes to the id param ('by UUID') and adds no detail on privacy_mode=raw escalation or response_format; baseline 3 for high coverage.

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

Purpose5/5

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

States a specific verb (Get) and resource (one WHOOP sleep activity by UUID), and the singular framing distinguishes it from the sibling whoop_list_sleeps and the related whoop_get_cycle_sleep. An agent can tell what it returns without opening the schema.

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

Usage Guidelines3/5

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

The 'one ... by UUID' framing implicitly signals single-item retrieval versus the list_sleeps sibling, and the scope requirement is a prerequisite. However, it never explicitly says when to choose this over whoop_list_sleeps or the cycle-based sleep variants, so the agent must infer.

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