Skip to main content
Glama

Aphis Inspection Reports

aphis_inspection_reports
Read-onlyIdempotent

Search USDA APHIS Animal Care inspection reports, the inspections behind Animal Welfare Act enforcement. Answers "inspection reports for USDA dog breeders in Missouri", "which breeders had critical violations", "show me inspections citing 3.1(a) housing", "inspection history for certificate 43-A-6814". Each report carries the inspection date, the licensee and facility location, counts of critical / direct / non-critical violations and teachable moments, and report_pdf_url, a direct link to the official signed inspection report. Sourced from the USDA APHIS eFile Public Search Tool. Filter by animal_category (e.g. "DOGS") or by the specific regulation cited; there is no date filter upstream, so narrow by inspection_date on the returned rows.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 3,
      "certificate_number": "43-A-6814"
    },
    "name": "aphis_inspection_reports"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoFacility ZIP code.
cityNoFacility city.
nameNoCustomer / organization name, partial match.
pageNo0-based page number (default 0). page * limit must stay <= 2000, an upstream hard cap.
limitNoRows per page (1-100, default 20).
stateNoState name or two-letter code, e.g. "Missouri" or "MO".
citationNoRestrict to inspections citing this AWA regulation section, e.g. "3.1(a)" or "3.1(a) - Housing facilities, general". 2,165 section codes exist, call aphis_inspection_filter_options with a query to find the right one.
license_typeNoLicence class of the inspected facility, e.g. "BREEDER", "EXHIBITOR", "DEALER", "RESEARCH FACILITY".
animal_categoryNoRestrict to inspections covering this animal category, e.g. "DOGS", "CATS", "NONHUMAN PRIMATES", "MARINE MAMMALS". Call aphis_inspection_filter_options for all 34.
customer_numberNoAPHIS customer number.
certificate_numberNoExact certificate number, e.g. "43-A-6814", the inspection history for one licensee.
teachable_moments_onlyNoOnly inspections that recorded a teachable moment (an issue corrected on the spot rather than cited). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / certificate_number / description
      Previous value: -"Exact certificate number, e.g. \"43-A-6814\" — the inspection history for one licensee."New value: +"Exact certificate number, e.g. \"43-A-6814\", the inspection history for one licensee."
    • changedInput schema / properties / citation / description
      Previous value: -"Restrict to inspections citing this AWA regulation section, e.g. \"3.1(a)\" or \"3.1(a) - Housing facilities, general\". 2,165 section codes exist — call aphis_inspection_filter_options with a query to find the right one."New value: +"Restrict to inspections citing this AWA regulation section, e.g. \"3.1(a)\" or \"3.1(a) - Housing facilities, general\". 2,165 section codes exist, call aphis_inspection_filter_options with a query to find the right one."
    • changedInput schema / properties / page / description
      Previous value: -"0-based page number (default 0). page * limit must stay <= 2000 — an upstream hard cap."New value: +"0-based page number (default 0). page * limit must stay <= 2000, an upstream hard cap."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, openWorld, and non-destructive behavior. The description adds useful context beyond annotations: the USDA APHIS eFile source, report contents including report_pdf_url, and the important upstream limitation that date narrowing must happen on returned rows.

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 front-loaded with the core purpose, then uses example queries and a compact list of return fields. Every sentence contributes either selection guidance, result context, or an operational caveat.

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 12-parameter search tool with no output schema, the description explains the source, the key return fields including PDF links, and an important upstream filtering limitation. Combined with the fully documented input schema and annotations, this is sufficient to call the tool correctly.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and includes examples, so parameter documentation is already strong. The description reinforces animal_category and citation filtering and explains the absence of a date filter, but it does not add much syntax or semantics beyond 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 states a specific verb and resource: search USDA APHIS Animal Care inspection reports. It immediately distinguishes the resource from generic licensee search by naming the reports, enforcement context, and report-level fields.

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?

It gives concrete example questions and clarifies that filtering should use animal_category or the cited regulation, with no upstream date filter. It does not explicitly compare against sibling tools such as aphis_licensee_search, but the intended usage context is clear.

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.