Skip to main content
Glama
Open Data B2B & Compliance MCP Server

Open Data B2B & Compliance MCP Server

search_fda_enforcement_recalls

Read-onlyIdempotent

Search FDA food and drug enforcement recalls by keyword, retailer, classification, and lookback window to identify affected products, recalling firms, and severity scores.

Instructions

Search official openFDA Food & Drug Enforcement recalls (Class I / II / III) by productType ("food", "drug", or "both"), keyword query, retailer/distribution channel, FDA classification, and daysBack. Handles 0-match queries cleanly and returns normalized UPCs/NDCs, recalling firms, and 0-100 severity scores.

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

Input Schema

NameRequiredDescriptionDefault
queryNoOptional keyword filter across reason_for_recall, product_description, recalling_firm, or lot codes (e.g., "salmonella", "undeclared", "acetaminophen").
daysBackNoReport date lookback window in days (1-3650). Default: 30.
retailerNoOptional retailer or distribution pattern filter (e.g., "Walmart", "Costco", "nationwide").
maxResultsNoMaximum FDA enforcement recalls to return (1-50). Default: 10.
productTypeNoopenFDA enforcement feed to query: "food", "drug", or "both". Default: "both".both
classificationNoOptional FDA hazard classification filter ("Class I", "Class II", "Class III").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description still adds real value beyond them: it discloses that 0-match queries are handled cleanly and that results include normalized UPCs/NDCs, recalling firms, and 0-100 severity scores, none of which is derivable from the annotations or schema.

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?

Two sentences, front-loaded with the resource and the filter set, then the behavioral/return payload. No filler and nothing that could be cut without losing information.

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?

Six all-optional parameters with full schema coverage and strong annotations mean the description only needs to add return-shape and robustness context, which it does. The absence of an output schema is partly compensated by naming the returned fields, though detail on result ordering or shape is thin.

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 with examples and defaults. The description only restates parameter names and the productType/classification vocabularies, adding no syntax, interaction, or edge-case meaning beyond the schema — the baseline 3 is appropriate.

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: search official openFDA Food & Drug Enforcement recalls, with the Class I/II/III scope spelled out. The resource is narrow enough that an agent can tell it apart from device-clearance or CPSC recall siblings without opening a schema.

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?

The enumerable filters imply the kinds of queries supported, but there is no explicit statement of when to use this versus search_cpsc_product_recalls or search_fda_device_clearances, and no when-not guidance. Usage is inferable rather than stated.

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