Skip to main content
Glama
PAP Analytics MCP

PAP Analytics MCP

by drew2323

get_events

Retrieve PAP therapy events for a date and optional time window, filtering by event type or device to analyze overnight or therapy-day activity.

Instructions

Events in a window of the therapy day (default: whole night). start/end are HH:MM within the therapy day or ISO datetimes; types filters by canonical event type.

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": "get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
dateYes
limitNo
startNo
typesNo
device_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It usefully states the default window and the accepted time formats, but says nothing about ordering, whether the limit silently truncates results, or whether device scoping changes behavior.

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 dense sentences with the scope and default front-loaded, and no filler. The backtick-parameter style is compact and readable, though the phrasing is clipped enough to read like a schema comment rather than a full definition.

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 not be explained, and the core time-window parameters are covered. However, a 6-parameter tool with zero schema coverage and no annotations still leaves limit and device_id behavior unspecified.

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 coverage is 0%, so the description must compensate. It adds genuinely valuable semantics for start/end (HH:MM within the therapy day or ISO datetimes) and types (canonical event type filter), but leaves limit and device_id completely undocumented in both schema and description.

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 resource (events) and its scope (a window of the therapy day, defaulting to the whole night), so an agent knows exactly what it retrieves. It stops short of distinguishing itself from siblings like night_summary or get_signals, and there is no explicit verb.

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 guidance on when to reach for this tool versus the many sibling analytics tools, and no stated prerequisites or exclusions. The 'default: whole night' note implies a common use case but is a parameter default, not usage guidance.

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