Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PHARMACY_MCP_HOSTNoHost for Streamable HTTP transport. Default is localhost.
PHARMACY_MCP_PORTNoPort for Streamable HTTP transport. Default is 8000.
PHARMACY_MCP_TRANSPORTNoTransport protocol (stdio or streamable-http). Default is stdio.
PHARMACY_MCP_MOUNT_PATHNoMount path for ASGI app.
PHARMACY_MCP_STATELESS_HTTPNoEnable stateless HTTP mode.
PHARMACY_MCP_STREAMABLE_HTTP_PATHNoPath for Streamable HTTP endpoint.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_pharmacyA

Single pharmaceutical knowledge entry point. Query compatible public APIs, Taiwan NHI/TFDA, hospital FHIR inventory, SQL, files, vector search, and configured web sources concurrently. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

list_knowledge_sourcesA

List cataloged pharmacy knowledge sources, capabilities, readiness, credential requirements, and runtime registration state. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

get_nhi_data_statusA

Inspect the Taiwan NHI official index freshness, row count, local path, and upstream dataset URL without forcing a download. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

search_drugC

Search for drugs by name. Returns results from RxNorm and FDA databases. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

get_drug_infoA

Get comprehensive information about a drug including indications, dosage, warnings, and pharmacology. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

get_drug_dosageA

Get dosage and administration information for a drug. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

get_drug_warningsB

Get warnings, contraindications, and adverse reactions for a drug. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

check_drug_interactionA

Check for interactions between two drugs. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

check_multi_drug_interactionsA

Check for interactions among multiple drugs (medication list review). Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

check_food_drug_interactionA

Check for food-drug interactions for a specific drug. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

calculate_dose_by_weightC

Calculate weight-based dosage (mg/kg). Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

calculate_dose_by_bsaC

Calculate BSA-based dosage (mg/m²), commonly used in oncology. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

calculate_creatinine_clearanceA

Calculate creatinine clearance using Cockcroft-Gault formula for renal dosing adjustments. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

calculate_pediatric_doseC

Calculate pediatric dose from adult dose using weight, age, or BSA method. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

calculate_infusion_rateC

Calculate IV infusion rate. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

convert_dose_unitsB

Convert between dose units (g, mg, mcg, ng). Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

search_tfda_drugB

Search the Taiwan TFDA drug database for permits and product information. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

get_nhi_coverageA

Check whether a drug is covered by Taiwan National Health Insurance (NHI) and return coverage details. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

get_nhi_drug_priceB

Get NHI reimbursement price for a drug by NHI code. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

translate_drug_nameA

Translate drug names between English and Traditional Chinese where local mapping data is available. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

list_prior_authorization_drugsA

List drugs requiring NHI prior authorization. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

list_nhi_coverage_rulesA

List all NHI coverage rules available in the local database. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

get_formulary_itemA

Get hospital formulary item details by drug code. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

search_formularyA

Search hospital formulary by drug name or code. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

get_renal_adjustmentA

Get renal dosing adjustment recommendation based on creatinine clearance (CrCl). Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

validate_orderC

Validate a medication order before submission. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

submit_orderC

Submit a medication order to the HIS service. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

stop_orderB

Discontinue an active medication order. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

list_formula_catalogB

List trusted PK/DDI formulas available for simulation. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

get_formula_detailsA

Get full metadata for a trusted PK/DDI formula. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

explain_interaction_mechanismA

Explain the supported mechanistic DDI pathway for a drug pair, including required simulation parameters. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

simulate_pk_interactionC

Run a PBPK-lite CYP reversible inhibition exposure estimate for a supported drug pair using explicit user-supplied parameters. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

simulate_concentration_timeB

Run a one-compartment concentration-time estimate. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

Prompts

Interactive templates invoked by user choice

NameDescription
ddi_analysis_workflowPrompt template for evidence-backed DDI analysis.
formula_review_checklistPrompt template for reviewing draft formulas before trust promotion.
pharmacy-query-contractConstrain an agent to the versioned Pharmacy MCP response envelope.

Resources

Contextual data attached and managed by the client

NameDescription
server_disclaimerPharmacy MCP medical disclaimer.
trusted_formula_catalogTrusted PK/DDI formula catalog metadata.
formula_validation_casesValidation fixtures for trusted PK/DDI formulas.

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/u9401066/pharmacy-mcp'

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