Skip to main content
Glama

RegDataLab – FDA Compliance Data

Search compliance actions

fda_compliance_actions
Read-onlyIdempotent

Find available FDA compliance actions by company, FEI or date. Returns action records from covered datasets. Warning-letter text and source links are available through fda_search_warning_letters. Requires at least one of company_name, fei_number, action_type, 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_compliance_actions"
  }
}

Input Schema

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

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 compliance actions (warning letters, injunctions, seizures) from the FDA Data Dashboard. 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": {
      -            "action_taken_date": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "action_type": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Warning letter, injunction, seizure or another action"
      -            },
      -            "case_injunction_id": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "FDA Data Dashboard case ID"
      -            },
      -            "center": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "fei_number": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "firm_profile_url": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "legal_name": {
      -              "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 compliance actions (warning letters, injunctions, seizures) from the FDA Data Dashboard. 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": {
      +            "action_taken_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "action_type": {
      +              "description": "Warning letter, injunction, seizure or another action",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "case_injunction_id": {
      +              "description": "FDA Data Dashboard case ID",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "center": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "fei_number": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "firm_profile_url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "legal_name": {
      +              "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 compliance actions (warning letters, injunctions, seizures) from the FDA Data Dashboard. 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": {
      +                  "action_taken_date": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "action_type": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Warning letter, injunction, seizure or another action"
      +                  },
      +                  "case_injunction_id": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "FDA Data Dashboard case ID"
      +                  },
      +                  "center": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "fei_number": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "firm_profile_url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "legal_name": {
      +                    "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.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds real behavioral context beyond them: results are limited to 'covered datasets' and calls containing only paging parameters are rejected. Minor flaw: it names 'offset' as a page parameter, which does not exist in the input schema, so the validation note is slightly imprecise.

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 crisp sentences, with purpose and the distinguishing sibling relationship front-loaded before the precondition. The only wasted token is the reference to 'offset', which is not a parameter of this tool and briefly misleads.

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?

With an output schema, full annotation coverage and 100% schema descriptions, the description only needs to supply purpose, alternatives and the call precondition, all of which it does. The single gap is the inaccurate paging reference, which leaves the pagination story slightly fuzzy for a tool capped at 500 results.

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, but the description adds a cross-parameter rule the schema does not express (at least one of five filter fields must be supplied) and clarifies that date filters apply as a range. It does not elaborate on fuzzy matching for company_name or FEI formatting, which the schema already handles.

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 available FDA compliance actions') plus the lookup dimensions (company, FEI, date), and explicitly names fda_search_warning_letters as the place to go for the associated letter text, so an agent can separate the two 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 a clear routing rule to a sibling tool for warning-letter text and links, and states a hard precondition (at least one of company_name, fei_number, action_type, date_from or date_to). It does not explain when to prefer the broader siblings like fda_search_enforcement or fda_company_compliance_timeline, so the guidance is strong but not exhaustive.

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.