Skip to main content
Glama

Get Eight Sleep Sleep Trends

eight_sleep_get_trends
Read-onlyIdempotent

Retrieve nightly sleep sessions and scores for a specified date range to analyze sleep trends and patterns.

Instructions

Return nightly sleep sessions and scores for a date range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_dateYesEnd date in YYYY-MM-DD.
user_idNo
timezoneNoUTC
from_dateYesStart date in YYYY-MM-DD.
privacy_modeNoOptional per-call payload privacy override. Defaults to EIGHT_SLEEP_PRIVACY_MODE or structured.
response_formatNomarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
endpointYes
privacy_modeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.13
  2. Removedv0.2.6
  3. First observedv0.2.5

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already cover the safety profile with readOnlyHint, idempotentHint, and destructiveHint. The description adds context about the returned content (nightly sleep sessions and scores) but does not mention behavioral details such as privacy_mode defaults, response_format defaults, or how user_id/timezone affect results.

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 sentence with no filler, front-loading the action and object. It is appropriately concise for the level of detail it provides.

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?

With annotations and an output schema present, the description does not need to explain return values. However, the tool has six parameters and two enums, and the description gives no context about optional fields, defaults, or selection criteria, leaving the definition minimally viable but incomplete for richer usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, and the description does not explain any parameters beyond the general date-range idea. user_id, timezone, and response_format remain undocumented in both the schema and the description, so the description does not compensate for the coverage gap.

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 uses a specific verb ('Return') and a clear resource ('nightly sleep sessions and scores') with a date-range qualifier. This makes the tool's core purpose understandable, though it does not explicitly differentiate it from siblings like eight_sleep_nightly_summary or eight_sleep_temperature_trend.

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 when-to-use or alternative guidance is provided. The date-range phrasing weakly implies it is for retrieving data over multiple nights, but with 25 sibling tools the agent is left to infer when to choose this tool over others.

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