Skip to main content
Glama

OpenFDA

by ythalorossy

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENFDA_API_KEYYesYour OpenFDA API key, required to access the OpenFDA API. Obtain it from OpenFDA API Key Registration (https://open.fda.gov/apis/authentication/).

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get-drug-by-name

Get drug by name. Use this tool to get the drug information by name. The drug name should be the brand name. It returns the brand name, generic name, manufacturer name, product NDC, product type, route, substance name, indications and usage, warnings, do not use, ask doctor, ask doctor or pharmacist, stop use, pregnancy or breast feeding.

get-drug-by-generic-name

Get drug information by generic (active ingredient) name. Useful when you know the generic name but not the brand name. Returns all brand versions of the generic drug.

get-drug-adverse-events

Get adverse event reports for a drug. This provides safety information about reported side effects and reactions. Use brand name or generic name.

get-drugs-by-manufacturer

Get all drugs manufactured by a specific company. Useful for finding alternatives or checking manufacturer portfolios.

get-drug-safety-info

Get comprehensive safety information for a drug including warnings, contraindications, drug interactions, and precautions. Use brand name.

get-drug-by-ndc

Get drug information by National Drug Code (NDC). Accepts both product NDC (XXXXX-XXXX) and package NDC (XXXXX-XXXX-XX) formats. Also accepts NDC codes without dashes.

get-drug-by-product-ndc

Get drug information by product NDC only (XXXXX-XXXX format). This ignores package variations and finds all packages for a product.

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/ythalorossy/openfda'

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