Skip to main content
Glama
maheshbalan

FHIR MCP Server

by maheshbalan

request_allergy_intolerance_resource

Query and manage FHIR AllergyIntolerance resources directly via HTTP, supporting full CRUD with delete confirmation to prevent accidental data loss.

Instructions

Makes an HTTP request to the FHIR server. Use this tool to perform CRUD operations only on the FHIR AllergyIntolerance resource. Rules: - When creating or updating an allergy intolerance, use only the data explicitly provided by the user. - Do not guess, auto-fill, or assume any missing data. - When deleting an allergy intolerance, ask the user for confirmation with details of the allergy intolerance and wait for the user's confirmation. - Provide links to the app (not api) allergy intolerance resource in the final response.

Args: method: HTTP method (GET, POST, PUT, DELETE) path: Resource path (e.g., "/AllergyIntolerance", "/AllergyIntolerance?patient=Patient/123") body: Optional JSON data for POST/PUT requests)

Returns: JSON response from the FHIR server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden and does a good job: it discloses the HTTP/CRUD nature, instructs to use only user-provided data, requires confirmation before deletion, and mentions providing links. It stops short of discussing authentication or error behavior, but covers important side-effect-related rules.

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?

The description is well-structured with sections for purpose, rules, args, and returns. It is slightly lengthy due to operational rules, but each sentence adds meaningful guidance and none is redundant.

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?

Given the tool's CRUD nature and absence of annotations, the description covers key usage constraints and return type. The lack of explicit auth notes and the args/schema mismatch are minor gaps, but overall it provides enough context for safe 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?

The description lists method, path, and body with examples and notes body is optional, which adds some value. However, it presents them as direct args while the actual input schema requires a single 'request' wrapper object, which could mislead an agent about the invocation structure. The schema also already provides descriptions for these nested properties.

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 clearly states it makes HTTP requests for CRUD operations specifically on the FHIR AllergyIntolerance resource, using a specific verb ('Makes an HTTP request') and resource. The name and sibling tools confirm distinct resource-specific purpose, so it is well differentiated.

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

Usage Guidelines4/5

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

It explicitly says 'Use this tool to perform CRUD operations only on the FHIR AllergyIntolerance resource,' which provides clear scope and exclusion. It also includes operational rules (e.g., confirmation before delete, no auto-filling data), but does not explicitly name alternative tools for other resource types.

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/maheshbalan/fhir-mcp-server'

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