Skip to main content
Glama
Barbaroso

OSCAR MCP Server

by Barbaroso

get_statistics

Aggregate CPAP therapy statistics for a date range, including usage, compliance, AHI severity, events, pressure, leak summaries, and trends.

Instructions

Aggregate statistics for a period: usage and compliance, AHI distribution and severity band, event totals, pressure and leak summaries, plus simple trends.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNo
end_dateNo
start_dateNo
Behavior2/5

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

With no annotations, the description must carry the burden of disclosing behavioral traits. It indicates aggregation but does not explicitly state read-only behavior, output format, default date handling, or any permissions. 'Aggregate statistics' implies a safe read operation, but that is not confirmed.

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 description is a single sentence with a clear leading verb and a compact list of statistics categories. It avoids filler and is front-loaded, though the enumeration is somewhat dense.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description offers a useful high-level overview but omits parameter semantics, return shape, and boundary behaviors. It is insufficient for a tool with three undocumented parameters and several sibling tools covering different granularities.

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

Parameters1/5

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

The input schema has 0% description coverage and no per-field descriptions. The description only mentions 'a period', loosely mapping to start_date and end_date, but does not explain the profile parameter, date format, or default behavior. It fails to compensate for the schema gap.

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 uses a specific verb ('Aggregate statistics') and a resource ('for a period'), and enumerates the content areas included (usage, compliance, AHI distribution, event totals, pressure/leak summaries, trends). It is reasonably clear, though it does not explicitly distinguish itself from the sibling get_daily_summaries tool.

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?

No explicit when-to-use or when-not-to-use guidance is provided. The phrase 'for a period' implies use for period-level statistics, but with siblings like get_daily_summaries and get_daily_detail, the description should state when this aggregate tool is preferred over those alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Barbaroso/oscar-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server