Skip to main content
Glama

RegDataLab – FDA Compliance Data

Search import refusals

fda_import_refusals
Read-onlyIdempotent

Find FDA import refusal records by company, FEI, country or date. Returns available shipment refusal evidence. A refusal is distinct from an import alert. Requires at least one of company_name, fei_number, country_code, 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_import_refusals"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (1-500)
date_toNoEnd date for refusal_date range (YYYY-MM-DD)
date_fromNoStart date for refusal_date range (YYYY-MM-DD)
fei_numberNoFDA Establishment Identifier (FEI): 7 or 10 digits, as a string or a number (e.g. 3004387156)
company_nameNoCompany name (fuzzy match)
country_codeNoISO country code (e.g. CN, IN)

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": "FDA import refusals (shipments refused entry) with charges and dates. Dates are YYYY-MM-DD",
      -    "properties": {
      -      "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"
      -      },
      -      "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"
      -      },
      -      "results": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "country_name": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "fei_number": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "firm_name": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "firm_profile_url": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "product_code_description": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "refusal_charges": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "FDA refusal charge codes"
      -            },
      -            "refusal_date": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "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",
      -      "data_freshness",
      -      "coverage_note"
      -    ],
      -    "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": "FDA import refusals (shipments refused entry) with charges and dates. Dates are YYYY-MM-DD",
      +    "properties": {
      +      "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"
      +      },
      +      "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"
      +      },
      +      "results": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "country_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "fei_number": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "firm_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "firm_profile_url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_code_description": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "refusal_charges": {
      +              "description": "FDA refusal charge codes",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "refusal_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "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",
      +      "data_freshness",
      +      "coverage_note"
      +    ],
      +    "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. Changed5 schema fields changed
    • addedInput schema / properties / fei_number / anyOf
      Added value: +[
      +  {
      +    "maxLength": 40,
      +    "pattern": "^(?:[Ff][Ee][Ii][\\s:#-]*)?\\d[\\d\\s-]*$",
      +    "type": "string"
      +  },
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  }
      +]
    • changedInput schema / properties / fei_number / description
      Previous value: -"FDA Establishment Identifier (FEI number)"New value: +"FDA Establishment Identifier (FEI): 7 or 10 digits, as a string or a number (e.g. 3004387156)"
    • removedInput schema / properties / fei_number / pattern
      Removed value: -"^\\d{1,10}$"
    • removedInput schema / properties / fei_number / type
      Removed value: -"string"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "description": "FDA import refusals (shipments refused entry) with charges and dates. Dates are YYYY-MM-DD",
      +          "properties": {
      +            "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"
      +            },
      +            "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"
      +            },
      +            "results": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "country_name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "fei_number": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "firm_name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "firm_profile_url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "product_code_description": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "refusal_charges": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "FDA refusal charge codes"
      +                  },
      +                  "refusal_date": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "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",
      +            "data_freshness",
      +            "coverage_note"
      +          ],
      +          "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.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description does add real behavioral value with the rejection rule for filter-less calls, but it also references an "offset" parameter that does not exist in the schema, which muddies rather than clarifies the contract.

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?

Three tight sentences, front-loaded with the core purpose before the guardrail. The middle sentence, "Returns available shipment refusal evidence," is vague filler that adds little, and "offset" is an unexplained term.

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?

An output schema exists, so return values need no elaboration, and the description covers purpose, filters and the minimum-filter requirement. The only completeness blemish is the phantom offset parameter, which an agent could misread as part of the call surface.

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 description earns a lift by stating a cross-parameter constraint (at least one filter required) that the schema encodes as zero required parameters and therefore does not convey. The stray "offset" mention offsets some of that gain by implying a parameter that is absent.

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?

Names a specific verb and resource ("Find FDA import refusal records") plus the four filter dimensions, and explicitly states the boundary against a sibling concept: "A refusal is distinct from an import alert." An agent can separate this from fda_search_import_alerts without opening 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 clear when-to-use context (by company, FEI, country or date) and a hard guardrail that at least one of company_name, fei_number, country_code, date_from or date_to is required. It stops short of naming an alternative tool to call instead, so the routing is implied rather than explicit.

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.