Skip to main content
Glama

get_adverse_events

Get the most frequently reported FDA adverse events for a drug, with total report count and top reactions. Use to identify commonly reported side effects from voluntary reports.

Instructions

Summarize which side effects are most often reported for a drug.

Returns the total number of FDA adverse event reports mentioning the drug and the most frequently reported reactions with their counts, rather than individual case records.

These are voluntary reports. A report does not establish that the drug caused the event, common drugs accumulate more reports simply by being common, and counts cannot be compared between drugs without knowing how many people take each. Present these as reported associations, never as side effects the drug is known to cause.

Args: drug_name: Generic or brand name, e.g. "metformin". top_n: How many of the most-reported reactions to return, 1 to 25. Defaults to 10.

Returns: Report total and ranked reactions, or zero reports with a note.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_nNo
drug_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that results are aggregate counts, not individual records, that reports are voluntary and non-causal, that common drugs accumulate more reports, and that cross-drug comparisons are unreliable. It also mentions the zero-report fallback.

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?

The description is front-loaded with the core purpose, followed by return behavior, caveats, and parameters. Each sentence adds distinct value, and the structure is easy for an agent to scan.

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?

Given the tool's complexity, the description is complete: it explains the output format, parameter constraints, interpretation caveats, and edge-case behavior. The presence of an output schema reduces the need to describe return values in detail, and the description still covers them.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must explain the parameters, and it does: drug_name is defined as generic or brand name with an example, and top_n is given a numeric range, default, and semantic meaning. This fully compensates for the bare schema.

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?

The description uses a specific verb ('Summarize') and a clear resource (FDA adverse event reports for a drug), and explicitly distinguishes itself from returning individual case records. This makes it easy to differentiate from siblings like get_trial, search_drug_recalls, and get_drug_label.

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?

The description clearly conveys when to use the tool: to get aggregate reported side-effect information for a drug. It also provides important interpretational guidance about not treating reports as causal, though it does not explicitly name sibling alternatives or state when not to use this tool.

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