Skip to main content
Glama

drug_safety

FDA drug safety by drug name: label warnings and dosage, adverse-event counts (FAERS) or recalls from openFDA. Paid via x402 ($0.004 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment.

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": "drug_safety"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugYesBrand or generic name (or product/ingredient for recalls), e.g. ibuprofen, Ozempic.
kindNolabel (default), adverse_events (FAERS) or recalls (enforcement reports).
limitNoLabels/recalls (max 20, default 5) or top reactions (max 50, default 15).
categoryNoRecalls only: drug (default), food or device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does well: it discloses that the call is paid via x402 at a specific price and chains, that invalid input is rejected without charge, and that responses include asOf and source fields. It does not cover rate limits, coverage windows for FAERS data, or pagination, so it stops short of full behavioral disclosure.

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?

Two compact sentences front-loaded with purpose, then payment mechanics; nothing is filler. The payment sentence is dense with nested parentheses around the chain list, which slightly hurts scannability but is not 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?

For a four-parameter, no-annotation, no-output-schema tool, the description covers purpose, mode semantics, cost, failure behavior, and the two response metadata fields an agent should expect. The only real gap is that return payload structure per mode (label vs adverse-event counts vs recall records) is only gestured at.

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 every parameter is already documented in structured data, including the enums and default values. The description restates the modes and the brand/generic vs product/ingredient distinction rather than adding new semantics such as limit interpretation differences per mode, so the baseline 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 — FDA drug safety lookups by drug name — and enumerates the three result modes (label, FAERS adverse events, enforcement recalls) with their upstream source (openFDA). This is enough for an agent to distinguish it from siblings like pet_food_safety or food_nutrition without opening the schema.

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 makes the mode selection explicit (label default, adverse_events for FAERS, recalls for enforcement reports) and notes recalls accept product/ingredient names. It gives clear context for choosing a mode but never states when to prefer a sibling tool (e.g. pet_food_safety for animal products) or any prerequisites beyond payment.

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