Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENFDA_SOURCENoSource for FDA data: 'mock' or 'live'.mock
SYMPTOM_SOURCENoSource for symptom lookup: 'mock' or 'infermedica'.mock
OPENEMR_DB_HOSTNoMySQL host when OPENEMR_DATA_SOURCE=db.
OPENEMR_DB_NAMENoMySQL database name when OPENEMR_DATA_SOURCE=db.
OPENEMR_DB_PORTNoMySQL port when OPENEMR_DATA_SOURCE=db.3306
OPENEMR_DB_USERNoMySQL user when OPENEMR_DATA_SOURCE=db.
OPENFDA_API_KEYNoOptional API key for higher rate limits when OPENFDA_SOURCE=live.
INFERMEDICA_APP_IDNoInfermedica Application ID (required if SYMPTOM_SOURCE=infermedica).
OPENEMR_OAUTH_SITENoOpenEMR OAuth site identifier (usually 'default') when OPENEMR_DATA_SOURCE=api.
INFERMEDICA_APP_KEYNoInfermedica Application Key (required if SYMPTOM_SOURCE=infermedica).
OPENEMR_DATA_SOURCENoPatient and clinical data source. Options: 'mock' (default), 'db' (MySQL), or 'api' (FHIR R4).mock
OPENEMR_DB_PASSWORDNoMySQL password when OPENEMR_DATA_SOURCE=db.
OPENEMR_API_BASE_URLNoOpenEMR FHIR API base URL (e.g., https://your-openemr/apis/default) when OPENEMR_DATA_SOURCE=api.
OPENEMR_OAUTH_PASSWORDNoOAuth password when OPENEMR_DATA_SOURCE=api.
OPENEMR_OAUTH_USERNAMENoOAuth username when OPENEMR_DATA_SOURCE=api.
DRUG_INTERACTION_SOURCENoSource for drug interactions: 'mock', 'openfda', or 'rxnorm' (deprecated).mock
OPENEMR_OAUTH_CLIENT_IDNoOAuth Client ID when OPENEMR_DATA_SOURCE=api.
OPENEMR_OAUTH_CLIENT_SECRETNoOAuth Client Secret when OPENEMR_DATA_SOURCE=api.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
openemr_patient_searchA

Search OpenEMR patients by name. Returns matching patient records with ID, DOB, sex, and city.

openemr_appointment_listB

List upcoming appointments for a patient.

openemr_medication_listC

Return the current medication list for a patient.

openemr_drug_interaction_checkB

Check a list of medications for known drug-drug interactions. Returns severity-classified interactions.

openemr_provider_searchB

Search for healthcare providers by specialty and/or location.

openemr_fda_adverse_eventsB

Query FDA FAERS database for adverse event reports on a drug.

openemr_fda_drug_labelB

Retrieve official FDA drug label including boxed warnings, contraindications, and indications.

openemr_symptom_lookupA

Look up possible conditions for a list of symptoms. Returns ranked conditions with urgency level and medical disclaimer.

openemr_drug_safety_flag_createB

Create a drug safety flag for a patient (adverse event, recall, warning, contraindication, or custom note).

openemr_drug_safety_flag_listA

List all drug safety flags for a patient, optionally filtered by status.

openemr_drug_safety_flag_updateB

Update a drug safety flag's severity, description, or status.

openemr_drug_safety_flag_deleteB

Delete a drug safety flag by ID.

openemr_lab_trendsA

Return longitudinal lab trajectories for a patient (A1c, LDL, eGFR).

openemr_vital_trendsB

Return longitudinal vital sign trajectories for a patient (weight, BP systolic/diastolic).

openemr_questionnaire_trendsB

Return longitudinal questionnaire score trajectories for a patient (PHQ-9 depression screening).

openemr_health_trajectoryA

Aggregate all metric trajectories (labs, vitals, questionnaires) and compute clinical drift alerts for a patient.

openemr_visit_prepA

Generate a pre-visit clinical brief for a patient: top risks, medication safety, care gaps, and suggested agenda. Evidence-linked, no hallucination.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/shruti-jn/openemr-mcp'

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