Skip to main content
Glama
PAP Analytics MCP

PAP Analytics MCP

by drew2323

oximetry_summary

Summarizes SpO2 and pulse metrics (mean, minimum, T90, ODI3/4) with artefact filtering and a desaturation list for a night or time window; returns available=false when no valid SpO2 exists.

Instructions

SpO2/pulse metrics (mean, min, T90, ODI3/4, pulse) with artefact filtering and the desaturation list for a night or a window. available=false when there is no valid SpO2.

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": {
      "date": "<date>"
    },
    "name": "oximetry_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
dateYes
startNo
device_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add two real behavioral facts: metrics are artefact-filtered, and `available=false` is returned when no valid SpO2 exists. It does not disclose read-only semantics, cost/latency, or what happens on partial data, so the safety profile remains implicit.

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?

Two tight sentences, front-loaded with the deliverable and closed with the sentinel-value caveat. Domain abbreviations (T90, ODI3/4) are dense but appropriate for the audience; nothing is wasted.

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?

An output schema exists, so return values need no explanation, and the `available=false` note covers the main edge case. The gap is the undocumented device_id and date/window parameters on a 4-param tool with zero schema coverage.

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% across four parameters, so the description must compensate and largely does not. 'Night or a window' hints at the date vs start/end relationship, but device_id, date/start/end formats, and the null defaults are left entirely undefined.

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?

Names the specific resource (SpO2/pulse metrics) and enumerates the concrete outputs: mean, min, T90, ODI3/4, pulse, plus a desaturation list. That is far more specific than the title and lets an agent tell it apart from night_summary or disturbance_summary, though those siblings are never named explicitly.

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?

'For a night or a window' implies the two usage modes (single date vs start/end range) but never states when to prefer this over night_summary, disturbance_summary, or get_signal. No prerequisites, no exclusions, no routing guidance — usage must be inferred.

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