Skip to main content
Glama

get_public_inspection

Read-only

Get current public inspection documents (pre-publication).

Public inspection documents are FR documents filed for publication but
not yet published. Updated business days only.

The current-PI endpoint does NOT support server-side filtering. This
tool fetches all current PI documents and filters client-side by
agency and/or keyword in the title.

Useful for getting early notice of upcoming regulatory actions.

Parameters:
- agency_filter: case-insensitive substring match against agency slugs,
  names, and short names. Sub-agencies are included: PI documents list
  only the FILING sub-agency, so the filter is also matched against the
  Federal Register agency list and every agency below a matching one
  counts ('defense-department' or 'DOD' also returns Army, Navy, Air
  Force, Corps of Engineers and Defense Logistics Agency filings).
  filters_applied.includes_sub_agencies says whether that worked.
- keyword_filter: substring match against document titles
- limit: max documents returned after filtering (default 50, max 500).
  Unfiltered dumps can exceed 170KB; narrow with filters or raise the cap.

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": "get_public_inspection"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
agency_filterNo
keyword_filterNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations: it discloses the business-day-only update cadence, the absence of server-side filtering, the sub-agency expansion behavior for PI filings, and that unfiltered responses can exceed 170KB. It even names the response field (filters_applied.includes_sub_agencies) that confirms filtering behavior.

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 purpose and update cadence, then a structured parameter list; nearly every sentence earns its place. The agency_filter explanation is long but justified by the non-obvious sub-agency behavior; minor tightening is possible in the pre-publication definition.

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 three-optional-parameter read tool with an output schema present, the description covers purpose, filtering mechanics, size caveats, and the confirming response field. Nothing an agent needs to invoke it or interpret its filtering correctly is missing.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden and does: agency_filter is a case-insensitive substring match against slugs/names/short names with sub-agency expansion explained and a worked example ('defense-department' or 'DOD' returns Army, Navy, etc.), keyword_filter is a title substring match, and limit is bounded (default 50, max 500) with a payload-size rationale.

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 ("Get current public inspection documents") and immediately defines the resource as pre-publication FR documents, which separates it from search_documents and get_document. The scope note that the endpoint returns only unpublished, business-day-updated filings makes the boundary unambiguous.

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 a concrete use case ("early notice of upcoming regulatory actions") and explains that filtering must be done client-side because the endpoint lacks server-side filtering, which implicitly tells the agent to prefer this tool's filters over post-processing. It does not explicitly contrast with search_documents for already-published content, so the alternative routing is left implicit.

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.