Skip to main content
Glama

LabSlope

Analyze anonymized multi-visit lab trends & Silent Drift

analyze_lab_trends
Read-only

Analyze 1-10 anonymized multi-visit blood lab panels across mixed US/SI units and sparse marker subsets to detect Silent Drift, Ceiling Watch, derived scores, and doctor questions. Never pass patient names, DOB, MRN, or unredacted lab images; pure stateless in-memory calculation with zero storage.

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": {
      "visits": "<visits>"
    },
    "name": "analyze_lab_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
sexNoOptional sex for derived CKD-EPI 2021 eGFR calculation.
visitsYes1 to 10 anonymized blood test visits ordered in any sequence.
ageYearsNoOptional chronological age in years for derived eGFR and PhenoAge calculations.
unitSystemNoPreferred output unit system ("us" or "si"). Defaults to "us".us

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description goes further by asserting 'pure stateless in-memory calculation with zero storage' and an explicit PII prohibition (no names, DOB, MRN, unredacted lab images), which is real behavioral context an agent cannot get from the schema. It does not disclose the shape or size of the returned analysis, which matters given there is no output schema.

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 tightly packed sentences with no filler, and the operational scope ('1-10 anonymized multi-visit blood lab panels') is front-loaded before the safety constraint. The density comes at some cost in readability, since several domain terms are used without explanation.

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?

Inputs are well covered by the 100%-described schema plus the unit/PII notes, but this is a complex multi-visit analysis tool with no output schema, and the description never indicates what the returned report contains (per-marker trend fields? per-visit deltas? question text?), nor any minimum-visit requirement for drift detection. That leaves a meaningful gap for an agent trying to decide whether the result answers its question.

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%, so the schema already documents visits, unitSystem, ageYears, and sex. The description adds only marginal meaning, notably 'mixed US/SI units' and 'sparse marker subsets', which explains why units are carried per reading and why readings may be incomplete. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

Names a specific verb ('Analyze') and resource ('1-10 anonymized multi-visit blood lab panels') with an explicit scope of 1-10 visits, and lists the analysis outputs it produces (Silent Drift, Ceiling Watch, derived scores, doctor questions). This distinguishes it from the sibling single-purpose calculators, though the proprietary terms 'Silent Drift' and 'Ceiling Watch' are never defined, so an agent knows what it produces but not precisely what those detections mean.

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 by the multi-visit framing: this is the longitudinal tool, whereas calculate_egfr/calculate_phenoage are single-point calculators. However, no explicit when-to-use or when-not-to-use statement is given, and there is no guidance on the obvious overlap with the derived-score siblings even though the description advertises 'derived scores' as an output.

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.