Skip to main content
Glama

Crypto & Web Data API for Agents

openFDA drug adverse events: reaction counts by drug

science_drugevents
Read-only

openFDA drug adverse events: reaction counts by drug. Returns FAERS adverse event reaction counts for a drug and the total number of reports. Reports are unverified and do not prove causation. Price $0.020 per call (x402: USDC on Base or Solana).

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": "<drug>"
    },
    "name": "science_drugevents"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
drugYesDrug name (medicinal product)
limitNoHow many reactions to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description need not restate safety. It usefully adds that results are FAERS reports that are unverified and do not prove causation, and discloses the $0.020 per-call cost with x402 payment options, which is behavior the agent must know before invoking. It stops short of describing ordering of reactions or whether counts are paginated.

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?

Three short sentences with the purpose front-loaded and no filler. The payment sentence slightly duplicates the tx parameter's presence in the schema, but it is short and materially useful.

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?

No output schema exists, yet the description tells the agent what comes back: reaction counts plus a total report count. For a single-required-parameter read-only lookup this is nearly enough; only result ordering and any default date scope are unstated.

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 description coverage is 100%, so drug, limit, and tx are already documented in the schema. The description adds no syntax, format, or naming conventions (e.g., brand vs generic or synonym handling) beyond what the schema states, so the baseline of 3 applies.

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: returns FAERS adverse event reaction counts for a drug plus the total number of reports. This clearly separates it from label-oriented or recall-oriented siblings without needing to name them.

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?

The description implies usage (look up a drug's adverse reaction profile) but gives no explicit when-to-use or when-not guidance versus tools like science_druglabel or science_rxnorm. The 'unverified, does not prove causation' caveat is a data disclaimer rather than routing guidance.

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.

Resources