Skip to main content
Glama

list_lab_markers

Read-onlyIdempotent

LOINC-coded markers in the reference library: canonical name, LOINC code, panel, typical unit, common aliases. Call BEFORE log_lab_results to match user-provided marker names to canonical entries; this prevents name drift and keeps trending working across lab visits. no arguments: the original full catalogue. Specific markers: query or panel. Whole catalogue without client truncation: limit=50 and follow the footer's next offset until complete, or compact=true for just codes, names and panels.

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_markers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax markers per response, at least 1; 25-50 avoids AI client truncation. Default: all matching markers.
panelNoPanel name, case-insensitive exact match (e.g. "Lipid Panel").
queryNoCase-insensitive substring of marker name, LOINC code, panel name or any alias (e.g. "ldl", "2345-7").
offsetNoMatching markers to skip, for paging; default 0.
compactNotrue = only LOINC_CODE, MARKER_NAME and PANEL (no units or aliases); default false.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / compact / description
      Previous value: -"true returns only LOINC_CODE, MARKER_NAME and PANEL (no units or aliases). Default: false."New value: +"true = only LOINC_CODE, MARKER_NAME and PANEL (no units or aliases); default false."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum markers per response, at least 1; use 25-50 to avoid AI client truncation. Default: all matching markers."New value: +"Max markers per response, at least 1; 25-50 avoids AI client truncation. Default: all matching markers."
    • changedInput schema / properties / offset / description
      Previous value: -"Number of matching markers to skip, for paging. Default: 0."New value: +"Matching markers to skip, for paging; default 0."
    • changedInput schema / properties / panel / description
      Previous value: -"Panel name, case-insensitive exact match (e.g. \"Lipid Panel\"). Default: every panel."New value: +"Panel name, case-insensitive exact match (e.g. \"Lipid Panel\")."
    • changedInput schema / properties / query / description
      Previous value: -"Case-insensitive substring of marker name, LOINC code, panel name or any alias (e.g. \"ldl\", \"2345-7\"). Default: no filter."New value: +"Case-insensitive substring of marker name, LOINC code, panel name or any alias (e.g. \"ldl\", \"2345-7\")."
  2. Changed5 schema fields changed
    • addedInput schema / properties / compact
      Added value: +{
      +  "description": "true returns only LOINC_CODE, MARKER_NAME and PANEL (no units or aliases). Default: false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Maximum markers per response, at least 1; use 25-50 to avoid AI client truncation. Default: all matching markers.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Number of matching markers to skip, for paging. Default: 0.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / panel
      Added value: +{
      +  "description": "Panel name, case-insensitive exact match (e.g. \"Lipid Panel\"). Default: every panel.",
      +  "type": "string"
      +}
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Case-insensitive substring of marker name, LOINC code, panel name or any alias (e.g. \"ldl\", \"2345-7\"). Default: no filter.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, closed-world safety profile, yet the description adds real operational context: AI client truncation around 25-50 items, the footer's next offset for paging, and the downstream benefit of stable canonical names for trending. It also explains what compact omits (units, aliases).

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-loads what the tool is and the critical BEFORE log_lab_results guidance, with zero filler. The final comma-spliced sentence packs several instructions together and could be broken into clearer bullets, but no sentence is wasted.

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?

An output schema exists so return values need not be described, yet the description still covers the practical retrieval workflow (paging footer, truncation limit) that an agent needs. Nothing essential for correct invocation is missing for a five-parameter reference-list tool.

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 a baseline of 3 would be acceptable, but the description adds selection logic beyond the schema: no arguments means the original full catalogue, limit=50 plus footer offset means complete retrieval, and compact=true yields only codes/names/panels. It does not, however, add format examples beyond the schema's own.

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?

Names a specific resource and the exact fields returned (canonical name, LOINC code, panel, typical unit, aliases), which makes it distinguishable from list_lab_results (recorded results) without opening either 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?

Explicitly states it should be called BEFORE log_lab_results and why (match user-provided names, avoid name drift, keep trending working). It also gives usage branches: no arguments for the full catalogue, query/panel for specific markers, limit+offset for complete paging, compact for a reduced view.

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.