Skip to main content
Glama

list_lab_results

Read-onlyIdempotent

List lab/biomarker results in a date range, each with its ID; optional panel or marker name filter. use: reviewing lab history, blood work trends or specific marker values over time, or getting an id after an ambiguous update_lab_result/delete_lab_result match. Not required before update_lab_result or delete_lab_result: they resolve a result themselves from date (+ optional marker or panel_name). INFER, do not ask: the date range; defaults are on the params.

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": "list_lab_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoYYYY-MM-DD; default today.
panel_nameNoPartial panel name filter, e.g. "Lipid Panel".
start_dateNoYYYY-MM-DD; default all time (labs are sparse).
marker_nameNoPartial marker name filter, e.g. "LDL Cholesterol".

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / end_date / description
      Previous value: -"End of date range. Format: YYYY-MM-DD. Default: today."New value: +"YYYY-MM-DD; default today."
    • changedInput schema / properties / marker_name / description
      Previous value: -"Optional — filter to a partial marker name (e.g. \"LDL Cholesterol\")."New value: +"Partial marker name filter, e.g. \"LDL Cholesterol\"."
    • changedInput schema / properties / panel_name / description
      Previous value: -"Optional — filter to a partial panel name (e.g. \"Lipid Panel\")."New value: +"Partial panel name filter, e.g. \"Lipid Panel\"."
    • changedInput schema / properties / start_date / description
      Previous value: -"Start of date range. Format: YYYY-MM-DD. Default: all time."New value: +"YYYY-MM-DD; default all time (labs are sparse)."
  2. Changed2 schema fields changed
    • changedInput schema / properties / marker_name / description
      Previous value: -"Optional — filter to a specific marker (e.g. \"LDL Cholesterol\")."New value: +"Optional — filter to a partial marker name (e.g. \"LDL Cholesterol\")."
    • changedInput schema / properties / panel_name / description
      Previous value: -"Optional — filter to a specific panel (e.g. \"Lipid Panel\")."New value: +"Optional — filter to a partial panel name (e.g. \"Lipid Panel\")."
  3. Changed1 schema field changed
    • changedInput schema / properties / start_date / description
      Previous value: -"Start of date range. Format: YYYY-MM-DD. Default: 365 days ago."New value: +"Start of date range. Format: YYYY-MM-DD. Default: all time."
  4. First observed

TDQS

A4.4/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 genuine context beyond them: every row includes its ID, and the sibling write tools do their own date-based resolution. It stops short of saying what an empty range returns, but the output schema covers the shape.

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?

Front-loaded with the core action and return value, then usage, then exclusions. The telegraphic 'use:' / 'INFER, do not ask:' phrasing is terse but readable. Slight redundancy in restating the date-range defaults already in the schema.

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?

For a read-only, zero-required-parameter list tool with full schema coverage and an output schema, nothing an agent needs to call it correctly is missing. The description covers purpose, filters, ID availability, and the relationship to the mutating siblings.

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 all four parameters already document format and defaults (YYYY-MM-DD, today, all-time). The description only restates that defaults live on the params plus the 'infer, do not ask' instruction, which is minor added value. 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.

Purpose5/5

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

States a specific verb and resource (list lab/biomarker results), names the scope (date range), the optional filters, and what each row carries (its ID). This is enough to distinguish it from log_lab_results, update_lab_result, delete_lab_result, and list_lab_markers without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use cases (lab history, blood work trends, specific marker values over time, recovering an ID after an ambiguous match) and an explicit when-not-needed rule: update_lab_result and delete_lab_result resolve a result themselves. That negative guidance is exactly the kind of routing an agent needs.

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.