Skip to main content
Glama

federal-regulations-mcp-server

regulations_find_comments

regulations_find_comments
Read-only

Fetch public comments on a Federal Register document or a Regulations.gov docket — the unique corpus of what citizens and organizations actually submitted. Provide exactly one targeting parameter: docket_id (all comments in a docket, broadest), document_object_id (comments on one document, from regulations_get_docket), fr_document_number (convenience — resolves the FR number to its Regulations.gov document internally), or comment_id (one comment's full detail and attachments). The list endpoint returns no body text or attachment info — call with comment_id to read a comment's body. When a comment's real content is a PDF/DOCX attachment, the body is a stub and attachmentOnly is true; the attachment download URLs are returned. Requires REGULATIONS_GOV_API_KEY (free at https://api.data.gov/signup/).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-based). Regulations.gov caps a query at 20 pages (5,000 records); for a high-volume docket this surfaces a sample — narrow by document_object_id.
per_pageNoComments per page (5–250, default 25). Regulations.gov requires a minimum page size of 5.
docket_idNoFetch all comments in a docket by docket ID (e.g. "EPA-HQ-OAR-2025-0194"). Broadest scope. Exactly one of docket_id / document_object_id / fr_document_number / comment_id is required — supplying two is rejected, not resolved by precedence.
comment_idNoFetch one comment's full detail and attachments by its Regulations.gov comment ID (e.g. "EPA-HQ-OAR-2025-0194-31102"). Use to read a single comment's body after finding it in a list. Mutually exclusive with the other three targeting parameters — pass it alone, not alongside the docket it came from.
document_object_idNoFetch comments on one specific document by its Regulations.gov object ID (the objectId from regulations_get_docket's documents). Comments usually attach to the docket's primary (proposed-rule) document. Mutually exclusive with the other three targeting parameters.
fr_document_numberNoConvenience: fetch comments for a Federal Register document by its FR number (e.g. "2025-14555"). Resolves to the Regulations.gov document internally. Saves a get_document → get_docket hop. Mutually exclusive with the other three targeting parameters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoWhich mode produced this result.
errorNoPresent when the call failed. Absent on success.
shownNoComments returned on this page (list mode).
titleNoComment title (detail mode).
noticeNoGuidance — empty results, or that bodies need comment_id detail mode.
targetNoWhat was queried — docket / document / FR doc (list mode).
bodyTextNoComment body, HTML-stripped. A stub ("See Attached") when content is in attachments; null when empty (detail mode).
commentsNoComments matching the target, this page (list mode). Bodies/attachments require comment_id detail mode.
docketIdNoDocket ID, or null (detail mode).
commentIdNoComment ID (detail mode).
truncatedNoTrue when comments exceed the 5,000-record ceiling (list mode).
withdrawnNoTrue when the comment was withdrawn (detail mode).
postedDateNoPosted date (detail mode).
totalCountNoTotal comments matching the target (list mode).
attachmentsNoAttachment files — substance lives here when attachmentOnly is true (detail mode).
organizationNoSubmitter organization, or null (detail mode).
receivedDateNoReceived date, or null (detail mode).
submitterNameNoSubmitter name when public, or null (detail mode).
attachmentOnlyNoTrue when attachments exist and the body is a stub/empty — the substance is in the attachment files (detail mode).
restrictReasonNoReason the comment is restricted, or null (detail mode).
commentOnDocumentIdNoDocument the comment was filed on, or null (detail mode).

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only provide readOnlyHint and openWorldHint, leaving behavioral details to the description. The description discloses that the list endpoint omits body text and attachment info, that comment_id retrieves full detail, and that attachment-only comments include a stub with attachmentOnly=true plus download URLs. It also mentions the API key requirement. These are material behaviors beyond the annotations, adding real transparency.

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?

The description is two sentences with a moderate length, front-loading the core purpose before diving into targeting options and behavioral caveats. It is efficient and free of fluff, though it could tighten the listing of parameters, but the structure is clear and each sentence earns its place.

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?

Given the tool complexity (six parameters, four targeting modes, list vs detail behavior), the description covers the main decision points: how to choose a target, the difference between list and comment detail, attachment handling, API key requirement, and pagination hints (though pagination is in schema). The output schema exists (indicated by has_output_schema: true) so return formatting is covered elsewhere; the description fills all gaps not in structured fields.

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?

The input schema already provides 100% coverage with detailed descriptions for each parameter (including mutual exclusivity and examples). The description adds extra context like 'broadest scope' for docket_id, 'convenience' for fr_document_number, and the general rule of exactly one targeting parameter. This enriches the semantics beyond the schema without repeating it verbatim, justifying a score above the baseline of 3.

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 opens with 'Fetch public comments on a Federal Register document or a Regulations.gov docket', clearly stating the verb (Fetch), resource type (comments), and the two scopes (FR document or docket). It also notes the unique corpus, and the differentiation from siblings like regulations_get_docket/regulations_get_document is implicit in the focus on comments. This leaves no ambiguity about what the tool does.

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?

The description explicitly instructs to 'Provide exactly one targeting parameter' and enumerates each option with its context (broadest for docket, per-document for object ID, convenience for FR number, detail for comment_id). It adds exclusion guidance: 'supplying two is rejected, not resolved by precedence' and warns that the list endpoint returns no body, steering users to comment_id for full content. This fully covers when to use which variant and the prerequisite of the API key.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: browsing vs searching, getting specific entities (CFR sections, dockets, documents) vs listing/finding comments. No overlap or ambiguity.

Naming Consistency5/5

All tools follow the consistent 'regulations_<verb>_<object>' pattern (e.g., browse_cfr, get_docket, list_open_comments), making it easy to predict functionality.

Tool Count5/5

Seven tools is well-scoped for a regulations domain, covering discovery (search, browse, list) and retrieval (get, find) without redundancy or bloat.

Completeness5/5

The set covers the core regulatory workflow: searching rules, browsing CFR structure, retrieving specific sections, dockets, documents, and comments. No obvious gaps for read-only access.