Skip to main content
Glama

Sleepgenic

Contextualize a wearable sleep score

sleepgenic.sleepScore.contextualize
Read-onlyIdempotent

Compare a device-specific sleep score with the same person's baseline without assigning a diagnosis or universal quality grade.

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": {
      "score": "<score>",
      "baseline_score": "<baseline_score>",
      "baseline_window_days": "<baseline_window_days>"
    },
    "name": "sleepgenic.sleepScore.contextualize"
  }
}

Input Schema

NameRequiredDescriptionDefault
scoreYesCurrent wearable sleep score.
baseline_scoreYesRepresentative score from the same person and device.
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, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: the output is a comparison rather than a judgment, and no diagnosis or universal grade is produced. That is a meaningful constraint on interpretation that the annotations do not convey.

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 sentence with the core comparison front-loaded and the interpretive limitation attached directly to it. No filler, no restatement of the title or parameter names.

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?

There is no output schema, so the description carries the burden of indicating what the comparison returns, yet it never says whether the result is a delta, a relative position, or a textual interpretation. For a simple three-parameter read-only tool this is passable, but the return shape is an avoidable blind spot.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents all three parameters and the 3-point baseline applies. The description still adds real semantics not present in the schema: the score is device-specific and the baseline must come from the same person (and, by phrasing, the same device), which is a matching constraint an agent could otherwise miss.

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 a specific verb and resource: 'Compare a device-specific sleep score with the same person's baseline.' It also bounds the scope by excluding diagnosis and universal quality grading, which tells an agent what kind of result to expect. It does not explicitly differentiate itself from siblings such as sleepgenic.hrv.contextualize, so it falls short of a 5.

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?

The exclusion ('without assigning a diagnosis or universal quality grade') implies appropriate use for interpretive/contextual purposes rather than clinical screening, which is useful implied guidance. However, there is no explicit statement of when to call this versus sleepgenic.hrv.contextualize or sleepgenic.screening.lookup, and no prerequisites or preconditions are given.

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