Skip to main content
Glama
jorgedcb

WHOOP MCP Server

by jorgedcb

Get WHOOP sleep by ID

get_sleep_by_id

Retrieve a single WHOOP sleep record by its UUID, such as the sleep_id linked to a recovery record.

Instructions

A single sleep record by its UUID, e.g. the sleep_id from a recovery record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sleep_idYes

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.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read by saying 'a single sleep record,' but does not explicitly state read-only behavior, permissions, error behavior, or any other operational trait.

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 front-loaded sentence with no wasted words. It immediately states the resource and the key identifier context.

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?

For a simple getter with an output schema, the description covers the essential identifier source, which is enough to invoke correctly. It remains incomplete regarding usage context versus sibling tools and behavioral expectations, especially with no annotations.

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 0%, so the description must compensate. It identifies the parameter as a UUID and usefully notes that it can come from a recovery record, but it does not add format or constraint details beyond what the schema already defines.

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 states a single sleep record retrieved by UUID, which clearly distinguishes this from the plural and cycle-scoped sleep siblings. However, it lacks an explicit verb and does not name an alternative tool, so it falls short of full sibling differentiation.

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?

It hints at where to obtain the sleep_id ('from a recovery record'), but gives no when-to-use guidance, no prerequisites, and no comparison to alternatives like get_sleep or get_sleep_for_cycle.

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