Skip to main content
Glama

RegDataLab – FDA Compliance Data

Facility detail

fda_get_facility
Read-onlyIdempotent

Read a facility’s record by FDA Establishment Identifier (FEI). Returns available addresses, operations type, linked records and a facility_risk_summary. Inspection and compliance evidence is available through fda_facility_dossier. Rows with a known FEI include firm_profile_url, the FDA Data Dashboard firm profile (https://datadashboard.fda.gov/oii/firmprofile.htm?FEIi={fei_number}).

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": {
      "fei": "<fei>"
    },
    "name": "fda_get_facility"
  }
}

Input Schema

NameRequiredDescriptionDefault
feiYesFDA Establishment Identifier (FEI): 7 or 10 digits, as a string or a number (e.g. 3004387156)
products_limitNoProducts result limit
products_offsetNoProducts result offset
enforcement_limitNoEnforcement history result limit
enforcement_offsetNoEnforcement history result offset

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / enforcement_limit
      Added value: +{
      +  "default": 25,
      +  "description": "Enforcement history result limit",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / enforcement_offset
      Added value: +{
      +  "default": 0,
      +  "description": "Enforcement history result offset",
      +  "maximum": 10000,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / fei / 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 / 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 / pattern
      Removed value: -"^\\d{1,10}$"
    • removedInput schema / properties / fei / type
      Removed value: -"string"
    • changedInput schema / properties / products_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": {
      +      "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

A4.1/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 value beyond that by disclosing the return field set and a conditional behavior (rows with a known FEI carry firm_profile_url) plus the external dashboard URL template. It does not disclose pagination/truncation behavior for the four limit/offset parameters.

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?

Front-loaded with purpose and payload in the first sentence, sibling routing second, edge-case detail last. Three sentences with no filler; the URL template is long but functional, though it slightly crowds out explanation of the pagination parameters.

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 needn't be described in prose, and the description still summarizes them usefully. For a read-only, high-fanout detail tool the coverage is close to complete, with the unresolved products/enforcement pagination semantics being the main residual 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 description coverage is 100%, so fei format, defaults and bounds are fully documented structurally and the description need not repeat them — baseline 3 applies. The description adds no meaning to the four pagination parameters, which is the one place prose could have helped (e.g. what 'products' and 'enforcement history' each contain).

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 ('Read') and resource ('a facility's record') plus the exact keying identifier (FEI), and enumerates the returned payload (addresses, operations type, linked records, facility_risk_summary). It also implicitly separates itself from the product-listing and inspection-oriented siblings by scope.

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?

Explicitly routes inspection and compliance evidence away to fda_facility_dossier, which is a genuine when-to-use alternative. However, the tool itself accepts products_limit/products_offset and enforcement_limit/enforcement_offset, so the boundary against fda_facility_products and the reason enforcement data is paginated here while compliance evidence is said to live elsewhere is left unexplained.

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.