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.

Input Schema

TableJSON 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. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds genuinely new operational context: the upstream absence of a date filter, the page*limit<=2000 hard cap, the data source, and the fact that each row carries a signed report_pdf_url. It does not discuss rate limits or auth.

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 verb+resource, then illustrative queries, then behavior and caveats — a sensible order with no filler sentences. The four example queries are slightly list-heavy but each maps to a distinct parameter combination, so they earn their space.

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 no output schema, the description carries the return-shape burden and does so by enumerating date, licensee/location, violation counts, teachable moments, and report_pdf_url. It also names the source system. It omits anything about result ordering or how to page past the 2000-row cap, which is the main remaining gap.

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 description coverage is 100%, so 3 is the floor; the description pushes past it by explaining the upstream limitation that inspection_date is NOT a filter and must be applied to returned rows, and by routing citation/animal_category lookups to aphis_inspection_filter_options. That is meaning the schema alone does not convey.

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?

Opens with a specific verb+resource ('Search USDA APHIS Animal Care inspection reports') and immediately scopes it ('the inspections behind Animal Welfare Act enforcement'). The four sample questions make the retrieval target concrete and distinguish it from aphis_licensee_search and aphis_inspection_filter_options without opening either 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?

Supplies four realistic query shapes and states the supported narrowing dimensions (animal_category, cited regulation, certificate). It also flags the missing date axis and tells the agent how to work around it. It stops short of explicitly saying when to prefer aphis_licensee_search or aphis_inspection_filter_options instead.

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.