Skip to main content
Glama

ScorpTech x402 Tools

Fda Recalls

fda_recalls
Read-onlyIdempotent

FDA recalls (openFDA): drug, device and food enforcement reports (class, status, firm, reason, distribution, lots) plus the device recall database (root cause). Filter by firm, product, class, status, state, dates; count by any field. Newest first. Returns JSON with: dataset, total, count, results. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/fda-recalls

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

Input Schema

NameRequiredDescriptionDefault
toNoon/before YYYY-MM-DD
firmNorecalling firm
fromNoon/after YYYY-MM-DD
skipNooffset 0-25000
sortNofield:asc|desc (default newest)
countNocount by field, e.g. recalling_firm.exact
limitNo1-100 (default 10); count 1-1000
stateNoUS state of the firm (2 letters)
reasonNoreason-for-recall phrase
searchNoraw openFDA search, ANDed
sourceNoenforcement (default) or recall (device only)
statusNostatus
productNoproduct description phrase
categoryNodefault drug
classificationNorecall class (I = most serious)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 useful context beyond that: the $0.01 USDC x402 payment per successful call, the equivalent HTTPS endpoint, and the JSON return shape (dataset, total, count, results). It does not discuss rate limits or error behavior, keeping it short of 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?

Dense but front-loaded: dataset scope first, then filtering/counting capabilities, then return shape and pricing. Every clause carries information, though the pricing/endpoint sentence is somewhat tacked on and the single long sentence is harder to scan than a short bulleted structure.

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 15-parameter, zero-required tool with no output schema, the description covers dataset scope, filtering, counting, sort default, return fields, and cost. The main omission is guidance on combining filters or the relationship between search and the structured filter params, but overall it is sufficient to call the tool correctly.

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. The description still adds meaning: 'count by any field' clarifies the count parameter's purpose, 'newest first' documents the default sort, and 'device only' qualifies the source=recall option, which the schema does not state.

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: retrieves FDA recalls from openFDA enforcement reports and the device recall database, enumerating the fields returned (class, status, firm, reason, distribution, lots, root cause). This is clearly distinguishable from fda_adverse_events and fda_device by naming the recall datasets explicitly.

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 describes capabilities (filter by firm, product, class, status, state, dates; count by any field) and defaults (newest first, category defaults to drug), which implies usage. However, it never states when to choose this over the sibling FDA tools or when-not to use it, leaving the agent to infer routing.

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