Skip to main content
Glama

get_collection

Read-only

Fetch Oura v2 data such as sleep sessions, workouts, heart rate, tags, or daily summaries by document ID or date range to answer questions about your ring metrics.

Instructions

Read any Oura v2 collection: sleep sessions, workouts, guided sessions, tags, heartrate samples, sleep_time, rest_mode_period, ring_configuration, vo2_max, or daily_* summaries. One document via document_id, or a date range.

Input Schema

NameRequiredDescriptionDefault
limitNoMax items (default 50).
fieldsNoComma-separated field selector (most routes; not daily_resilience/enhanced_tag/tag).
latestNoHeartrate and ring_battery_level: return the most recent sample.
end_dateNo
collectionYesCollection name — one of: sleep, sleep_time, workout, session, tag, enhanced_tag, heartrate, rest_mode_period, ring_configuration, ring_battery_level, vo2_max, daily_sleep, daily_readiness, daily_activity, daily_stress, daily_spo2, daily_resilience, daily_cardiovascular_age, personal_info.
start_dateNoCalendar date YYYY-MM-DD.
document_idNoFetch one document by id (not for enhanced_tag/heartrate/personal_info/ring_battery_level).
end_datetimeNoHeartrate and ring_battery_level: ISO datetime.
start_datetimeNoHeartrate and ring_battery_level: ISO datetime, e.g. 2026-10-15T00:00:00Z.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the single-vs-range retrieval modes but says nothing about pagination, rate limits, auth, or how large ranges behave — the traits an agent most needs beyond the annotations.

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?

Two tight sentences, zero filler, with the scope declared first and the retrieval modes second. Every clause carries 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?

For a 9-parameter, multi-route tool with no output schema, the description covers the main usage shape but its collection list is incomplete relative to the schema enum (it omits enhanced_tag, ring_battery_level, and personal_info), which could mislead an agent about availability. Pagination and response shape are unaddressed but partially implied by limit in the schema.

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 89%, so the schema already documents limit, fields, latest, dates, and document_id. The description only re-summarizes the collection list and the document_id/date-range dichotomy, adding little syntax or format detail beyond the schema. Baseline 3 applies.

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 concrete verb ('Read') and resource ('any Oura v2 collection') and enumerates the collection families, which makes the tool's scope unmistakable. It stops short of naming how it differs from siblings like get_daily or get_recent_summary, so an agent must infer the boundary.

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 sentence 'One document via document_id, or a date range' communicates the two invocation modes, which is real usage guidance. It offers no when-to-use/when-not-to-use framing against get_daily, get_recent_summary, or list_collections, and no prerequisites.

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