Skip to main content
Glama
NyxToolsDev

DICOM/HL7/FHIR Interoperability MCP Server

pacs_query

Search PACS for medical imaging studies or series using filters like patient ID, date, modality, and description. Supports DICOM protocols C-FIND and QIDO-RS.

Instructions

[Premium] Search PACS for studies or series. Supports filtering by patient ID, patient name, accession number, study date (YYYYMMDD or range), modality, and study description. Returns up to 50 results. Uses C-FIND (DIMSE) or QIDO-RS (DICOMweb).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
query_levelNoQuery level: 'STUDY' or 'SERIES'. Default: STUDY.STUDY
patient_idNoFilter by Patient ID.
patient_nameNoFilter by patient name. Supports wildcards (* or ?).
accession_numberNoFilter by accession number.
study_dateNoFilter by study date. YYYYMMDD for exact, YYYYMMDD-YYYYMMDD for range.
modalityNoFilter by modality (CT, MR, US, XR, MG, etc.).
study_descriptionNoFilter by study description (partial match).
study_instance_uidNoFilter by Study Instance UID. Required for SERIES level queries.
limitNoMaximum results to return (1-50). Default: 10.
Behavior3/5

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

No annotations provided, so description carries full burden. It adds crucial behavioral context: the 50-result limit, '[Premium]' tier indicator, and underlying protocols (C-FIND/QIDO-RS). However, it omits safety disclosure (read-only nature), authentication requirements, and what the results contain given no output schema exists.

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?

Well-structured and front-loaded with the '[Premium]' tag and primary purpose. Four sentences efficiently convey scope, filters, limits, and implementation details. Minor redundancy in listing all filter fields that are already well-documented in the schema, but this aids scannability.

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?

With 9 parameters and no output schema, the description adequately covers input capabilities but only minimally addresses return values ('Returns up to 50 results' without describing structure or fields). Given the medical domain complexity, it should describe the return format or study/series object structure since no output schema compensates.

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?

Input schema has 100% description coverage, establishing baseline 3. The description lists the available filters but adds no semantic meaning beyond what the schema already provides (e.g., date format YYYYMMDD is documented in both). No additional parameter syntax or examples are provided.

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?

Clearly states the tool searches PACS for studies or series with specific filtering capabilities. However, it does not explicitly differentiate from sibling tools like 'pacs_retrieve' or 'pacs_study_summary', though the verb 'Search' implies read-only query vs. retrieval.

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?

Provides implied usage through the specific mention of C-FIND/QIDO-RS protocols (query operations) which distinguishes it from retrieval operations. However, lacks explicit guidance on when to use this versus 'pacs_retrieve', 'pacs_get_metadata', or 'pacs_study_summary' for users unfamiliar with DICOM protocol differences.

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

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/NyxToolsDev/dicom-hl7-mcp-server'

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