Skip to main content
Glama

Get FDA drug label

get_drug_label
Read-onlyIdempotent

Retrieve FDA prescribing-label sections—boxed warnings, indications, dosage, contraindications—for a drug by brand, generic, or active-substance name from openFDA.

Instructions

Get FDA prescribing-label sections for a drug from openFDA.

Looks the name up across brand, generic and active-substance names and picks the best label (exact name match, single-ingredient products and the most recent version are preferred). Returns boxed warning, indications and usage, dosage and administration, contraindications and warnings, each truncated to max_section_chars, plus manufacturer, pharmacologic class and a DailyMed URL to cite. Labels are regulatory text, not treatment advice.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "drug_name": "<drug_name>"
    },
    "name": "get_drug_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
drug_nameYesBrand or generic name, e.g. 'metformin', 'Keytruda', 'adalimumab'.
max_section_charsNoTruncate each label section to this many characters.

Output Schema

NameRequiredDescriptionDefault
urlYesDailyMed page for this label, to cite.
queryYes
routesYes
set_idYesSPL set ID; stable across label versions.
sourceNoopenFDA
sectionsYes
disclaimerNoopenFDA label data can be outdated or incomplete and must not be used for clinical decisions. Verify against the current official label (see url).
brand_namesYes
manufacturerYes
product_typeYes
generic_namesYes
total_matchesYesLabels matching the name (products and labelers).
effective_dateYesLabel version date (YYYY-MM-DD).
other_productsYesA few other matching labels, for context.
data_last_updatedYes
pharmacologic_classesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety bar is low. The description still adds real value beyond them: the multi-field name-matching strategy, the label-selection preference rules (exact match, single-ingredient, most recent), and the truncation behavior applied to every returned section.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, then the matching/selection logic, then the return shape, then a one-line disclaimer. Every sentence carries information; the only near-redundancy is enumerating returned section names that the output schema likely already lists, which is minor.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with a full output schema and rich annotations, the description covers the remaining unknowns: how names are resolved, how a label is chosen among candidates, that sections are truncated, and that the content is regulatory rather than clinical advice.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description goes further by revealing that drug_name is resolved against active-substance names too, not just brand/generic as the schema text states, which materially affects what inputs will succeed. Its note about truncating each section to max_section_chars merely restates the schema parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('Get FDA prescribing-label sections for a drug from openFDA') and then details the lookup mechanics — matching across brand, generic and active-substance names with a stated preference order. The FDA-drug-label resource is unambiguously distinct from the sibling tools (clinical trials, proteins, PubMed abstracts), so an agent can route correctly without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the purpose: fetch label sections for a named drug. There is a soft boundary ('Labels are regulatory text, not treatment advice') and an implicit citation path (DailyMed URL), but no explicit when-to-use-vs-alternative guidance or prerequisites such as what to do when a drug name is misspelled or ambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.