Skip to main content
Glama

RegDataLab – FDA Compliance Data

Search FDA import alerts

fda_search_import_alerts
Read-onlyIdempotent

Find FDA import alerts by firm, alert number, country, date or text. Returns one row per listed firm; the alert's own reason, products and charge are given once per alert in alerts rather than on every firm row, unless detail='full'. An alert can permit detention without physical examination and is distinct from a specific shipment refusal. Requires at least one of firm_name, alert_number, list_status, country, keyword, date_from or date_to; a call with only offset and limit is rejected.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (1-500)
detailNosummary (default) lists each alert's reason_for_alert, product_description and charge once in `alerts` and shortens each firm's product_lines_text, marking those rows text_truncated; full repeats the complete alert text on every firm rowsummary
offsetNoResult offset for pagination (0-10000)
countryNoCountry name
date_toNoEnd date for publish-date range (YYYY-MM-DD)
keywordNoKeyword to search in the alert title, reason, charge, or product notes
date_fromNoStart date for publish-date range (YYYY-MM-DD)
firm_nameNoFirm name (fuzzy match)
list_statusNoWhether the firm is on the red list or green list
alert_numberNoImport alert number, for example 66-40

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "description": "Firms on FDA import alerts with list status and official alert links. Dates are YYYY-MM-DD",
      -    "properties": {
      -      "alerts": {
      -        "description": "Each alert on this page once, with its reason, products and charge (summary detail only)",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "alert_name": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "alert_number": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "alert_url": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Official FDA import alert page; cite it"
      -            },
      -            "charge": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "product_description": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "reason_for_alert": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "coverage_note": {
      -        "description": "What was searched; when nothing matched, says no matching records does not establish safety",
      -        "type": "string"
      -      },
      -      "data_freshness": {
      -        "additionalProperties": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "as_of_date": {
      -              "type": "string"
      -            },
      -            "executed_at": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "executed_at",
      -            "as_of_date"
      -          ],
      -          "type": "object"
      -        },
      -        "description": "Last successful import per dataset; state it in answers",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "detail_note": {
      -        "type": "string"
      -      },
      -      "next_step": {
      -        "description": "Present when nothing matched: how to widen the search",
      -        "type": "string"
      -      },
      -      "notices": {
      -        "description": "Account notices about this key, such as a low balance; show them to the user",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "pagination": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "limit": {
      -            "type": "number"
      -          },
      -          "offset": {
      -            "type": "number"
      -          },
      -          "total_count": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "offset",
      -          "limit",
      -          "total_count"
      -        ],
      -        "type": "object"
      -      },
      -      "results": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "alert_name": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "alert_number": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "alert_url": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Official FDA import alert page; cite it"
      -            },
      -            "country_name": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "firm_date_published": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "firm_name": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "list_status": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Red list (detention without physical examination) or green list"
      -            },
      -            "publish_date": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "text_truncated": {
      -              "description": "Present when product_lines_text was shortened; pass detail='full' for the complete text",
      -              "type": "boolean"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "see_also": {
      -        "additionalProperties": {
      -          "type": "string"
      -        },
      -        "description": "Related tools and what each adds",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "sources": {
      -        "description": "fda.gov pages behind this result (letters, 483s, import alerts, firm profiles, FDA search pages), documents first; cite these links in the answer",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "title": {
      -              "type": "string"
      -            },
      -            "url": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "title",
      -            "url"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "results",
      -      "pagination",
      -      "data_freshness",
      -      "coverage_note",
      -      "see_also"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": {},
      -    "description": "Returned instead of records when the session has no API key: how to sign up and connect",
      -    "properties": {
      -      "attempted_tool": {
      -        "type": "string"
      -      },
      -      "auth_required": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "signup_url": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "auth_required",
      -      "attempted_tool",
      -      "message",
      -      "signup_url"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "description": "Firms on FDA import alerts with list status and official alert links. Dates are YYYY-MM-DD",
      +    "properties": {
      +      "alerts": {
      +        "description": "Each alert on this page once, with its reason, products and charge (summary detail only)",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "alert_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "alert_number": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "alert_url": {
      +              "description": "Official FDA import alert page; cite it",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "charge": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_description": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "reason_for_alert": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "coverage_note": {
      +        "description": "What was searched; when nothing matched, says no matching records does not establish safety",
      +        "type": "string"
      +      },
      +      "data_freshness": {
      +        "additionalProperties": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "as_of_date": {
      +              "type": "string"
      +            },
      +            "executed_at": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "executed_at",
      +            "as_of_date"
      +          ],
      +          "type": "object"
      +        },
      +        "description": "Last successful import per dataset; state it in answers",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "detail_note": {
      +        "type": "string"
      +      },
      +      "next_step": {
      +        "description": "Present when nothing matched: how to widen the search",
      +        "type": "string"
      +      },
      +      "notices": {
      +        "description": "Account notices about this key, such as a low balance; show them to the user",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "pagination": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "limit": {
      +            "type": "number"
      +          },
      +          "offset": {
      +            "type": "number"
      +          },
      +          "total_count": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "offset",
      +          "limit",
      +          "total_count"
      +        ],
      +        "type": "object"
      +      },
      +      "results": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "alert_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "alert_number": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "alert_url": {
      +              "description": "Official FDA import alert page; cite it",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "country_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "firm_date_published": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "firm_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "list_status": {
      +              "description": "Red list (detention without physical examination) or green list",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "publish_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "text_truncated": {
      +              "description": "Present when product_lines_text was shortened; pass detail='full' for the complete text",
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "see_also": {
      +        "additionalProperties": {
      +          "type": "string"
      +        },
      +        "description": "Related tools and what each adds",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "sources": {
      +        "description": "fda.gov pages behind this result (letters, 483s, import alerts, firm profiles, FDA search pages), documents first; cite these links in the answer",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "title": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "title",
      +            "url"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "results",
      +      "pagination",
      +      "data_freshness",
      +      "coverage_note",
      +      "see_also"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "description": "Returned instead of records when the session has no API key: how to sign up and connect",
      +    "properties": {
      +      "attempted_tool": {
      +        "type": "string"
      +      },
      +      "auth_required": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "signup_url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "auth_required",
      +      "attempted_tool",
      +      "message",
      +      "signup_url"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed4 schema fields changed
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "summary",
      +  "description": "summary (default) lists each alert's reason_for_alert, product_description and charge once in `alerts` and shortens each firm's product_lines_text, marking those rows text_truncated; full repeats the complete alert text on every firm row",
      +  "enum": [
      +    "summary",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • 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
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "description": "Firms on FDA import alerts with list status and official alert links. Dates are YYYY-MM-DD",
      +          "properties": {
      +            "alerts": {
      +              "description": "Each alert on this page once, with its reason, products and charge (summary detail only)",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "alert_name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "alert_number": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "alert_url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Official FDA import alert page; cite it"
      +                  },
      +                  "charge": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "product_description": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "reason_for_alert": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "coverage_note": {
      +              "description": "What was searched; when nothing matched, says no matching records does not establish safety",
      +              "type": "string"
      +            },
      +            "data_freshness": {
      +              "additionalProperties": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "as_of_date": {
      +                    "type": "string"
      +                  },
      +                  "executed_at": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "executed_at",
      +                  "as_of_date"
      +                ],
      +                "type": "object"
      +              },
      +              "description": "Last successful import per dataset; state it in answers",
      +              "propertyNames": {
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "detail_note": {
      +              "type": "string"
      +            },
      +            "next_step": {
      +              "description": "Present when nothing matched: how to widen the search",
      +              "type": "string"
      +            },
      +            "notices": {
      +              "description": "Account notices about this key, such as a low balance; show them to the user",
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "pagination": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "has_more": {
      +                  "type": "boolean"
      +                },
      +                "limit": {
      +                  "type": "number"
      +                },
      +                "offset": {
      +                  "type": "number"
      +                },
      +                "total_count": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "offset",
      +                "limit",
      +                "total_count"
      +              ],
      +              "type": "object"
      +            },
      +            "results": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "alert_name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "alert_number": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "alert_url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Official FDA import alert page; cite it"
      +                  },
      +                  "country_name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "firm_date_published": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "firm_name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "list_status": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Red list (detention without physical examination) or green list"
      +                  },
      +                  "publish_date": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "text_truncated": {
      +                    "description": "Present when product_lines_text was shortened; pass detail='full' for the complete text",
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "see_also": {
      +              "additionalProperties": {
      +                "type": "string"
      +              },
      +              "description": "Related tools and what each adds",
      +              "propertyNames": {
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "sources": {
      +              "description": "fda.gov pages behind this result (letters, 483s, import alerts, firm profiles, FDA search pages), documents first; cite these links in the answer",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "title": {
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "title",
      +                  "url"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "results",
      +            "pagination",
      +            "data_freshness",
      +            "coverage_note",
      +            "see_also"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": {},
      +          "description": "Returned instead of records when the session has no API key: how to sign up and connect",
      +          "properties": {
      +            "attempted_tool": {
      +              "type": "string"
      +            },
      +            "auth_required": {
      +              "const": true,
      +              "type": "boolean"
      +            },
      +            "message": {
      +              "type": "string"
      +            },
      +            "signup_url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "auth_required",
      +            "attempted_tool",
      +            "message",
      +            "signup_url"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds non-obvious behavior the annotations cannot: the result is one row per firm with alert-level fields hoisted into an `alerts` block unless detail='full', which changes row-level text truncation. It also supplies domain framing (an alert permits detention without physical examination and is not a shipment refusal). It does not mention result-size limits or how offset interacts with a large result set.

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?

Three sentences, each carrying distinct load: searchable dimensions first, then result shape, then the validity constraint. The rejection rule is placed last as a guardrail, and no sentence restates the tool name or the schema's field descriptions.

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 10-parameter search tool with full schema coverage, an output schema, and complete annotations, the description supplies exactly the missing pieces: the required-filter constraint, the row-granularity behavior, and the domain distinction from refusals. Nothing needed to call it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3 and the schema already documents every parameter including the detail enum. The description adds genuine cross-parameter semantics the schema cannot express: the at-least-one-filter rule and the concrete consequence of detail='full' (complete alert text repeated on every firm row) versus summary (once in `alerts`, product_lines_text shortened and flagged text_truncated).

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 ('Find FDA import alerts') and immediately enumerates the searchable dimensions: firm, alert number, country, date, text. It also carves out the boundary with the sibling concept of shipment refusals, so an agent can separate this from fda_import_refusals without inspecting either schema.

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

Usage Guidelines4/5

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

Gives a hard precondition ('Requires at least one of firm_name, alert_number, list_status, country, keyword, date_from or date_to; a call with only offset and limit is rejected'), which prevents a guaranteed-failing call. It also notes the distinction from shipment refusals, implying where to go for those. It does not explicitly name the alternative tool or say when to prefer a keyword search over a firm-name search, so it falls short of full when/when-not 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.