Skip to main content
Glama

WHOOP Cycle Sleep

whoop_get_cycle_sleep
Read-onlyIdempotent

Retrieve the sleep record linked to a specific WHOOP cycle ID, returning duration and stage data for recovery and performance analysis.

Instructions

Get the sleep associated with a WHOOP cycle. Requires read:sleep scope. Not medical advice.

Input Schema

TableJSON 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

TableJSON 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
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description still adds the auth requirement (read:sleep scope) and a medical disclaimer, which is exactly the kind of context beyond annotations that earns credit.

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 short sentences, scope and disclaimer front-loaded after the core purpose, with no filler or repetition of structured fields.

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 no explanation, and annotations carry the safety profile. The remaining gap is sibling disambiguation against whoop_get_sleep, which matters given how many near-identical sleep/cycle readers exist.

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%, just under the high-coverage baseline, and the description adds nothing about any of the four parameters. Notably, the privacy_mode/raw escalation flow (explicit_user_intent) is left entirely to the schema.

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 specific verb and resource ('Get the sleep associated with a WHOOP cycle'), which is more precise than a bare 'get sleep'. It does not, however, distinguish itself from the sibling whoop_get_sleep or explain what 'associated with a cycle' buys the agent over that tool.

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?

It gives one real prerequisite ('Requires read:sleep scope'), which is actionable context. But there is no when-to-use guidance relative to whoop_get_sleep, whoop_get_cycle, or whoop_get_cycle_recovery, so tool selection is left to inference.

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