Skip to main content
Glama
robcerda

Oura MCP Server

by robcerda

get_sleep_time

Get Oura's recommended bedtime window for each day, derived from recent sleep patterns, to plan optimal sleep timing.

Instructions

Get Oura's recommended bedtime window for each day, calculated from recent sleep.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateNoLast day to include (inclusive), YYYY-MM-DD. Defaults to today.
next_tokenNoContinue a truncated result: pass the next_token from the previous response along with the same dates.
start_dateNoFirst day to include, YYYY-MM-DD. Defaults to 6 days before end_date.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are present, so the description carries the burden of behavioral disclosure. It does mention that the window is calculated from recent sleep, but it does not disclose pagination behavior via next_token, authentication requirements, or the read-only nature beyond the word 'Get'.

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 clear sentence that front-loads the core purpose. No filler or redundant wording.

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?

The tool is simple with only optional parameters, all documented in the schema, and an output schema is provided. The main gap is the lack of usage alternatives and behavioral disclosures, but the description is adequate for a straightforward read-only retrieval tool.

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 parameter descriptions already explain start_date, end_date, and next_token. The tool description does not add extra semantic value for these parameters, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description uses a specific verb ('Get') and resource ('Oura's recommended bedtime window') and clearly scopes it per day. It distinguishes itself from sibling sleep tools by specifying it returns a recommendation window, not actual sleep data.

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?

The intended use is implied by the purpose: retrieve a recommended bedtime window. However, there is no explicit guidance on when to choose this over get_daily_sleep or get_sleep_periods, and no when-not-to-use instructions.

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