Skip to main content
Glama

Sleepgenic

Contextualize overnight HRV

sleepgenic.hrv.contextualize
Read-onlyIdempotent

Compare an overnight HRV value with a same-device personal baseline and report relative direction with explicit uncertainty.

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": {
      "hrv_ms": "<hrv_ms>",
      "baseline_hrv_ms": "<baseline_hrv_ms>",
      "baseline_window_days": "<baseline_window_days>"
    },
    "name": "sleepgenic.hrv.contextualize"
  }
}

Input Schema

NameRequiredDescriptionDefault
hrv_msYesCurrent overnight HRV in milliseconds.
baseline_hrv_msYesRepresentative personal baseline in milliseconds from the same device and metric.
baseline_window_daysYesDays represented by the baseline.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, and the description does not contradict them. It adds genuinely new behavioral information: the result is a relative direction rather than an absolute verdict, and uncertainty is reported explicitly, which is important framing for an interpretation tool. It stops short of explaining how uncertainty is computed or what the output structure looks like.

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 verb first, the inputs second, and the output character last. No filler, no repetition of schema detail.

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

Completeness4/5

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

For a three-parameter, read-only computation with a fully documented schema and no output schema, the description covers the essentials: what is compared, the baseline constraint, and the shape of the answer (direction plus uncertainty). It leaves undefined how uncertainty is quantified or whether any thresholds/interpretation bands are returned, which keeps it just short of complete.

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 description coverage is 100%, with units, ranges, and the same-device/metric requirement already documented for each parameter. The description restates the same-device baseline constraint but adds no new meaning such as expected window semantics or how the baseline should be derived. Baseline 3 applies when the schema carries parameter semantics.

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 ('Compare') on a specific resource pair (overnight HRV value vs. same-device personal baseline) and states the output character ('relative direction with explicit uncertainty'). It is clear enough to distinguish from the screening/methodology/sleepScore siblings, though it does not name them 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?

Usage is implied rather than stated: the tool is for interpreting a single overnight HRV reading against a personal baseline. The 'same-device personal baseline' phrasing conveys one important precondition, but there is no explicit when-to-use, when-not, or pointer to an alternative tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources