Skip to main content
Glama
health-os

health-os

get_open_results

Read-only

Identify lab markers whose latest approved value is out of range and have no follow-up measurement, sorted oldest first, to prepare for a doctor visit.

Instructions

Lab results still waiting for a follow-up: every lab marker whose latest approved value is out of range (low/high/critical) with nothing approved measuring it since, oldest first, with since when it has been out of range (values_in_a_row) and whether a newer value is awaiting review. Use for "did anything abnormal never get re-checked?" and before a doctor visit. Say "not re-measured in the system since ", never how soon to re-test: that is the doctor's call. days: how far back to look (default: all time).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_open_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint=false; the description adds real behavioral detail on top: inclusion is gated on *approved* values, results are sorted oldest first, and each row carries an out-of-range duration counter and a pending-review flag. It also adds a safety rule the agent must obey when speaking ("not re-measured in the system since <date>", never a re-test interval), which is behavioral guidance not derivable from any structured field.

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 definition is front-loaded (what it returns, then when to use it, then the phrasing constraint, then the parameter) and nothing is clearly filler. The opening sentence is a long run-on that takes effort to parse, and the caveat about re-test timing is embedded mid-block rather than structured, which costs some readability.

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

Completeness5/5

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

With an output schema present and annotations covering the safety profile, the description supplies everything else an agent needs: the inclusion rule, ordering, the meaning of the derived fields, the only parameter, and a communication constraint. Nothing required to call it correctly, or to report its results safely, is missing.

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 0%, so the description must carry the single parameter, and it does: "days: how far back to look (default: all time)." That is valuable because the schema's raw default of 36500 is otherwise ambiguous and the phrase "all time" resolves it. It leaves a minor ambiguity about whether the window applies to the measurement date or to the out-of-range period, so it is strong but not fully explicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause states a precise verb+resource+scope: every lab marker whose latest approved value is out of range and has nothing approved measuring it since. Ordering (oldest first) and the two carried fields (values_in_a_row, newer-value-awaiting-review flag) further pin down exactly what this returns, so an agent can distinguish it from get_anomalies, get_trend, or list_pending_reviews without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives two concrete use cases (the "did anything abnormal never get re-checked?" question and pre-doctor-visit prep), which is clear contextual guidance. It does not name an alternative tool or an exclusion condition (e.g., when to prefer get_trend or list_pending_reviews instead), so it stops short of full when/when-not routing.

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