Skip to main content
Glama

Search food/supplement/cosmetic adverse events (CAERS)

search_food_events
Read-only

Search the CFSAN Adverse Event Reporting System (CAERS): adverse events and product complaints for foods, dietary supplements and cosmetics. openFDA food/event endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skipNoNumber of records to skip, for pagination (0–25000; skip+limit reaches up to ~26000 records).
sortNoSort order, as `field:asc` or `field:desc`, e.g. 'receivedate:desc'.
limitNoMax number of records to return (1–1000). Omit for the API default of 1.
searchNoLucene-style query over this dataset's fields: 'field:term', AND with '+AND+', OR with a space, exact phrase via a '.exact' field suffix with quotes, ranges as '[low+TO+high]' (dates like '[20040101+TO+20081231]'). Example: products.industry_name:"Dietary Conventional Foods/Meal Replacements"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes this is a safe read, so the description only needs to add context — and it does add the data source and endpoint identity. It says nothing about pagination ceilings, result caps, or rate limiting, which are left to the schema's skip/limit descriptions.

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 tight sentences, zero filler, with the dataset identity front-loaded and the endpoint reference appended as a clarifying pointer. Nothing repeats the title or the annotations.

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 four-optional-parameter search wrapper with fully documented schema and a readOnly annotation, the description supplies enough to select and invoke it correctly; the lack of an output schema is not a gap since search results are self-describing. Only the missing sibling routing keeps it short of full completeness.

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%: skip, sort, limit and the Lucene 'search' syntax are all documented in the schema, including ranges, .exact phrases and date formats. The description adds no parameter detail beyond what the schema already supplies, so the baseline 3 applies.

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?

The description names a specific verb (Search) and a precisely bounded resource: the CFSAN Adverse Event Reporting System covering foods, dietary supplements and cosmetics. It even names the backing endpoint ('openFDA food/event'), which distinguishes it from its nearest sibling search_food_recalls, which covers recalls rather than adverse events.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no routing to alternatives such as search_food_recalls, count or openfda_query. The agent must infer from the dataset name alone that this is the adverse-event dataset rather than the recall dataset.

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.