Skip to main content
Glama
rkirkendall

Medplum MCP Server

by rkirkendall

getPatientById

Retrieve patient details using their unique ID to access healthcare data stored in Medplum FHIR servers through the Medplum MCP Server.

Instructions

Retrieves a patient resource by their unique ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patientIdYesThe unique ID of the patient to retrieve.
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states retrieval but doesn't disclose behavioral traits like whether it's read-only, requires authentication, handles errors, or returns specific data formats. This leaves significant gaps for a tool with potential side effects or constraints.

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?

The description is a single, efficient sentence with zero waste—it directly states the tool's function without unnecessary details. It's appropriately sized and front-loaded, making it easy to parse quickly.

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?

Given the tool's low complexity (1 parameter, no output schema) and high schema coverage, the description is minimally adequate. However, without annotations or output schema, it should ideally cover more behavioral aspects like return values or error handling, but it's not severely lacking for a simple retrieval tool.

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 the 'patientId' parameter fully. The description adds no additional meaning beyond implying retrieval by ID, which aligns with the schema. This meets the baseline of 3 when schema coverage is high.

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?

The description clearly states the action ('Retrieves') and resource ('patient resource'), making the purpose evident. It specifies retrieval by 'unique ID', which distinguishes it from search tools but doesn't explicitly differentiate from other 'getById' siblings for different resource types, keeping it at 4 rather than 5.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like 'searchPatients' or 'createPatient'. It lacks context on prerequisites, such as needing a known patient ID, or exclusions, such as not being suitable for bulk retrieval.

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

Install Server

Other Tools

Related Tools

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/rkirkendall/medplum-mcp'

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