Skip to main content
Glama

get_sleep_breathing

Read-onlyIdempotent

Retrieve overnight sleep-breathing metrics including ODI, desaturation events, measured minutes, and sleep-breathing score.

Instructions

Read-only. Overnight ODI, desaturation events, measured minutes and sleep-breathing score.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_sleep_breathing"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
sinceNo
untilNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description's 'Read-only.' merely restates that. What it does add is content scope (overnight, ODI, desaturation events, minutes), but it says nothing about pagination or how much data is returned by default, which matters for a tool with limit/offset parameters.

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 definition is a single compact sentence with the metric list front-loaded and no filler. 'Read-only.' is redundant with annotations but takes only two words.

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?

With no output schema, listing the returned metrics is genuinely useful compensation, and the safety profile is covered by annotations. However, a paginated, time-filtered read tool with four entirely undocumented parameters leaves an agent guessing about invocation details, so the definition is only partially complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for four parameters (limit, since, until, offset), and the description does not explain a single one — not the date format for since/until nor the paging behavior of limit/offset. The word 'Overnight' faintly implies a time window but leaves the actual filtering semantics undocumented.

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 names the specific resource and enumerates the concrete metrics returned (overnight ODI, desaturation events, measured minutes, sleep-breathing score), so an agent knows exactly what data this yields. It does not differentiate from nearby siblings such as get_sleep, get_spo2, or get_respiratory_rate, and the verb is only implied by the tool name.

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 when-to-use guidance, no stated prerequisites, and no explicit alternative among the many sleep/cardio siblings. The only contextual hint is the word 'Overnight,' which scopes the data but does not tell an agent when to pick this over get_sleep or get_spo2.

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