Openfda Drug Profile
openfda_drug_profileResolve one drug name to its FDA identity, then fan out in parallel across the bounded per-drug openFDA endpoints and merge into one profile: identity, label highlights, adverse-event summary, recall history, Drugs@FDA approval, and shortage status. Replaces chaining openfda_get_drug_label, openfda_search_adverse_events, openfda_search_recalls, openfda_search_drug_approvals, and openfda_search_drug_shortages — and reconciles the identifier drift between endpoints that makes that chaining error-prone. Each section is best-effort: a miss returns null rather than failing the call. For deep dives into any one area, use the dedicated tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drug | Yes | Drug name to profile — brand or generic (e.g. "metformin", "Humira", "Glucophage"). Resolved once to canonical FDA identifiers, which then key every sub-query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Request metadata. | |
| error | No | Present when the call failed. Absent on success. | |
| label | No | Label highlights from drug/label, or null when no label matched. | |
| notice | No | Guidance when the drug could not be resolved or upstream errors degraded the profile. Absent on a fully populated profile. | |
| recalls | No | Recent drug/enforcement recall actions (may be empty). | |
| approval | No | Drugs@FDA approval summary, or null when no application matched. | |
| degraded | No | Sub-queries that failed upstream, empty when every section resolved. A section listed here is unknown, not absent — a null section with no entry here genuinely has no FDA record. | |
| identity | No | Identity resolved once and reused across every sub-query to avoid identifier drift. | |
| shortage | No | Current or most-recent drug shortage status, or null when none on record. | |
| sectionsFound | No | How many profile sections (label, adverse_events, recalls, approval, shortage) returned data. | |
| adverse_events | No | Adverse-event summary aggregated over drug/event, or null when unavailable. |