medmcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| find_patientsC | Find patients in the MIMIC-IV Demo cohort matching the given filters. |
| get_admissionsA | Get every hospital admission for one patient, by subject_id. |
| get_labsA | Get lab results for one patient and one lab test, optionally windowed by date. label is resolved against d_labitems - if it names more than one lab item, the error lists every candidate (itemid, label, fluid, category) so a retry can narrow it with a fluid or category word. |
| aggregateA | Aggregate patients or admissions by a fixed metric, optionally grouped by a fixed column. metric in {patient_count, avg_patient_age, admission_count}; group_by in {gender, admission_type, insurance, race} and must belong to the same table as metric. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| list_tables | Every table loaded into the DuckDB store, with its row count. |
TDQS
Scored across 4 tools
Each tool serves a distinct purpose: patient search, admissions lookup, lab results retrieval, and data aggregation. There is no overlap in their intended actions or target data, making misselection unlikely.
Three tools follow the verb_noun pattern (find_patients, get_admissions, get_labs), while 'aggregate' is a single verb without a noun. This is a minor deviation but still readable and predictable overall.
With only 4 tools, the server is tightly scoped to core MIMIC-IV demo queries. Each tool covers a significant workflow, and the count is well within the ideal range for a focused medical data access server.
The tools cover patient lookup, admissions, labs, and aggregation, which handles most basic exploratory queries. Missing operations like diagnosis or medication retrieval are notable but not critical given the demo scope, so agents can work around them.