Skip to main content
Glama
Wellness Project MCP

Wellness Project MCP

list_sleep

Read-onlyIdempotent

Retrieve overnight sleep and daytime naps for a chosen date range, including duration, sleep scores, stages, and timezone-aware times; naps are listed separately and do not affect overnight totals.

Instructions

List primary overnight sleep and daytime naps within a date range. Overnight entries include duration, Wellness Project sleep score, the source's own sleep score when recorded, stages, and timezone-aware bedtime/wake times. Naps are listed separately with duration and start/end times; they never increase the overnight total or score.

Maximum range: 31 days per call. For longer periods, make multiple calls with sequential date ranges.

INFER — do not ask:

  • start_date: default to 14 days ago

  • end_date: default to today

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_sleep"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoEnd of date range. Format: YYYY-MM-DD. Default: today.
start_dateNoStart of date range. Format: YYYY-MM-DD. Default: 14 days ago.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive), and the description adds real behavior beyond them: naps are returned separately and never increment the overnight total or score, and times are timezone-aware. That nap-scoring rule is exactly the kind of non-obvious behavior an agent could otherwise get wrong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with what the tool returns, then limits, then defaults — a sensible order with no filler sentences. The date defaults are restated from the schema, which is mild duplication, but it serves the 'do not ask' instruction rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter list tool with an output schema and full annotation coverage, nothing material is missing: the return contents, the nap-vs-overnight accounting rule, the 31-day ceiling, the pagination-by-range strategy, and the defaults are all present.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns a step up because the INFER block states explicit default values (14 days ago / today) and tells the agent not to ask the user, which is operational meaning the schema alone does not convey as strongly.

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 gives a specific verb and resource ('List primary overnight sleep and daytime naps within a date range') and enumerates the content of each entry, so an agent knows exactly what comes back. It stops short of naming how it differs from the similarly named siblings (show_sleep_detail, show_week_sleep), so differentiation is inferred rather than stated.

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

Usage Guidelines4/5

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

Usage context is clear: the 31-day cap and the instruction to make multiple sequential calls for longer periods tells the agent precisely how to operate. The 'INFER — do not ask' block removes ambiguity about whether to prompt for dates. The gap is that no alternative tool is named for single-entry or week-level lookups.

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