Skip to main content
Glama
openfda-device-recalls-enforcement-mcp

openfda-device-recalls-enforcement-mcp

Search FDA device recalls by root cause

search_recalls_by_root_cause
Read-onlyIdempotent

Filter FDA medical device recalls by root cause category and optional device or firm query to identify enforcement actions linked to specific failure causes.

Instructions

Filter FDA medical device recalls by FDA root cause category (e.g. "Device Design", "Software design", "Process Control") and optional device/firm query.

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": {
      "root_cause": "<root_cause>"
    },
    "name": "search_recalls_by_root_cause"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax recalls to return (default 5).
queryNoOptional device or firm filter.
root_causeYesFDA root cause description (e.g. "Device Design", "Software design", "Process Control").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds little beyond that: it does not say whether root_cause is an exact-match or substring/partial match, nor whether results are paginated or ordered, which are the behaviors an agent most needs here.

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 or repetition of annotation metadata. It is efficient, though the brevity comes at the cost of any behavioral detail.

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?

For a simple read-only, three-parameter search with a fully documented schema and safety annotations, this is close to adequate. The missing piece is matching behavior for root_cause and whether the limit is a hard cap with truncation, which matters because there is no output schema to reveal result shape.

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%, and the description's example root-cause strings are verbatim repeats of the schema's own root_cause description. Nothing new is added about matching semantics or about how query interacts with root_cause (AND vs OR), so baseline 3 applies.

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 verb (filter/search) and resource (FDA medical device recalls) plus the primary axis (root cause category), which is enough to distinguish it from siblings like search_recalls_by_k_number and get_device_recall_by_number. It stops short of explicitly contrasting with search_device_recalls, so it is clear but not fully differentiating.

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 word 'Filter' and the optional query mention; there is no statement of when to prefer this over search_device_recalls or the k_number lookup. An agent must infer that this tool is the right choice when the root cause is the known entry point.

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