Skip to main content
Glama

ScorpTech x402 Tools

Openfda Drug

openfda_drug
Read-onlyIdempotent

FDA drug facts by brand/generic name or NDC from openFDA: label sections (boxed warning, indications, dosage, contraindications, warnings, adverse reactions, interactions, or any SPL field), FAERS adverse-event report totals with serious count and top reported reactions, and the latest enforcement recalls with class and reason. Not for clinical use; the response carries FDA's disclaimer. Price: $0.01 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/openfda-drug

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ndcNoAlternative: product NDC (0573-0164) or package NDC (0573-0164-30)
nameNoBrand or generic drug name (alias: drug)
limitNoTop adverse reactions to return, 1-25 (default 10)
includeNoComma list of label, events, recalls (default all)
maxCharsNoMax characters per label section, 100-10000 (default 1200)
sectionsNoComma list of openFDA label fields, or "all" (default: key safety sections)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely non-redundant behavior: $0.01 USDC per successful x402 call on Solana, an equivalent HTTPS endpoint, and the FDA disclaimer being embedded in the response. It doesn't mention rate limits or failure/refund behavior, which keeps it from a 5.

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?

Content is front-loaded — capabilities first, disclaimer and pricing/endpoint last. The long parenthetical list of label sections is dense but each item earns its place by clarifying the 'sections' parameter. One sentence carrying three capabilities is slightly heavy but not padded.

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?

With six optional params, no output schema, and rich annotations, the description does the right work: it describes what comes back (label sections, serious-event counts with top reactions, recall class and reason) and warns about the disclaimer. An agent could call this correctly without opening further docs; only fine-grained response shape remains unspecified.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it names the concrete label sections available (boxed warning, indications, dosage, contraindications, warnings, adverse reactions, interactions, any SPL field) and specifies that 'top reported reactions' is what limit controls. That exceeds what the terse schema strings convey.

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?

Names a specific resource (FDA drug facts by brand/generic name or NDC) and enumerates the three payload classes: label sections, FAERS adverse-event totals, and enforcement recalls. It's clear what the tool returns, but it doesn't explicitly differentiate itself from the sibling fda_recalls / fda_adverse_events tools even though its scope overlaps with both.

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?

Usage is implied by the enumerated capabilities and the 'not for clinical use' caveat, but there is no explicit when-to-use guidance or statement of when to prefer fda_recalls or fda_adverse_events instead. The agent must infer routing from the description's content list alone.

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