Skip to main content
Glama

Crypto & Web Data API for Agents

openFDA enforcement: product recalls by query and type

science_recalls
Read-only

openFDA enforcement: product recalls by query and type. Returns openFDA enforcement records (recalls) for drugs, devices or food matching a product or firm query, sorted by report date descending, with classification, status, reason, firm and dates. Price $0.020 per call (x402: USDC on Base or Solana).

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": {
      "q": "<q>"
    },
    "name": "science_recalls"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesProduct or firm name
txNoAlternative to the X-Payment-Tx header
typeNoEnforcement typedrug
limitNoHow many recalls to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description adds real value beyond that with result ordering (report date descending), the fields returned (classification, status, reason, firm, dates), and the pricing/auth model ($0.020 per call via x402 USDC on Base or Solana). It does not discuss result caps or truncation behavior, but the payment and sort semantics are disclosed where the annotations cannot.

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 three compact sentences: resource/purpose first, then returned fields and ordering, then cost. Nothing is redundant with the name. The only mild inefficiency is repeating the 'openFDA enforcement' framing from the title in the opening clause.

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 no output schema, the description carries the return-value burden well by enumerating the record fields and the sort order, and it discloses cost and payment rail. For a simple four-parameter read tool that is nearly complete; only result-volume/pagination behavior and empty-result handling are left unaddressed.

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 the schema already documents q, type, limit, and tx, including the drug/device/food pattern and the limit bounds. The description adds modest meaning by restating that q matches a product or firm and that results cover drugs, devices, or food. It says nothing extra about the tx payment parameter beyond the pricing note, so baseline 3 is appropriate.

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 and action: openFDA enforcement records (product recalls) for drugs, devices, or food, matched by a product or firm query. That verb+resource pairing is unambiguous and the scope (recalls only, not labels or adverse events) keeps it distinct from the scientific siblings. It stops short of naming an alternative tool, so it is clear but not fully differentiated.

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 description of what can be queried: use it when you want recall records for a product or firm name. There is no explicit when-not guidance, no mention of when to pick a different sibling such as the drug-label or adverse-event tools, and no note on what happens if the product has no recalls. Adequate, but the agent must infer the selection criteria.

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