Skip to main content
Glama

RegDataLab – FDA Compliance Data

Search inspection observation summary

fda_inspection_observation_summary
Read-onlyIdempotent

Read aggregate FDA inspection observation summaries by fiscal year, product area or cited requirement. Returns covered counts by cited requirement. Aggregate counts do not establish findings at a specific facility. Requires at least one of keyword, product_area, reference_number, cite_id or fiscal_year; a call with only offset and limit is rejected.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (1-500)
offsetNoResult offset for pagination (0-10000)
cite_idNoFDA citation identifier from the spreadsheet
keywordNoFull-text query across short and long citation descriptions
fiscal_yearNoFiscal year of the spreadsheet
product_areaNoProduct or program area (e.g. Drugs, Devices, Foods)
reference_numberNoRegulatory citation reference number (e.g. 21 CFR 211.192)

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • 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
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": {},
      +      "description": "Tool result including records, provenance, freshness and matching limits when available",
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/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 safety profile is covered. The description's real additions are the aggregate-only scope, the interpretive caveat that counts are not facility findings, and the at-least-one-filter validation rule not expressed in the schema (which lists zero required params). It says nothing about pagination limits or ordering beyond the schema's own bounds.

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?

Three compact sentences: purpose first, then return shape, then the scope caveat, then the hard invocation constraint. No filler; each sentence contributes a distinct fact, though the return-shape sentence slightly overlaps the purpose sentence.

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?

With an output schema present and rich annotations, the description need not explain return format or safety. It covers purpose, aggregate scope, the key caveat, and the required-filter rule, leaving only sibling routing and pagination behavior unaddressed for a 7-parameter search tool.

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 baseline is 3, but the description adds meaning the schema cannot: the five filter parameters form a one-of-many requirement and offset/limit alone will fail. It also frames the params as aggregate grouping dimensions rather than precise lookups, which shapes how an agent builds the query.

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 ('Read aggregate FDA inspection observation summaries') plus the dimensions available (fiscal year, product area, cited requirement) and the return shape ('covered counts by cited requirement'). It implicitly distinguishes itself from facility-level sibling tools via the caveat that counts 'do not establish findings at a specific facility,' but never names an alternative tool outright.

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?

Gives an explicit, actionable precondition: at least one of keyword, product_area, reference_number, cite_id or fiscal_year is required, and an offset/limit-only call is rejected. What's missing is routing guidance against close siblings like fda_inspection_stats or fda_citations, so an agent gets context but no explicit alternative selection rule.

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.