Skip to main content
Glama

Oura Daily SpO2

oura_list_daily_spo2
Read-onlyIdempotent

Retrieve daily SpO2 averages recorded during sleep. Filter by date range to monitor blood-oxygen trends when sleep data is available.

Instructions

List daily Oura SpO2 averages recorded during sleep when available. Requires spo2 scope. Not medical advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoOnly return Oura records after this time. Converted to an Oura start_date.
limitNoMaximum number of records returned by this call, kept from the OLDEST end of the window. Oura v2 serves collections oldest-first, has no sort parameter and no page-size parameter, so limit=1 returns the OLDEST record in the window, never the newest. This domain has no latest-record shortcut resource (only daily readiness has one), so to reach the newest record here, narrow the window with after/before until the response comes back with truncated=false and has_more=false: records are oldest-first, so the LAST one is then the newest that exists in that window. The cap is applied locally after fetching and also stops cursor pagination once it is reached; when it dropped records, truncated is true and has_more is true. If truncated is true, raise limit or set all_pages — do not follow a cursor, because next_token is omitted whenever resuming would skip dropped records.
beforeNoOnly return Oura records before this time. Converted to an Oura end_date.
all_pagesNoWhen true, follow the Oura next_token cursor up to max_pages in this one call. Resume later by passing the returned next_token with the same after/before window.
max_pagesNoMaximum upstream Oura pages to fetch in this call when all_pages is true. A runaway guard, not an Oura page index.
next_tokenNoOpaque Oura v2 cursor from a previous collection response. Pass it back unchanged with the same after/before window to resume. Oura has no integer page index and no page-size parameter; do not invent or increment a page number.
privacy_modeNoOptional per-call privacy override. Defaults to OURA_PRIVACY_MODE or structured. raw returns upstream Oura JSON. summary minimizes sensitive health and profile details.
response_formatNomarkdown
explicit_user_intentNoRequired true when privacy_mode=raw (agent escalation of redaction).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
recordsYes
endpointYes
has_moreYesTrue when more records exist beyond this response, either upstream (a resumable next_token) or because the limit cap dropped records (truncated). If truncated is true, raise limit or set all_pages; if next_token is present, pass it back.
truncatedYesTrue when the limit cap dropped records that had already been fetched. Raise limit or set all_pages (or narrow after/before) to see them. next_token is omitted in this case so a resume cannot skip those rows.
next_tokenNoOpaque Oura v2 cursor to resume from. Pass this back as input next_token with the same after/before window. Present only when more records exist upstream AND this call did not locally drop fetched records (truncated is false). When truncated is true, next_token is omitted: raise limit or set all_pages instead of following a cursor, which would skip the dropped records. Never increment a page number.
privacy_modeYes
pages_fetchedYes
Install Server

TDQS

A4/5.0
Behavior4/5

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

With strong annotations (readOnly, idempotent, non-destructive), the bar for additional disclosure is lower. The description adds meaningful behavioral context by stating the required auth scope and that records exist only when SpO2 was measured during sleep. This goes beyond the safety profile already conveyed by annotations, though it does not discuss pagination ordering or truncation behavior.

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?

Three short sentences with no filler. The core behavior and scope requirement are front-loaded, and the disclaimer is a single not-infrusive clause. Every sentence earnts its place without duplicating schema content.

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?

Given the tool's pagination complexity and rich schema descriptions, the description does not need to repeat cursor or threshold details. It covers purpose, availability conditions, and auth scope, which is enough for an agent to select and invoke it correctly. The only small gap is the lack of explicit guidance on how to route among sibling summary tools.

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?

The input schema already provides comprehensive descriptions for all parameters, including detailed semantics for limit, next_token, all_pages, and privacy mode. The description itself adds no parameter-level meaning beyond the schema, so a baseline score of 3 is appropriate.

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 clearly identifies the operation (list) and the resource (daily Oura SpO2 averages) while adding the context that data is recorded during sleep and only available when present. It doesn't explicitly name or contrast with sibling tools, but the specificity of the resource makes the tool's purpose unambiguous.

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?

It communicates a clear prerequisite (Requires spo2 scope) and a condition for data availability ('when available'), which helps an agent decide to call it for daily SpO2 needs. It does not explicitly describe when not to use it or name alternatives, but the resource ispecificity provides adequate routing context.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidmosiah/oura-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server