Skip to main content
Glama

FDA Drug Recalls, Approvals & Adverse Events — openFDA AI

fda_intelligence
Read-only

Query openFDA for drug recalls, approvals and adverse events with AI analysis

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": {
      "drugs_or_companies": "<drugs_or_companies>"
    },
    "name": "fda_intelligence"
  }
}

Input Schema

NameRequiredDescriptionDefault
apify_api_keyNoYour Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up
openfda_datasetsNoWhich openFDA drug endpoints to pull: "enforcement" = recalls, "label" = drug labels/approval info, "event" = adverse events
drugs_or_companiesYesDrug brand/generic names or companies (e.g
max_records_per_datasetNoHow many records to pull per dataset, per query

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / apify_api_key
      Added value: +{
      +  "description": "Your Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up",
      +  "type": "string"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / drugs_or_companies
      Added value: +{
      +  "description": "Drug brand/generic names or companies (e.g",
      +  "type": "string"
      +}
    • removedInput schema / properties / input
      Removed value: -{
      -  "description": "Input for FDA Drug Recalls, Approvals & Adverse Events — openFDA AI. See https://apify.com/noniner/fda-intelligence.",
      -  "type": "object"
      -}
    • addedInput schema / properties / max_records_per_dataset
      Added value: +{
      +  "description": "How many records to pull per dataset, per query",
      +  "type": "string"
      +}
    • addedInput schema / properties / openfda_datasets
      Added value: +{
      +  "description": "Which openFDA drug endpoints to pull: \"enforcement\" = recalls, \"label\" = drug labels/approval info, \"event\" = adverse events",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "drugs_or_companies"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / input / description
      Previous value: -"Input for FDA Intelligence — Approvals, Recalls & Adverse Events (AI). See https://apify.com/noniner/fda-intelligence."New value: +"Input for FDA Drug Recalls, Approvals & Adverse Events — openFDA AI. See https://apify.com/noniner/fda-intelligence."
  4. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already disclose readOnly, openWorld, non-idempotent and non-destructive behavior, so the safety profile is covered. The description adds only 'with AI analysis', which is vague about what that analysis is and why repeated calls may differ (consistent with idempotentHint=false), and says nothing about cost or the live-vs-demo distinction that drives the apify_api_key parameter.

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?

A single front-loaded sentence with the verb and resource first and no redundant restatement of the title. The trailing 'with AI analysis' is the only slightly empty phrase, but nothing is bloated.

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

Completeness3/5

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

For a four-parameter, multi-dataset aggregation tool with no output schema, the description is thin: it never explains what the 'AI analysis' output contains, how datasets combine into one response, or that results depend on supplying an API key for live data. Adequate to call it, but not complete enough to set expectations for the response.

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 is already documented, and the baseline is 3. The description's mention of recalls/approvals/adverse events loosely echoes the openfda_datasets values but adds no syntax, defaults, or constraints beyond the schema.

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

Purpose4/5

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

The description gives a specific verb ('Query') and a specific resource ('openFDA') plus the three data domains (recalls, approvals, adverse events), so an agent knows exactly what corpus it reaches. It does not name or differentiate itself from the nearest sibling (clinicaltrials_intelligence), but the FDA drug framing is distinct enough to select on.

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

Usage Guidelines2/5

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

There is no when-to-use, when-not-to-use, or alternative routing guidance anywhere in the description. An agent must infer that this is for regulatory/safety questions about drugs and companies rather than, say, clinical trial data, with nothing in the text confirming or excluding that.

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.