Skip to main content
Glama
Oura Ring MCP Server

Oura Ring MCP Server

by nwthomas

get_sleep_time

Retrieve sleep times for a date range and get recommended optimal bedtime windows calculated from your sleep data.

Instructions

Get the sleep times for a given date range. This includes recommendations for the optimal bedtime window that is calculated based on sleep data.

Args: start_date: The start date of the date range. Must be in YYYY-MM-DD format. end_date: The end date of the date range. Must be in YYYY-MM-DD format.

Returns: The sleep time for each day in a given date range.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_sleep_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYes
start_dateYes

Output Schema

NameRequiredDescriptionDefault

No arguments

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 supplied, so the description carries the full behavioral burden and discloses very little. It says nothing about authorization requirements, rate limits, whether days without data are omitted or returned empty, or the timezone/source of the "optimal bedtime window" calculation. The note about recommendations being derived from sleep data is the only behavioral detail offered.

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?

The description is front-loaded with the purpose and then cleanly separates Args and Returns. It is short and mostly earns its words, though the Returns line largely restates the opening sentence rather than adding new information.

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?

An output schema exists, so return values need not be explained in prose, and the two required parameters are described. However, for a tool with zero annotation coverage the description should say more about data availability, timezone, and why the recommendation window is trustworthy. It is adequate but leaves real gaps.

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 description coverage is 0%, so the description must compensate, and it does: both parameters are named with their meaning (range boundaries) and the required YYYY-MM-DD format. What is missing is any constraint such as maximum range length or timezone handling for the boundaries.

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 opens with a specific verb and resource ("Get the sleep times for a given date range") and adds that the payload includes calculated optimal-bedtime recommendations. An agent can tell this is a scoped read of per-day sleep-time data. It does not explicitly differentiate itself from siblings such as get_multiple_daily_sleep, which is why this is a 4 rather than a 5.

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?

There is no statement of when to use this tool versus alternatives, no prerequisites, and no exclusions. The only implied guidance is that a date range is required. The agent must infer from sibling names which sleep-related endpoint to pick.

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