Skip to main content
Glama

OpenFDA Food Recalls MCP

Search FDA food recall enforcement reports

search_food_recalls
Read-onlyIdempotent

Search OpenFDA food and beverage recall enforcement reports by product description, reason for recall, recalling firm, recall class, or status.

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": {
      "query": "<query>"
    },
    "name": "search_food_recalls"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldNoTarget field: "any" (default), "product", "reason", or "firm".
limitNoMax recalls to return (default 5).
queryYesSearch term such as allergen, pathogen, product, or firm (e.g. "Listeria", "undeclared peanuts", "ice cream").
statusNoOptional recall status filter.
classificationNoOptional FDA recall severity class.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds only the source scope (OpenFDA enforcement reports, food and beverage), and says nothing about result volume, pagination, or the 25-record cap or underlying rate limits.

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?

A single front-loaded sentence with no filler; the resource and the searchable facets come first. Slight redundancy with the schema's field enum keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description never indicates what a result contains (recall number, firm, product, classification, status) or how to page beyond the 25-item cap. For a read-only search tool of this complexity that leaves a meaningful gap in how an agent would plan its call.

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 including enums and the 1-25 limit is already documented, making 3 the baseline. The description loosely echoes the filter dimensions, but its wording ('recall class') does not match the actual 'classification' parameter or the 'field' enum values, so it adds no real semantics.

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?

States a specific verb and resource: search OpenFDA food and beverage recall enforcement reports, and enumerates the searchable dimensions. It does not distinguish itself from siblings such as search_class_i_food_recalls, which is a scoped subset of the same corpus, so an agent could not tell from this text alone which to prefer.

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 only implied by the verb 'Search' and the list of searchable fields; there is no explicit statement of when to use this versus search_class_i_food_recalls, search_recalls_by_state, or get_recall_by_number. No prerequisites, no exclusions, no routing guidance.

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.