Skip to main content
Glama
jorgedcb

WHOOP MCP Server

by jorgedcb

Get WHOOP sleep for cycle

get_sleep_for_cycle

Retrieve the sleep record for the night ending a WHOOP cycle. Provide the cycle ID to fetch the associated sleep data.

Instructions

The sleep that closed the given cycle, i.e. the night at the end of that WHOOP day.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cycle_idYesNumeric cycle id, e.g. from get_cycles or a recovery record

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
endNoAbsent while the activity is still in progress
napYes
scoreNo
startYes
v1_idNo
cycle_idYes
created_atYes
updated_atYes
score_stateYes
timezone_offsetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries full behavioral burden. It explains the conceptual relationship (sleep that closed the cycle) but does not state permissions, read-only nature, rate limits, or any other operational behavior.

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?

A single, front-loaded sentence that precisely defines the association without any wasted words. It is appropriately sized for a simple getter.

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?

For a one-parameter read tool with a fully documented schema and an output schema, the description provides adequate conceptual clarity. It could still mention when to prefer this over get_sleep, but otherwise nothing critical is missing.

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%, and the schema already documents cycle_id with meaning and examples. The description adds no parameter-level details beyond what the schema provides, so the baseline score of 3 applies.

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 names a specific resource (the sleep that closed the given cycle) and clarifies the relationship, distinguishing it from get_sleep and get_sleep_by_id. The verb 'get' is implied by the tool name rather than stated explicitly, but the resource and scope are clear.

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 explicit guidance on when to use this tool versus alternatives like get_sleep or get_sleep_by_id. The description implies usage when you have a cycle and want its associated sleep, but this must be inferred rather than being stated.

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