Skip to main content
Glama

RegDataLab – FDA Compliance Data

Supplier risk table

fda_supplier_risk_table
Read-onlyIdempotent

Check a list of 2 to 25 suppliers in one call and get one table of their FDA records. Returns one row per supplier with the matched company family, facilities, inspection classifications (NAI/VAI/OAI), warning letters, the latest Form 483 or other OII record, import alerts and refusals, debarments and recalls, each with its most recent date and FDA source links, plus totals and dataset freshness. Rows are sorted by record counts (sort_by: records), newest record (latest_record) or as given (input_order); the order is not a risk rating. Counts match fda_manufacturing_risk_summary for the same company and period; each row's details_call gives that call. Counts cover all dates unless date_from/date_to set a period. No matching records does not establish safety.

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": {
      "suppliers": "<suppliers>"
    },
    "name": "fda_supplier_risk_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_toNoCount only records dated on or before this day (YYYY-MM-DD)
sort_byNorecords (default): most warning letters, OAI inspections, import alerts and recalls first; latest_record: newest record first; input_order: as given
date_fromNoCount only records dated on or after this day (YYYY-MM-DD). Omit both dates for all time.
suppliersYesSupplier company names or company_ids (2 to 25), one per entry

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), and the description layers on non-obvious behavior: default all-time coverage unless date_from/date_to are set, the three sort modes, that row order is NOT a risk rating, and that absence of records does not establish safety. Those interpretive caveats are exactly the kind of context annotations cannot carry.

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 the action and the return shape, then sorting, then caveats in a logical progression. Dense but largely earned; the supplier count (2 to 25) is restated from the schema and a few clauses are packed tightly, keeping it just short of ideal.

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?

For a batch aggregation tool this covers everything an agent needs: input limits, per-row contents, sort semantics, consistency with the single-company sibling, freshness/totals, source links, and interpretation warnings. Output schema exists, yet the description still correctly frames the response shape rather than relying on it alone.

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 schema already documents suppliers, sort_by, and the date bounds; the baseline would be 3. The description earns the extra point by clarifying meaning the schema does not: the ordering is presentational rather than a risk judgment, and counts default to all time unless both dates are supplied.

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 scope ("Check a list of 2 to 25 suppliers in one call") and the exact resource produced, "one table of their FDA records" with one row per supplier. It enumerates the record categories returned (inspections, warning letters, 483/OII, import alerts, debarments, recalls), which lets an agent distinguish it from single-company siblings such as fda_manufacturing_risk_summary without opening any 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?

Explicitly frames this as a multi-supplier batch tool (2 to 25) and names fda_manufacturing_risk_summary as the equivalent single-company call, noting that each row's details_call routes to it. That is clear routing context, though it stops short of an explicit "use this instead of X when..." exclusion statement.

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.