Skip to main content
Glama
Oura Ring MCP Server

Oura Ring MCP Server

by nwthomas

get_sleep_routes

Retrieve daily sleep data for a specified date range, including multiple sleep periods per day, to analyze rest patterns and compare sleep across dates.

Instructions

Get the sleep data for a given date range. A user can have multiple sleep periods per day.

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 routes 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_routes"
  }
}

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.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden; it does clarify that a day may contain multiple sleep periods, which is meaningful shape information, and it enforces a date format. It says nothing about read-only nature beyond the verb 'Get', nor about permissions, data latency, or result limits per date range. Read semantics are strongly implied by the verb and the presence of an output schema, so the gap is moderate rather than severe.

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?

Front-loaded one-line purpose followed by terse Args and Returns blocks; no filler sentences. Every line adds either a constraint (date format) or a shape fact (multiple sleep periods per day). The only mild redundancy is restating the return as 'sleep routes for each day', which slightly echoes the first sentence.

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 two-parameter read tool with an output schema, the inputs and the per-day multiplicity are adequately covered, and return values need not be explained. However, the description gives no help distinguishing this from the dense cluster of sibling sleep/readiness tools, which is the main decision an agent faces here. It also leaves inclusive/exclusive range semantics unstated.

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 start_date and end_date are documented as required to be in YYYY-MM-DD format, which is not in the schema. It does not state whether the range is inclusive of end_date or any maximum range length, leaving a minor ambiguity. For a two-parameter tool this is close to sufficient.

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?

States a specific verb and resource ('Get the sleep data') plus the scope ('for a given date range'), and adds a useful qualifier that a user can have multiple sleep periods per day. It does not differentiate from the surrounding sleep-related siblings such as get_multiple_daily_sleep, get_sleep_time, or get_session_routes, so an agent cannot tell from the text alone which of these to pick. The name's 'routes' also does not obviously match 'sleep data', leaving a small ambiguity the description does not resolve.

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 guidance on when to use this versus the numerous sibling sleep tools; the reader must infer that a single date range maps to this tool. There are no stated preconditions, exclusions, or alternative routes for retrieving sleep by session or by time. The only contextual hint is that multiple sleep periods per day exist, which is behavioral rather than selection guidance.

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