Skip to main content
Glama
MiltonPolanco

Clinic Laboratory MCP Server

get_latest_lab_results

Retrieve recent lab results for a patient, covering all tests or a single test code.

Instructions

Get the newest result for each test of a patient, or for one test code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
test_codeNo
medical_recordYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It reveals that results are grouped by test and optionally filtered by test code, but does not specify what 'newest' means (e.g., collection time vs result time) or any other limitations. The read-only nature is implied by 'get'.

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?

Single sentence, front-loaded with verb and resource, zero redundant words. It communicates both execution modes without clutter.

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

Completeness4/5

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

For a two-parameter retrieval tool with an output schema, the description is adequate for correct invocation. It conveys the main behavior and the two modes. Adding a note about timestamp semantics or a pointer to alternative tools would raise completeness, but it is sufficient for typical use.

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 0%, so the description compensates by associating medical_record with the patient and clarifying that test_code filters to one specific test. It does not explain accepted values or formats for either parameter, but it adds meaning beyond the bare schema.

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 description uses a specific verb (get) with a clear resource (lab results) and scope (newest per test for a patient, or one test code). This clearly distinguishes it from siblings such as record_lab_result, schedule_lab_exam, compare_lab_results, and search_patients.

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 description implies two usage modes (with and without a test_code) but provides no explicit guidance on when to choose this tool over its siblings. An agent must infer that it is the right tool for fetching latest results rather than comparing or listing pending exams.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MiltonPolanco/clinic-lab-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server