Skip to main content
Glama

RegDataLab – FDA Compliance Data

Compare companies

fda_compare_companies
Read-onlyIdempotent

Compare 2 to 5 companies' FDA manufacturing and compliance records side by side in one call. Returns one row per company with 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, plus the highest-severity signals and dataset freshness. Counts match fda_manufacturing_risk_summary for the same company and period; use that tool for one company's records. Counts cover all dates unless date_from/date_to set a period; period.label says which. 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": {
      "companies": "<companies>"
    },
    "name": "fda_compare_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_toNoCount only records dated on or before this day (YYYY-MM-DD)
companiesYesCompany names or company_ids to compare (2 to 5)
date_fromNoCount only records dated on or after this day (YYYY-MM-DD). Omit both dates for all time.

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": "Side-by-side manufacturing and compliance counts for 2 to 5 company families, each with its most recent dates, severity signals, freshness and matching limits",
      -    "properties": {
      -      "companies_compared": {
      -        "description": "Companies with counts",
      -        "type": "number"
      -      },
      -      "comparison": {
      -        "description": "One row per company, in the order asked",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "better_match_candidates": {
      -              "description": "Curated companies whose name the input begins, present when the input matched only loosely (e.g. Sun Pharma -> sun-pharmaceutical). Re-run with the first company_id before treating these counts as the company's record",
      -              "items": {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "call": {
      -                    "type": "string"
      -                  },
      -                  "company_id": {
      -                    "type": "string"
      -                  },
      -                  "matched_alias": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "company_id",
      -                  "matched_alias",
      -                  "call"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "company_id": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Resolved family ID; counts cover this whole family"
      -            },
      -            "coverage": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "complete, low_confidence, no_alias_pack or possible_split"
      -            },
      -            "debarment_count": {
      -              "type": "number"
      -            },
      -            "details_call": {
      -              "description": "fda_manufacturing_risk_summary call for this company's records",
      -              "type": "string"
      -            },
      -            "error": {
      -              "type": "string"
      -            },
      -            "facility_count": {
      -              "description": "Facilities registered or inspected under the family's names",
      -              "type": "number"
      -            },
      -            "highest_severity_signals": {
      -              "description": "Severity-ranked signals with dates",
      -              "items": {
      -                "additionalProperties": {},
      -                "properties": {},
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "import_alerts": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "count": {
      -                  "type": "number"
      -                },
      -                "last_alert_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "red_list_count": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "count",
      -                "red_list_count"
      -              ],
      -              "type": "object"
      -            },
      -            "import_refusals": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "count": {
      -                  "type": "number"
      -                },
      -                "footprint_linked_count": {
      -                  "type": "number"
      -                },
      -                "last_refusal_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "count",
      -                "footprint_linked_count"
      -              ],
      -              "type": "object"
      -            },
      -            "input_company": {
      -              "description": "Company name as asked",
      -              "type": "string"
      -            },
      -            "inspections": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "last_inspection_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "nai": {
      -                  "type": "number"
      -                },
      -                "oai": {
      -                  "type": "number"
      -                },
      -                "oai_share": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "OAI inspections as a share of all inspections, 0 to 1; null with no inspections"
      -                },
      -                "total": {
      -                  "type": "number"
      -                },
      -                "vai": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "total",
      -                "nai",
      -                "vai",
      -                "oai",
      -                "oai_share"
      -              ],
      -              "type": "object"
      -            },
      -            "latest_oii_record": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": {},
      -                  "properties": {
      -                    "record_date": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "FDA listing date"
      -                    },
      -                    "record_type": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "record_url": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Official FDA document; cite it"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Newest Form 483 or other OII reading-room record"
      -            },
      -            "near_name_candidates": {
      -              "description": "Present with no_matching_records: name-similarity suggestions, not verified identities",
      -              "items": {
      -                "additionalProperties": {},
      -                "properties": {},
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "notable_gaps": {
      -              "description": "This company's caveats from the risk summary; state them with its counts",
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "recalls": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "most_recent_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "unique_count": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "unique_count"
      -              ],
      -              "type": "object"
      -            },
      -            "scope_note": {
      -              "description": "Present when the input rolled up to a parent family it does not name; say this to the user",
      -              "type": "string"
      -            },
      -            "status": {
      -              "description": "resolved; no_matching_records when nothing matched the name (zeros, check near_name_candidates); not_resolved when the name could not be read (no counts)",
      -              "type": "string"
      -            },
      -            "warning_letters": {
      -              "additionalProperties": {},
      -              "description": "Warning letters, including older ones from FDA compliance actions",
      -              "properties": {
      -                "count": {
      -                  "description": "Warning letters, including older ones from FDA compliance actions",
      -                  "type": "number"
      -                },
      -                "most_recent_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "count"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "input_company",
      -            "status",
      -            "company_id"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "comparison_note": {
      -        "description": "How to read the rows; counts grow with company size",
      -        "type": "string"
      -      },
      -      "freshness_summary": {
      -        "additionalProperties": {},
      -        "description": "Dataset freshness; state it in answers",
      -        "properties": {
      -          "covered_dataset_count": {
      -            "type": "number"
      -          },
      -          "expected_dataset_count": {
      -            "type": "number"
      -          },
      -          "freshest_as_of_date": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "missing_dataset_ids": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "newest_as_of_date": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "older_datasets": {
      -            "items": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "as_of_date": {
      -                  "type": "string"
      -                },
      -                "dataset_id": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "dataset_id",
      -                "as_of_date"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "oldest_as_of_date": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "stalest_as_of_date": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "covered_dataset_count",
      -          "expected_dataset_count",
      -          "older_datasets",
      -          "missing_dataset_ids"
      -        ],
      -        "type": "object"
      -      },
      -      "newest_as_of": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Newest source date (default compact freshness)"
      -      },
      -      "no_records_note": {
      -        "type": "string"
      -      },
      -      "notable_gaps": {
      -        "description": "Caveats shared by every company (freshness, period), plus matching limits and unresolved names; state them",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "notices": {
      -        "description": "Account notices about this key, such as a low balance; show them to the user",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "period": {
      -        "additionalProperties": {},
      -        "description": "Which dates the counts, recent records and signals cover (date_from/date_to inputs); all time unless set",
      -        "properties": {
      -          "date_from": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "First day counted (YYYY-MM-DD), or null"
      -          },
      -          "date_to": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Last day counted (YYYY-MM-DD), or null"
      -          },
      -          "label": {
      -            "description": "The period in words, e.g. All time or Since 2022-01-01; state it with the counts",
      -            "type": "string"
      -          },
      -          "note": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "date_from",
      -          "date_to",
      -          "label",
      -          "note"
      -        ],
      -        "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"
      -      }
      -    },
      -    "required": [
      -      "companies_compared",
      -      "comparison_note",
      -      "comparison",
      -      "notable_gaps",
      -      "no_records_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": "Side-by-side manufacturing and compliance counts for 2 to 5 company families, each with its most recent dates, severity signals, freshness and matching limits",
      +    "properties": {
      +      "companies_compared": {
      +        "description": "Companies with counts",
      +        "type": "number"
      +      },
      +      "comparison": {
      +        "description": "One row per company, in the order asked",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "better_match_candidates": {
      +              "description": "Curated companies whose name the input begins, present when the input matched only loosely (e.g. Sun Pharma -> sun-pharmaceutical). Re-run with the first company_id before treating these counts as the company's record",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "call": {
      +                    "type": "string"
      +                  },
      +                  "company_id": {
      +                    "type": "string"
      +                  },
      +                  "matched_alias": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "company_id",
      +                  "matched_alias",
      +                  "call"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "company_id": {
      +              "description": "Resolved family ID; counts cover this whole family",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "coverage": {
      +              "description": "complete, low_confidence, no_alias_pack or possible_split",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "debarment_count": {
      +              "type": "number"
      +            },
      +            "details_call": {
      +              "description": "fda_manufacturing_risk_summary call for this company's records",
      +              "type": "string"
      +            },
      +            "error": {
      +              "type": "string"
      +            },
      +            "facility_count": {
      +              "description": "Facilities registered or inspected under the family's names",
      +              "type": "number"
      +            },
      +            "highest_severity_signals": {
      +              "description": "Severity-ranked signals with dates",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {},
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "import_alerts": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "count": {
      +                  "type": "number"
      +                },
      +                "last_alert_date": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "red_list_count": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "count",
      +                "red_list_count"
      +              ],
      +              "type": "object"
      +            },
      +            "import_refusals": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "count": {
      +                  "type": "number"
      +                },
      +                "footprint_linked_count": {
      +                  "type": "number"
      +                },
      +                "last_refusal_date": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "count",
      +                "footprint_linked_count"
      +              ],
      +              "type": "object"
      +            },
      +            "input_company": {
      +              "description": "Company name as asked",
      +              "type": "string"
      +            },
      +            "inspections": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "last_inspection_date": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "nai": {
      +                  "type": "number"
      +                },
      +                "oai": {
      +                  "type": "number"
      +                },
      +                "oai_share": {
      +                  "description": "OAI inspections as a share of all inspections, 0 to 1; null with no inspections",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "total": {
      +                  "type": "number"
      +                },
      +                "vai": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "total",
      +                "nai",
      +                "vai",
      +                "oai",
      +                "oai_share"
      +              ],
      +              "type": "object"
      +            },
      +            "latest_oii_record": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "record_date": {
      +                      "description": "FDA listing date",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "record_type": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "record_url": {
      +                      "description": "Official FDA document; cite it",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Newest Form 483 or other OII reading-room record"
      +            },
      +            "near_name_candidates": {
      +              "description": "Present with no_matching_records: name-similarity suggestions, not verified identities",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {},
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "notable_gaps": {
      +              "description": "This company's caveats from the risk summary; state them with its counts",
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "recalls": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "most_recent_date": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "unique_count": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "unique_count"
      +              ],
      +              "type": "object"
      +            },
      +            "scope_note": {
      +              "description": "Present when the input rolled up to a parent family it does not name; say this to the user",
      +              "type": "string"
      +            },
      +            "status": {
      +              "description": "resolved; no_matching_records when nothing matched the name (zeros, check near_name_candidates); not_resolved when the name could not be read (no counts)",
      +              "type": "string"
      +            },
      +            "warning_letters": {
      +              "additionalProperties": {},
      +              "description": "Warning letters, including older ones from FDA compliance actions",
      +              "properties": {
      +                "count": {
      +                  "description": "Warning letters, including older ones from FDA compliance actions",
      +                  "type": "number"
      +                },
      +                "most_recent_date": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "count"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "input_company",
      +            "status",
      +            "company_id"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "comparison_note": {
      +        "description": "How to read the rows; counts grow with company size",
      +        "type": "string"
      +      },
      +      "freshness_summary": {
      +        "additionalProperties": {},
      +        "description": "Dataset freshness; state it in answers",
      +        "properties": {
      +          "covered_dataset_count": {
      +            "type": "number"
      +          },
      +          "expected_dataset_count": {
      +            "type": "number"
      +          },
      +          "freshest_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "missing_dataset_ids": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "newest_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "older_datasets": {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "as_of_date": {
      +                  "type": "string"
      +                },
      +                "dataset_id": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "dataset_id",
      +                "as_of_date"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "oldest_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "stalest_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "covered_dataset_count",
      +          "expected_dataset_count",
      +          "older_datasets",
      +          "missing_dataset_ids"
      +        ],
      +        "type": "object"
      +      },
      +      "newest_as_of": {
      +        "description": "Newest source date (default compact freshness)",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "no_records_note": {
      +        "type": "string"
      +      },
      +      "notable_gaps": {
      +        "description": "Caveats shared by every company (freshness, period), plus matching limits and unresolved names; state them",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "notices": {
      +        "description": "Account notices about this key, such as a low balance; show them to the user",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "period": {
      +        "additionalProperties": {},
      +        "description": "Which dates the counts, recent records and signals cover (date_from/date_to inputs); all time unless set",
      +        "properties": {
      +          "date_from": {
      +            "description": "First day counted (YYYY-MM-DD), or null",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "date_to": {
      +            "description": "Last day counted (YYYY-MM-DD), or null",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "label": {
      +            "description": "The period in words, e.g. All time or Since 2022-01-01; state it with the counts",
      +            "type": "string"
      +          },
      +          "note": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "date_from",
      +          "date_to",
      +          "label",
      +          "note"
      +        ],
      +        "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"
      +      }
      +    },
      +    "required": [
      +      "companies_compared",
      +      "comparison_note",
      +      "comparison",
      +      "notable_gaps",
      +      "no_records_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. Changed1 schema field changed
    • changedOutput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "description": "Side-by-side manufacturing and compliance counts for 2 to 5 company families, each with its most recent dates, severity signals, freshness and matching limits",
      -    "properties": {
      -      "companies_compared": {
      -        "description": "Companies with counts",
      -        "type": "number"
      -      },
      -      "comparison": {
      -        "description": "One row per company, in the order asked",
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "company_id": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Resolved family ID; counts cover this whole family"
      -            },
      -            "coverage": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "complete, low_confidence, no_alias_pack or possible_split"
      -            },
      -            "debarment_count": {
      -              "type": "number"
      -            },
      -            "details_call": {
      -              "description": "fda_manufacturing_risk_summary call for this company's records",
      -              "type": "string"
      -            },
      -            "error": {
      -              "type": "string"
      -            },
      -            "facility_count": {
      -              "description": "Facilities registered or inspected under the family's names",
      -              "type": "number"
      -            },
      -            "highest_severity_signals": {
      -              "description": "Severity-ranked signals with dates",
      -              "items": {
      -                "additionalProperties": {},
      -                "properties": {},
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "import_alerts": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "count": {
      -                  "type": "number"
      -                },
      -                "last_alert_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "red_list_count": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "count",
      -                "red_list_count"
      -              ],
      -              "type": "object"
      -            },
      -            "import_refusals": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "count": {
      -                  "type": "number"
      -                },
      -                "footprint_linked_count": {
      -                  "type": "number"
      -                },
      -                "last_refusal_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "count",
      -                "footprint_linked_count"
      -              ],
      -              "type": "object"
      -            },
      -            "input_company": {
      -              "description": "Company name as asked",
      -              "type": "string"
      -            },
      -            "inspections": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "last_inspection_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "nai": {
      -                  "type": "number"
      -                },
      -                "oai": {
      -                  "type": "number"
      -                },
      -                "oai_share": {
      -                  "anyOf": [
      -                    {
      -                      "type": "number"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "OAI inspections as a share of all inspections, 0 to 1; null with no inspections"
      -                },
      -                "total": {
      -                  "type": "number"
      -                },
      -                "vai": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "total",
      -                "nai",
      -                "vai",
      -                "oai",
      -                "oai_share"
      -              ],
      -              "type": "object"
      -            },
      -            "latest_oii_record": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": {},
      -                  "properties": {
      -                    "record_date": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "FDA listing date"
      -                    },
      -                    "record_type": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "record_url": {
      -                      "anyOf": [
      -                        {
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "Official FDA document; cite it"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Newest Form 483 or other OII reading-room record"
      -            },
      -            "near_name_candidates": {
      -              "description": "Present with no_matching_records: name-similarity suggestions, not verified identities",
      -              "items": {
      -                "additionalProperties": {},
      -                "properties": {},
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "notable_gaps": {
      -              "description": "This company's caveats from the risk summary; state them with its counts",
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "recalls": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "most_recent_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "unique_count": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "unique_count"
      -              ],
      -              "type": "object"
      -            },
      -            "scope_note": {
      -              "description": "Present when the input rolled up to a parent family it does not name; say this to the user",
      -              "type": "string"
      -            },
      -            "status": {
      -              "description": "resolved; no_matching_records when nothing matched the name (zeros, check near_name_candidates); not_resolved when the name could not be read (no counts)",
      -              "type": "string"
      -            },
      -            "warning_letters": {
      -              "additionalProperties": {},
      -              "description": "Warning letters, including older ones from FDA compliance actions",
      -              "properties": {
      -                "count": {
      -                  "description": "Warning letters, including older ones from FDA compliance actions",
      -                  "type": "number"
      -                },
      -                "most_recent_date": {
      -                  "anyOf": [
      -                    {
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "count"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "input_company",
      -            "status",
      -            "company_id"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "comparison_note": {
      -        "description": "How to read the rows; counts grow with company size",
      -        "type": "string"
      -      },
      -      "freshness_summary": {
      -        "additionalProperties": {},
      -        "description": "Dataset freshness; state it in answers",
      -        "properties": {
      -          "covered_dataset_count": {
      -            "type": "number"
      -          },
      -          "expected_dataset_count": {
      -            "type": "number"
      -          },
      -          "freshest_as_of_date": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "missing_dataset_ids": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "newest_as_of_date": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "older_datasets": {
      -            "items": {
      -              "additionalProperties": {},
      -              "properties": {
      -                "as_of_date": {
      -                  "type": "string"
      -                },
      -                "dataset_id": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "dataset_id",
      -                "as_of_date"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "oldest_as_of_date": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "stalest_as_of_date": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          }
      -        },
      -        "required": [
      -          "covered_dataset_count",
      -          "expected_dataset_count",
      -          "older_datasets",
      -          "missing_dataset_ids"
      -        ],
      -        "type": "object"
      -      },
      -      "newest_as_of": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Newest source date (default compact freshness)"
      -      },
      -      "no_records_note": {
      -        "type": "string"
      -      },
      -      "notable_gaps": {
      -        "description": "Caveats shared by every company (freshness, period), plus matching limits and unresolved names; state them",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "notices": {
      -        "description": "Account notices about this key, such as a low balance; show them to the user",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "period": {
      -        "additionalProperties": {},
      -        "description": "Which dates the counts, recent records and signals cover (date_from/date_to inputs); all time unless set",
      -        "properties": {
      -          "date_from": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "First day counted (YYYY-MM-DD), or null"
      -          },
      -          "date_to": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Last day counted (YYYY-MM-DD), or null"
      -          },
      -          "label": {
      -            "description": "The period in words, e.g. All time or Since 2022-01-01; state it with the counts",
      -            "type": "string"
      -          },
      -          "note": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "date_from",
      -          "date_to",
      -          "label",
      -          "note"
      -        ],
      -        "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"
      -      }
      -    },
      -    "required": [
      -      "companies_compared",
      -      "comparison_note",
      -      "comparison",
      -      "notable_gaps",
      -      "no_records_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": "Side-by-side manufacturing and compliance counts for 2 to 5 company families, each with its most recent dates, severity signals, freshness and matching limits",
      +    "properties": {
      +      "companies_compared": {
      +        "description": "Companies with counts",
      +        "type": "number"
      +      },
      +      "comparison": {
      +        "description": "One row per company, in the order asked",
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "better_match_candidates": {
      +              "description": "Curated companies whose name the input begins, present when the input matched only loosely (e.g. Sun Pharma -> sun-pharmaceutical). Re-run with the first company_id before treating these counts as the company's record",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "call": {
      +                    "type": "string"
      +                  },
      +                  "company_id": {
      +                    "type": "string"
      +                  },
      +                  "matched_alias": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "company_id",
      +                  "matched_alias",
      +                  "call"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "company_id": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Resolved family ID; counts cover this whole family"
      +            },
      +            "coverage": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "complete, low_confidence, no_alias_pack or possible_split"
      +            },
      +            "debarment_count": {
      +              "type": "number"
      +            },
      +            "details_call": {
      +              "description": "fda_manufacturing_risk_summary call for this company's records",
      +              "type": "string"
      +            },
      +            "error": {
      +              "type": "string"
      +            },
      +            "facility_count": {
      +              "description": "Facilities registered or inspected under the family's names",
      +              "type": "number"
      +            },
      +            "highest_severity_signals": {
      +              "description": "Severity-ranked signals with dates",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {},
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "import_alerts": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "count": {
      +                  "type": "number"
      +                },
      +                "last_alert_date": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "red_list_count": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "count",
      +                "red_list_count"
      +              ],
      +              "type": "object"
      +            },
      +            "import_refusals": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "count": {
      +                  "type": "number"
      +                },
      +                "footprint_linked_count": {
      +                  "type": "number"
      +                },
      +                "last_refusal_date": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "count",
      +                "footprint_linked_count"
      +              ],
      +              "type": "object"
      +            },
      +            "input_company": {
      +              "description": "Company name as asked",
      +              "type": "string"
      +            },
      +            "inspections": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "last_inspection_date": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "nai": {
      +                  "type": "number"
      +                },
      +                "oai": {
      +                  "type": "number"
      +                },
      +                "oai_share": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "OAI inspections as a share of all inspections, 0 to 1; null with no inspections"
      +                },
      +                "total": {
      +                  "type": "number"
      +                },
      +                "vai": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "total",
      +                "nai",
      +                "vai",
      +                "oai",
      +                "oai_share"
      +              ],
      +              "type": "object"
      +            },
      +            "latest_oii_record": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "record_date": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "FDA listing date"
      +                    },
      +                    "record_type": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "record_url": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "Official FDA document; cite it"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Newest Form 483 or other OII reading-room record"
      +            },
      +            "near_name_candidates": {
      +              "description": "Present with no_matching_records: name-similarity suggestions, not verified identities",
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {},
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "notable_gaps": {
      +              "description": "This company's caveats from the risk summary; state them with its counts",
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "recalls": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "most_recent_date": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "unique_count": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "unique_count"
      +              ],
      +              "type": "object"
      +            },
      +            "scope_note": {
      +              "description": "Present when the input rolled up to a parent family it does not name; say this to the user",
      +              "type": "string"
      +            },
      +            "status": {
      +              "description": "resolved; no_matching_records when nothing matched the name (zeros, check near_name_candidates); not_resolved when the name could not be read (no counts)",
      +              "type": "string"
      +            },
      +            "warning_letters": {
      +              "additionalProperties": {},
      +              "description": "Warning letters, including older ones from FDA compliance actions",
      +              "properties": {
      +                "count": {
      +                  "description": "Warning letters, including older ones from FDA compliance actions",
      +                  "type": "number"
      +                },
      +                "most_recent_date": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "count"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "input_company",
      +            "status",
      +            "company_id"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "comparison_note": {
      +        "description": "How to read the rows; counts grow with company size",
      +        "type": "string"
      +      },
      +      "freshness_summary": {
      +        "additionalProperties": {},
      +        "description": "Dataset freshness; state it in answers",
      +        "properties": {
      +          "covered_dataset_count": {
      +            "type": "number"
      +          },
      +          "expected_dataset_count": {
      +            "type": "number"
      +          },
      +          "freshest_as_of_date": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "missing_dataset_ids": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "newest_as_of_date": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "older_datasets": {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "as_of_date": {
      +                  "type": "string"
      +                },
      +                "dataset_id": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "dataset_id",
      +                "as_of_date"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "oldest_as_of_date": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "stalest_as_of_date": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "covered_dataset_count",
      +          "expected_dataset_count",
      +          "older_datasets",
      +          "missing_dataset_ids"
      +        ],
      +        "type": "object"
      +      },
      +      "newest_as_of": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Newest source date (default compact freshness)"
      +      },
      +      "no_records_note": {
      +        "type": "string"
      +      },
      +      "notable_gaps": {
      +        "description": "Caveats shared by every company (freshness, period), plus matching limits and unresolved names; state them",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "notices": {
      +        "description": "Account notices about this key, such as a low balance; show them to the user",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "period": {
      +        "additionalProperties": {},
      +        "description": "Which dates the counts, recent records and signals cover (date_from/date_to inputs); all time unless set",
      +        "properties": {
      +          "date_from": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "First day counted (YYYY-MM-DD), or null"
      +          },
      +          "date_to": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Last day counted (YYYY-MM-DD), or null"
      +          },
      +          "label": {
      +            "description": "The period in words, e.g. All time or Since 2022-01-01; state it with the counts",
      +            "type": "string"
      +          },
      +          "note": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "date_from",
      +          "date_to",
      +          "label",
      +          "note"
      +        ],
      +        "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"
      +      }
      +    },
      +    "required": [
      +      "companies_compared",
      +      "comparison_note",
      +      "comparison",
      +      "notable_gaps",
      +      "no_records_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"
      +  }
      +]
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the description only needs to add context — and it does: one row per company, most-recent-date per record type, highest-severity signals, dataset freshness, an explicit consistency guarantee with fda_manufacturing_risk_summary, and the important caveat that no matching records does not establish safety. That last point is a genuine interpretive warning an agent would not get from annotations or the output schema.

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 core action and scope in the first sentence, followed by return contents, then the sibling routing and caveats. The long enumeration of record types is dense and partly overlaps the output schema, but it earns its place by signalling coverage breadth for tool selection.

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 3-parameter, read-only comparison tool with a full output schema, everything an agent needs is present: multi-company constraint, period semantics, cross-tool count parity, and the negative-result caveat. Nothing required to call it correctly is missing.

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. The description goes beyond it by explaining that counts cover all dates unless date_from/date_to set a period, and that period.label reports which mode applied — a semantic the schema does not state. It adds little on the companies array itself, which the schema already documents.

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 with explicit scope: compare 2 to 5 companies' FDA manufacturing and compliance records side by side in one call. It enumerates the covered record types (facilities, inspection classifications, warning letters, Form 483/OII, import alerts, refusals, debarments, recalls), which lets an agent distinguish it from siblings like fda_company_full or fda_compliance_actions without opening a schema.

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?

Explicitly names the alternative and the condition that selects it: 'use that tool [fda_manufacturing_risk_summary] for one company's records,' paired with the cardinality constraint (2 to 5) that makes this the multi-company path. It also clarifies the period behavior, so the agent knows when date filters change the result set.

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.