Skip to main content
Glama

Get Drug

get_drug
Read-onlyIdempotent

FULL 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

NameRequiredDescriptionDefault
set_idNoDailyMed SET ID UUID, when you already have one. Takes precedence over drug_name.
sectionNoOptional 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_nameNoDrug brand or generic name (e.g. "Ozempic", "ibuprofen"). Resolved to the primary manufacturer's label. Use this OR set_id.
max_section_charsNoTruncate each section body to this many characters (default 4000, max 40000).

Output Schema

NameRequiredDescriptionDefault
ndcNoNDC codes
nameNoDrug name
rxcuiNoRxNorm RxCUI codes
setIdNoDailyMed unique identifier
sectionsNoSPL sections (dosage, warnings, adverse reactions, etc.)
lastUpdateNoISO date of last update
manufacturerNoManufacturer name
applicationNumberNoNDA/ANDA number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "set_id": "fdbfe194-b845-42c5-bb87-a48118bc72e7"
      -  }
      -]New value: +[
      +  {
      +    "drug_name": "ibuprofen"
      +  },
      +  {
      +    "drug_name": "Ozempic",
      +    "section": "boxed warning"
      +  }
      +]
    • addedInput schema / properties / drug_name
      Added value: +{
      +  "description": "Drug brand or generic name (e.g. \"Ozempic\", \"ibuprofen\"). Resolved to the primary manufacturer's label. Use this OR set_id.",
      +  "type": "string"
      +}
    • addedInput schema / properties / max_section_chars
      Added value: +{
      +  "description": "Truncate each section body to this many characters (default 4000, max 40000).",
      +  "type": "number"
      +}
    • addedInput schema / properties / section
      Added value: +{
      +  "description": "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.",
      +  "type": "string"
      +}
    • changedInput schema / properties / set_id / description
      Previous value: -"DailyMed setId UUID"New value: +"DailyMed SET ID UUID, when you already have one. Takes precedence over drug_name."
    • removedInput schema / required
      Removed value: -[
      -  "set_id"
      -]
  2. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "set_id": "3d50d4d9-3f05-4cd8-baaa-5e6a9eef0d2f"
      -  }
      -]New value: +[
      +  {
      +    "set_id": "fdbfe194-b845-42c5-bb87-a48118bc72e7"
      +  }
      +]
  3. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "set_id": "3d50d4d9-3f05-4cd8-baaa-5e6a9eef0d2f"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Full Structured Product Label with metadata and sections",
      +  "properties": {
      +    "applicationNumber": {
      +      "description": "NDA/ANDA number",
      +      "type": "string"
      +    },
      +    "lastUpdate": {
      +      "description": "ISO date of last update",
      +      "type": "string"
      +    },
      +    "manufacturer": {
      +      "description": "Manufacturer name",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Drug name",
      +      "type": "string"
      +    },
      +    "ndc": {
      +      "description": "NDC codes",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "rxcui": {
      +      "description": "RxNorm RxCUI codes",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "sections": {
      +      "description": "SPL sections (dosage, warnings, adverse reactions, etc.)",
      +      "items": {
      +        "properties": {
      +          "content": {
      +            "description": "Section content HTML or plain text",
      +            "type": "string"
      +          },
      +          "sectionName": {
      +            "description": "Section title (e.g. DOSAGE, WARNINGS)",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "setId": {
      +      "description": "DailyMed unique identifier",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value beyond that: it discloses the return payload (label title, labeler, SPL version, publication date plus sections) and implies only the current label is fetched. It does not say what happens when a drug name matches multiple labels or when no label is found.

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

Conciseness4/5

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

Front-loaded with the core capability and the source of truth, then routing guidance, then return shape — a sensible order. Some padding exists in the section enumeration ("and every other labeled section") and the all-caps emphasis, but nothing is genuinely wasteful.

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

Completeness4/5

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

With an output schema, full parameter descriptions, and rich annotations, the description covers nearly everything an agent needs to invoke it. The remaining gap is disambiguation behavior for ambiguous drug names, which matters given the presence of list_labels_for_drug_name as a sibling.

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

Parameters3/5

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

Schema coverage is 100%, so every parameter including set_id precedence and the section filter is already documented. The description reinforces the drug-name resolution behavior and gives example values, but adds little semantic detail the schema lacks. Baseline 3 is appropriate.

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?

States a specific verb and resource — retrieve full FDA drug label text from the current DailyMed SPL — and enumerates the sections returned. It is clearly distinguishable from siblings like list_labels_for_drug_name and label_diff, which an agent can rule out from this text alone.

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

Usage Guidelines4/5

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

Explicitly routes the agent away from web search with concrete example questions ("what are the warnings for X", "what is the dose of X") and gives two input paths, drug name or set_id. It stops short of naming sibling tools such as label_history or label_diff for historical or comparative needs, so the routing is clear but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.