Skip to main content
Glama

RegDataLab – FDA Compliance Data

Search recall text

fda_search_recall_text
Read-onlyIdempotent

Search recall product descriptions and reasons by text. Returns matching public recall records, newest report_date first (sort='relevance' ranks by text match instead). Class, product-type and date filters narrow results. A text match does not establish a facility link.

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

Input Schema

NameRequiredDescriptionDefault
sortNonewest (default): latest report_date first; relevance: best text match first, then newestnewest
limitNoMax results to return (1-500)
queryYesSearch terms (e.g. 'salmonella contamination', 'mislabeled dosage')
offsetNoResult offset for pagination (0-10000)
date_toNoEnd date for report_date range (YYYY-MM-DD)
date_fromNoStart date for report_date range (YYYY-MM-DD)
product_typeNoFilter by product type
search_fieldNoWhich field to search: reason_for_recall, product_description, or both (default: both)both
classificationNoFilter by recall classification severity

Output Schema

NameRequiredDescriptionDefault
dataYesTool result including records, provenance, freshness and matching limits when available

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / offset / description
      Previous value: -"Result offset for pagination"New value: +"Result offset for pagination (0-10000)"
    • changedInput schema / properties / offset / maximum
      Previous value: -9007199254740991New value: +10000
    • addedInput schema / properties / sort
      Added value: +{
      +  "default": "newest",
      +  "description": "newest (default): latest report_date first; relevance: best text match first, then newest",
      +  "enum": [
      +    "newest",
      +    "relevance"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": {},
      +      "description": "Tool result including records, provenance, freshness and matching limits when available",
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With read-only, open-world, idempotent annotations already supplied, the description adds the important caveat that a text match does not establish a facility link and clarifies sorting behavior. It still does not discuss permissions, rate limits, or result shape, though an output schema exists.

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?

Four short sentences are front-loaded with the core search behavior and followed by ordering, filters, and a caveat. Every sentence contributes without padding.

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

Completeness5/5

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

For a nine-parameter search with full schema documentation, annotations, and an output schema, the description covers the key behavior and a critical interpretation caveat. The only meaningful omission is explicit sibling routing, which is primarily a usage-guidance issue rather than a completeness gap.

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 coverage is 100%, so all nine parameters are documented in the schema. The description restates the searchable fields, sort option, and class/product-type/date filters but adds little semantic detail beyond the schema descriptions.

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: text search over recall product descriptions and reasons, returning public recall records. It also clarifies filtering scope and that a text match does not establish a facility link, but it does not name sibling tools for other recall searches.

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?

Explains the default ordering, the alternative relevance sort, and that class, product-type, and date filters narrow results. It does not say when to choose this tool over fda_search_enforcement, fda_device_recalls, or other recall-oriented siblings, so usage is only implied.

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.