Skip to main content
Glama

get_spo2

Read-onlyIdempotent

Read manual SpO2 readings and oxygen-desaturation events from the blood-oxygen event stream; for overnight ODI, use get_sleep_breathing.

Instructions

Read-only. Manual SpO2 readings and oxygen-desaturation events from the blood-oxygen event stream; use get_sleep_breathing for overnight ODI.

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_spo2"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
sinceNo
untilNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

The readOnlyHint and idempotentHint annotations already establish safety, so the description's job is to add context beyond them; it does by clarifying that these are manual readings pulled from the raw event stream rather than a computed score. It says nothing about result ordering, pagination (despite limit/offset params), or empty-window behavior, which are the remaining behavioral gaps for a time-series read.

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?

A single front-loaded sentence with the read-only scope first, the resource second, and the sibling routing last. Every clause carries information; nothing is repeated from structured fields.

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, no annotation coverage of behavior, and zero parameter documentation, the description still leaves the return shape (individual reading objects vs. desaturation events vs. both) and pagination semantics unspecified. It is adequate to pick the right tool but not fully adequate to call it correctly unaided.

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 adds no meaning to any of them. It never states that since/until are timestamps, what format they take, what limit defaults to, or whether offset pagination is supported, so the agent must guess at all four despite low coverage requiring the description to compensate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Manual SpO2 readings and oxygen-desaturation events from the blood-oxygen event stream" names a specific resource and its data source, and the mention of get_sleep_breathing for overnight ODI separates it from the derived-metric sibling. An agent can tell what data this pulls without opening any schema.

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 explicitly routes the overnight ODI case to get_sleep_breathing, which is a real alternative-with-condition rather than a vague pointer. What is missing is an explicit positive condition for choosing this tool (e.g., on-demand spot checks vs. continuous monitoring), but the manual-vs-overnight split covers the main ambiguity.

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