Skip to main content
Glama

Search Warning Letters

fda_search_warning_letters
Read-onlyIdempotent

Search official FDA warning letters with full-text content from the FDA website. Use keyword search for the actual letter body, or filter by company name, issuing office, subject, MARCS-CMS number, product type, or letter issue date. Adds prospecting filters: status (open|responded|closed, derived from response/closeout dates), letter_category (CGMP-manufacturing | BIMO | listing | OPDP/promotion | 503B/compounding | import — heuristic, derived from issuing_office/subject/product_type), and violation_theme (cgmp_subsystem | data_integrity | validation | bimo | listing | promotion — keyword/FTS-derived over subject+body). Set dedupe=true to collapse near-identical letters sharing a MARCS-CMS case number to one canonical row. Each row exposes derived status and letter_category, plus fei_number for one-hop navigation to fda_citations and fda_inspections. This adds narrative context beyond fda_compliance_actions, which only contains dashboard metadata. NOTE: violation_theme and letter_category are best-effort heuristics over free-text fields; keyword cannot be scoped to a parsed cited-violations sub-section because the corpus only stores subject + full letter body.

Input Schema

TableJSON 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
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 the warning letter body and subject
subjectNoSubject line text (partial match)
date_fromNoStart date for letter_issue_date range (YYYY-MM-DD)
company_nameNoCompany name (fuzzy match)
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 derived from subject and letter body text
marcs_cms_numberNoMARCS-CMS case number shown on the letter page

TDQS

A5/5.0
Behavior5/5

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

Even with annotations indicating read-only/idempotent behavior, the description adds meaningful behavioral detail: it discloses that letter_category and violation_theme are best-effort heuristics, that status is derived from response/closeout dates, and that keyword cannot be scoped to a parsed cited-violations sub-section. It also explains the dedupe collapse behavior, going well beyond the annotation hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is information-dense but every sentence serves a purpose: stating the core function, listing filter capabilities, explaining derived fields and dedupe, providing cross-tool navigation, and setting expectations about heuristic limitations. The key search behavior is front-loaded, and the structure is logical.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 14 parameters and no output schema, the description is remarkably complete. It tells users what each returned row contains (derived status, letter_category, fei_number for one-hop navigation), explains the heuristic nature of certain fields, and explicitly notes a limitation of keyword search. This fully compensates for the absence of an output schema.

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

Parameters5/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 significantly enhances parameter understanding by explaining how derived parameters (status, letter_category, violation_theme) are computed from other fields. It also clarifies the purpose of dedupe and fei_number for navigation, adding meaning not present in the schema.

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?

The description clearly states the tool searches official FDA warning letters with full-text content, using a specific verb ('Search') and resource ('warning letters'). It also distinguishes itself from sibling tools by noting it 'adds narrative context beyond fda_compliance_actions, which only contains dashboard metadata.'

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

Usage Guidelines5/5

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

The description explicitly tells users when to use keyword search versus filters ('Use keyword search for the actual letter body, or filter by...'), advises setting dedupe=true for prospecting, and contrasts with the alternative fda_compliance_actions. This gives clear usage context and exclusions.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Most tools have distinct purposes with clear boundaries, such as fda_search_drugs for drug applications and fda_search_510k for device clearances. However, some overlap exists, like fda_device_udi and fda_device_udi_lookup both querying UDI data, which could cause confusion despite differences in scope.

Naming Consistency5/5

All tool names follow a consistent snake_case pattern with a clear fda_ prefix, using descriptive verbs like search, get, list, and link. This uniformity makes the set predictable and easy to navigate, with no deviations in naming style.

Tool Count2/5

With 48 tools, the count is excessive for a single server, making it overwhelming and difficult for agents to manage. While the domain is broad (FDA data), the toolset feels bloated with many specialized or overlapping tools that could be consolidated.

Completeness5/5

The toolset provides comprehensive coverage of FDA data domains, including drugs, devices, inspections, compliance, recalls, and facilities. It supports full CRUD-like operations (e.g., search, get, link, save) and lifecycle workflows, with no obvious gaps for the intended purpose.

Resources