Skip to main content
Glama

get_drug_adverse_events

Read-only

FDA FAERS adverse-event reports (2004 on), live from openFDA, fields verbatim (5-15 KB records); total_count: openFDA's count. count_by: top terms with counts, not records. FDA: FAERS reports are unverified and establish NEITHER causation NOR incidence; counts are a reporting signal, not a risk measure. More: keyvex.com/docs/tools/get_drug_adverse_events

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_drug_adverse_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugNoBrand, generic or reported name.
skipNoNot with count_by.
limitNoDefault 10, max 100; count_by: default 25, max 1,000.
sinceNoYYYY-MM-DD, inclusive, on receivedate.
untilNoYYYY-MM-DD, inclusive, on receivedate.
countryNoEvent country, ISO-2.
outcomeNo
seriousNofalse: non-serious only.
count_byNo
reactionNoMedDRA term.
manufacturerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • removedInput schema / properties / count_by / description
      Removed value: -"Facet mode: return top terms + counts instead of records (reaction | drug | brand | manufacturer | country)."
    • changedInput schema / properties / country / description
      Previous value: -"Country where the event occurred (ISO-2, e.g. 'US')."New value: +"Event country, ISO-2."
    • changedInput schema / properties / drug / description
      Previous value: -"Drug name phrase — brand ('ozempic'), generic ('semaglutide'), or reported product name."New value: +"Brand, generic or reported name."
    • changedInput schema / properties / limit / description
      Previous value: -"Records per page (default 10, max 100 — records are heavy). In count_by mode: facet rows (default 25, max 1000)."New value: +"Default 10, max 100; count_by: default 25, max 1,000."
    • changedInput schema / properties / limit / maximum
      Previous value: -100New value: +1000
    • removedInput schema / properties / manufacturer / description
      Removed value: -"Manufacturer name phrase (openFDA annotation, e.g. 'novo nordisk')."
    • removedInput schema / properties / outcome / description
      Removed value: -"One specific seriousness outcome flag."
    • changedInput schema / properties / reaction / description
      Previous value: -"MedDRA reaction term phrase (e.g., 'pancreatitis', 'myocardial infarction')."New value: +"MedDRA term."
    • changedInput schema / properties / serious / description
      Previous value: -"true = serious reports only (death, hospitalization, disability, …); false = non-serious only."New value: +"false: non-serious only."
    • changedInput schema / properties / since / description
      Previous value: -"FDA receive-date lower bound (YYYY-MM-DD inclusive)."New value: +"YYYY-MM-DD, inclusive, on receivedate."
    • changedInput schema / properties / skip / description
      Previous value: -"Pagination offset (openFDA hard cap 25,000). Not used in count_by mode."New value: +"Not with count_by."
    • changedInput schema / properties / until / description
      Previous value: -"FDA receive-date upper bound (YYYY-MM-DD inclusive)."New value: +"YYYY-MM-DD, inclusive, on receivedate."
  2. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses record payload size (5-15 KB), that fields are verbatim, what total_count actually counts, that count_by returns aggregated terms rather than records, and a substantive FDA caveat that reports are unverified and establish neither causation nor incidence. That interpretation guidance is exactly what an agent needs to avoid misreading the output as a risk measure.

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?

The description is dense and front-loads the data source and caveats, with every clause carrying information. The telegraphic fragment style ('fields verbatim', 'count_by: top terms with counts, not records') is efficient but slightly harder to parse than full sentences.

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 an 11-parameter tool with no output schema, it covers the source, size, aggregate-vs-record distinction, and a key semantic caveat. It omits the response envelope beyond total_count, pagination behavior, and whether any filter is effectively required despite a zero-required-parameter schema.

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 73% and the schema documents most parameters, including the count_by/skip incompatibility and per-mode limit defaults. The description adds mode semantics for count_by and the meaning of total_count, but says nothing about how reaction, manufacturer, or country narrow results. Baseline 3 fits when the schema carries most of the load.

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 names a specific resource (FDA FAERS adverse-event reports) and its source and time span (live from openFDA, 2004 on), which is enough to distinguish it from siblings like get_fda_approvals. It never states the verb explicitly, relying on the name 'get_drug_adverse_events' to imply retrieval of individual reports.

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?

It clarifies the two operating modes well ('count_by: top terms with counts, not records' vs. verbatim 5-15 KB records), which implies when to use aggregate vs. record retrieval. It gives no explicit when-to-use framing against sibling tools and no guidance on what a caller must supply, even though zero parameters are required.

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