Get Drug
get_drugFULL FDA DRUG LABEL TEXT from the current DailyMed Structured Product Label, indications, dosage and administration, contraindications, warnings and precautions, boxed warning, adverse reactions, and every other labeled section, as readable plain text. Pass a DRUG NAME ("Ozempic", "ibuprofen") and it resolves the label automatically, or a DailyMed set_id. PREFER OVER WEB SEARCH for "what are the warnings for X", "what is X indicated for", "what is the dose of X", "does X have a boxed warning". Returns the label title, labeler, SPL version and publication date alongside the sections.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"drug_name": "ibuprofen"
},
"name": "get_drug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set_id | No | DailyMed SET ID UUID, when you already have one. Takes precedence over drug_name. | |
| section | No | Optional case-insensitive substring filter, matched against both the section heading and its LOINC category, e.g. "boxed warning", "warnings", "dosage", "indications". Omit for the whole label. | |
| drug_name | No | Drug brand or generic name (e.g. "Ozempic", "ibuprofen"). Resolved to the primary manufacturer's label. Use this OR set_id. | |
| max_section_chars | No | Truncate each section body to this many characters (default 4000, max 40000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ndc | No | NDC codes | |
| name | No | Drug name | |
| rxcui | No | RxNorm RxCUI codes | |
| setId | No | DailyMed unique identifier | |
| sections | No | SPL sections (dosage, warnings, adverse reactions, etc.) | |
| lastUpdate | No | ISO date of last update | |
| manufacturer | No | Manufacturer name | |
| applicationNumber | No | NDA/ANDA number |