Skip to main content
Glama

RegDataLab – FDA Compliance Data

Search warning letters

fda_search_warning_letters
Read-onlyIdempotent

Find FDA warning letters by company, date or text. Returns matching letters and available source links. company_name also matches the company's known aliases and linked family members such as subsidiaries; each row's company_match says which. Public letter coverage and company matching may be incomplete.

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_warning_letters"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (1-500)
dedupeNoCollapse letters sharing a MARCS-CMS case number to one canonical row (recommended for prospecting)
offsetNoResult offset for pagination (0-10000)
statusNoDerived status: closed (has closeout date), responded (has response date), or open
date_toNoEnd date for letter_issue_date range (YYYY-MM-DD)
keywordNoFull-text query for body and subject; missing bodies fall back to listing subject, company and issuing office
subjectNoSubject line text (partial match)
date_fromNoStart date for letter_issue_date range (YYYY-MM-DD)
company_nameNoCompany name (fuzzy match). Also matches the company's known aliases and family members; each row's company_match says which
product_typeNoProduct type from the letter page (e.g. Drugs, Devices, Food)
issuing_officeNoIssuing office or center name (partial match)
letter_categoryNoHeuristic category derived from issuing_office/subject/product_type
violation_themeNoHeuristic violation theme from subject and body; missing bodies fall back to listing subject, company and issuing office
marcs_cms_numberNoMARCS-CMS case number shown on the letter page

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": "Warning letters with official letter links, plus older warning-letter actions when a company has none in the letter index. Dates are YYYY-MM-DD",
      -    "properties": {
      -      "coverage_note": {
      -        "description": "Present when no indexed letter matched; explains what was searched",
      -        "type": "string"
      -      },
      -      "letter_index_earliest_issue_date": {
      -        "description": "First issue date in the letter index",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "no_filter_note": {
      -        "description": "Present when no filter was given and the newest letters are shown",
      -        "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"
      -      },
      -      "related_letters": {
      -        "description": "Letters linked to the company by alias, family link or candidate email domain, not counted in results; check link_reason before attributing them",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "candidate_email_domain": {
      -              "description": "For recipient_email_domain: the registrable domain matched, inferred from the company name, not verified",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "company_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "letter_issue_date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "letter_url": {
      -              "description": "Official FDA letter; cite it",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "link_reason": {
      -              "description": "company_alias (another of the company's own aliases), family_member (a linked legal entity such as a subsidiary) or recipient_email_domain (recipient email at a candidate company domain)",
      -              "type": "string"
      -            },
      -            "warning_letter_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "link_reason"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "related_letters_note": {
      -        "type": "string"
      -      },
      -      "results": {
      -        "description": "Letters from the warning-letter index",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "fei_number": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "fei_source": {
      -              "description": "letter_text, or fda_compliance_actions when the FEI comes from the Data Dashboard action with the same MARCS-CMS number",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "letter_category": {
      -              "description": "Heuristic category from office, subject and product type",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "letter_excerpt": {
      -              "description": "Start of the letter text",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "letter_issue_date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "letter_text_status": {
      -              "description": "retrieved when usable letter text is returned; otherwise not_retrieved or unavailable",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "letter_url": {
      -              "description": "Official FDA letter; cite it",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "warning_letter_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "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"
      -      },
      -      "warning_letter_actions": {
      -        "description": "Present when a company search found no indexed letters: warning letters from compliance actions (dates and FEIs, no text)",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "action_taken_date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "case_injunction_id": {
      -              "description": "FDA Data Dashboard case ID",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "fei_number": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "firm_profile_url": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "warning_letter_actions_pagination": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "limit": {
      -            "type": "number"
      -          },
      -          "offset": {
      -            "type": "number"
      -          },
      -          "total_count": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "offset",
      -          "limit",
      -          "total_count"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "results",
      -      "pagination",
      -      "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": "Warning letters with official letter links, plus older warning-letter actions when a company has none in the letter index. Dates are YYYY-MM-DD",
      +    "properties": {
      +      "coverage_note": {
      +        "description": "Present when no indexed letter matched; explains what was searched",
      +        "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 warning-letter import, with the source as-of date",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "letter_index_earliest_issue_date": {
      +        "description": "First issue date in the letter index",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "no_filter_note": {
      +        "description": "Present when no filter was given and the newest letters are shown",
      +        "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"
      +      },
      +      "related_letters": {
      +        "description": "Letters linked to the company by alias, family link or candidate email domain, not counted in results; check link_reason before attributing them",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "candidate_email_domain": {
      +              "description": "For recipient_email_domain: the registrable domain matched, inferred from the company name, not verified",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "company_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_issue_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_url": {
      +              "description": "Official FDA letter; cite it",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "link_reason": {
      +              "description": "company_alias (another of the company's own aliases), family_member (a linked legal entity such as a subsidiary) or recipient_email_domain (recipient email at a candidate company domain)",
      +              "type": "string"
      +            },
      +            "warning_letter_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "link_reason"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "related_letters_note": {
      +        "type": "string"
      +      },
      +      "results": {
      +        "description": "Letters from the warning-letter index",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "fei_number": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "fei_source": {
      +              "description": "letter_text, or fda_compliance_actions when the FEI comes from the Data Dashboard action with the same MARCS-CMS number",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_category": {
      +              "description": "Heuristic category from office, subject and product type",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_excerpt": {
      +              "description": "Start of the letter text",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_issue_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_text_status": {
      +              "description": "retrieved when usable letter text is returned; otherwise not_retrieved or unavailable",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_url": {
      +              "description": "Official FDA letter; cite it",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "warning_letter_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "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"
      +      },
      +      "warning_letter_actions": {
      +        "description": "Present when a company search found no indexed letters: warning letters from compliance actions (dates and FEIs, no text)",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "action_taken_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "case_injunction_id": {
      +              "description": "FDA Data Dashboard case ID",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "fei_number": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "firm_profile_url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "warning_letter_actions_pagination": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "limit": {
      +            "type": "number"
      +          },
      +          "offset": {
      +            "type": "number"
      +          },
      +          "total_count": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "offset",
      +          "limit",
      +          "total_count"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "results",
      +      "pagination",
      +      "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. Changed1 schema field changed
    • changedOutput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "description": "Warning letters with official letter links, plus older warning-letter actions when a company has none in the letter index. Dates are YYYY-MM-DD",
      -    "properties": {
      -      "coverage_note": {
      -        "description": "Present when no indexed letter matched; explains what was searched",
      -        "type": "string"
      -      },
      -      "letter_index_earliest_issue_date": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "First issue date in the letter index"
      -      },
      -      "no_filter_note": {
      -        "description": "Present when no filter was given and the newest letters are shown",
      -        "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"
      -      },
      -      "related_letters": {
      -        "description": "Letters linked to the company by alias, family link or candidate email domain, not counted in results; check link_reason before attributing them",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "candidate_email_domain": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "For recipient_email_domain: the registrable domain matched, inferred from the company name, not verified"
      -            },
      -            "company_name": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "letter_issue_date": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "letter_url": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Official FDA letter; cite it"
      -            },
      -            "link_reason": {
      -              "description": "company_alias (another of the company's own aliases), family_member (a linked legal entity such as a subsidiary) or recipient_email_domain (recipient email at a candidate company domain)",
      -              "type": "string"
      -            },
      -            "warning_letter_id": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "link_reason"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "related_letters_note": {
      -        "type": "string"
      -      },
      -      "results": {
      -        "description": "Letters from the warning-letter index",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "fei_number": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "fei_source": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "letter_text, or fda_compliance_actions when the FEI comes from the Data Dashboard action with the same MARCS-CMS number"
      -            },
      -            "letter_category": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Heuristic category from office, subject and product type"
      -            },
      -            "letter_excerpt": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Start of the letter text"
      -            },
      -            "letter_issue_date": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "letter_text_status": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "retrieved when usable letter text is returned; otherwise not_retrieved or unavailable"
      -            },
      -            "letter_url": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Official FDA letter; cite it"
      -            },
      -            "warning_letter_id": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "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"
      -      },
      -      "warning_letter_actions": {
      -        "description": "Present when a company search found no indexed letters: warning letters from compliance actions (dates and FEIs, no text)",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "action_taken_date": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "case_injunction_id": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "FDA Data Dashboard case ID"
      -            },
      -            "fei_number": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "firm_profile_url": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "warning_letter_actions_pagination": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "limit": {
      -            "type": "number"
      -          },
      -          "offset": {
      -            "type": "number"
      -          },
      -          "total_count": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "offset",
      -          "limit",
      -          "total_count"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "results",
      -      "pagination",
      -      "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": "Warning letters with official letter links, plus older warning-letter actions when a company has none in the letter index. Dates are YYYY-MM-DD",
      +    "properties": {
      +      "coverage_note": {
      +        "description": "Present when no indexed letter matched; explains what was searched",
      +        "type": "string"
      +      },
      +      "letter_index_earliest_issue_date": {
      +        "description": "First issue date in the letter index",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "no_filter_note": {
      +        "description": "Present when no filter was given and the newest letters are shown",
      +        "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"
      +      },
      +      "related_letters": {
      +        "description": "Letters linked to the company by alias, family link or candidate email domain, not counted in results; check link_reason before attributing them",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "candidate_email_domain": {
      +              "description": "For recipient_email_domain: the registrable domain matched, inferred from the company name, not verified",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "company_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_issue_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_url": {
      +              "description": "Official FDA letter; cite it",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "link_reason": {
      +              "description": "company_alias (another of the company's own aliases), family_member (a linked legal entity such as a subsidiary) or recipient_email_domain (recipient email at a candidate company domain)",
      +              "type": "string"
      +            },
      +            "warning_letter_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "link_reason"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "related_letters_note": {
      +        "type": "string"
      +      },
      +      "results": {
      +        "description": "Letters from the warning-letter index",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "fei_number": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "fei_source": {
      +              "description": "letter_text, or fda_compliance_actions when the FEI comes from the Data Dashboard action with the same MARCS-CMS number",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_category": {
      +              "description": "Heuristic category from office, subject and product type",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_excerpt": {
      +              "description": "Start of the letter text",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_issue_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_text_status": {
      +              "description": "retrieved when usable letter text is returned; otherwise not_retrieved or unavailable",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "letter_url": {
      +              "description": "Official FDA letter; cite it",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "warning_letter_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "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"
      +      },
      +      "warning_letter_actions": {
      +        "description": "Present when a company search found no indexed letters: warning letters from compliance actions (dates and FEIs, no text)",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "action_taken_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "case_injunction_id": {
      +              "description": "FDA Data Dashboard case ID",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "fei_number": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "firm_profile_url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "warning_letter_actions_pagination": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "limit": {
      +            "type": "number"
      +          },
      +          "offset": {
      +            "type": "number"
      +          },
      +          "total_count": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "offset",
      +          "limit",
      +          "total_count"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "results",
      +      "pagination",
      +      "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"
      +  }
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / company_name / description
      Previous value: -"Company name (fuzzy match)"New value: +"Company name (fuzzy match). Also matches the company's known aliases and family members; each row's company_match says which"
  4. Changed6 schema fields changed
    • changedInput schema / properties / keyword / description
      Previous value: -"Full-text query for the warning letter body and subject"New value: +"Full-text query for body and subject; missing bodies fall back to listing subject, company and issuing office"
    • changedInput schema / properties / letter_category / enum
      Previous value: -[
      -  "CGMP-manufacturing",
      -  "BIMO",
      -  "listing",
      -  "OPDP/promotion",
      -  "503B/compounding",
      -  "import"
      -]New value: +[
      +  "CGMP-manufacturing",
      +  "BIMO",
      +  "listing",
      +  "OPDP/promotion",
      +  "503B/compounding",
      +  "import",
      +  "postmarketing-reporting"
      +]
    • 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
    • changedInput schema / properties / violation_theme / description
      Previous value: -"Heuristic violation theme derived from subject and letter body text"New value: +"Heuristic violation theme from subject and body; missing bodies fall back to listing subject, company and issuing office"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "description": "Warning letters with official letter links, plus older warning-letter actions when a company has none in the letter index. Dates are YYYY-MM-DD",
      +          "properties": {
      +            "coverage_note": {
      +              "description": "Present when no indexed letter matched; explains what was searched",
      +              "type": "string"
      +            },
      +            "letter_index_earliest_issue_date": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "First issue date in the letter index"
      +            },
      +            "no_filter_note": {
      +              "description": "Present when no filter was given and the newest letters are shown",
      +              "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"
      +            },
      +            "related_letters": {
      +              "description": "Letters linked to the company by alias, family link or candidate email domain, not counted in results; check link_reason before attributing them",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "candidate_email_domain": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "For recipient_email_domain: the registrable domain matched, inferred from the company name, not verified"
      +                  },
      +                  "company_name": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "letter_issue_date": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "letter_url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Official FDA letter; cite it"
      +                  },
      +                  "link_reason": {
      +                    "description": "company_alias (another of the company's own aliases), family_member (a linked legal entity such as a subsidiary) or recipient_email_domain (recipient email at a candidate company domain)",
      +                    "type": "string"
      +                  },
      +                  "warning_letter_id": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "link_reason"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "related_letters_note": {
      +              "type": "string"
      +            },
      +            "results": {
      +              "description": "Letters from the warning-letter index",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "fei_number": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "fei_source": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "letter_text, or fda_compliance_actions when the FEI comes from the Data Dashboard action with the same MARCS-CMS number"
      +                  },
      +                  "letter_category": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Heuristic category from office, subject and product type"
      +                  },
      +                  "letter_excerpt": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Start of the letter text"
      +                  },
      +                  "letter_issue_date": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "letter_text_status": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "retrieved when usable letter text is returned; otherwise not_retrieved or unavailable"
      +                  },
      +                  "letter_url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "Official FDA letter; cite it"
      +                  },
      +                  "warning_letter_id": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "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"
      +            },
      +            "warning_letter_actions": {
      +              "description": "Present when a company search found no indexed letters: warning letters from compliance actions (dates and FEIs, no text)",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "action_taken_date": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "case_injunction_id": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "description": "FDA Data Dashboard case ID"
      +                  },
      +                  "fei_number": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "firm_profile_url": {
      +                    "anyOf": [
      +                      {
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "warning_letter_actions_pagination": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "has_more": {
      +                  "type": "boolean"
      +                },
      +                "limit": {
      +                  "type": "number"
      +                },
      +                "offset": {
      +                  "type": "number"
      +                },
      +                "total_count": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "offset",
      +                "limit",
      +                "total_count"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "results",
      +            "pagination",
      +            "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"
      +}
  5. Changed4 schema fields changed
    • addedInput schema / properties / dedupe
      Added value: +{
      +  "default": false,
      +  "description": "Collapse letters sharing a MARCS-CMS case number to one canonical row (recommended for prospecting)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / letter_category
      Added value: +{
      +  "description": "Heuristic category derived from issuing_office/subject/product_type",
      +  "enum": [
      +    "CGMP-manufacturing",
      +    "BIMO",
      +    "listing",
      +    "OPDP/promotion",
      +    "503B/compounding",
      +    "import"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Derived status: closed (has closeout date), responded (has response date), or open",
      +  "enum": [
      +    "open",
      +    "responded",
      +    "closed"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / violation_theme
      Added value: +{
      +  "description": "Heuristic violation theme derived from subject and letter body text",
      +  "enum": [
      +    "cgmp_subsystem",
      +    "data_integrity",
      +    "validation",
      +    "bimo",
      +    "listing",
      +    "promotion"
      +  ],
      +  "type": "string"
      +}
  6. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds real value beyond those: alias and family-member matching, the company_match row indicator that discloses which match fired, and an explicit caveat that public letter coverage and company matching may be incomplete. That caveat is exactly the kind of behavioral honesty an agent needs before trusting an absence of results.

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?

Four short sentences, front-loaded with the verb and filter axes, then the return shape, then the matching nuance, then the caveat. Efficient, with only mild overlap with the schema's own company_name wording.

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 not be spelled out, yet the description still mentions letters and source links. For a 14-parameter tool it covers the primary search axes and the biggest trust risk (incomplete coverage), leaving secondary refinements like dedupe, status and enum categories to the schema, which documents them fully.

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 all 14 parameters are already documented, including the alias/family-match behavior of company_name and the fallback for keyword when bodies are missing. The description restates the company matching subtly but adds no syntax, range or interaction detail (e.g. dedupe, status, or heuristic category behavior) beyond the schema.

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?

States a specific verb and resource ("Find FDA warning letters") along with the three filter axes (company, date, text) and what comes back (matching letters and source links). It distinguishes itself from siblings like fda_search_opdp_untitled_letters by naming the letter type explicitly, though it never contrasts itself with them directly.

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 implied by the filter axes ("by company, date or text"), which tells an agent roughly what the tool is for. There is no explicit when-to-use guidance, no statement of when to prefer a sibling such as the untitled-letter or citation tools, and no prerequisites mentioned.

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.