Skip to main content
Glama

Federal Register Search Documents

federal_register_search_documents
Read-onlyIdempotent

Search the US Federal Register by topic / keyword for proposed rules, final rules, notices, and presidential documents. Use this whenever the question mentions a SUBJECT ("EV tax credits", "AI export controls", "PFAS regulations", "clean energy", "ozempic labeling", etc.), recent_rules takes no topic filter and would return random unrelated rules. For a STRUCTURED count/list ("how many executive orders in 2026", "list 2026 proclamations"), pass type:"presidential_document" plus presidential_document_type rather than relying on free-text query, a free-text search for "executive order" also matches documents that merely MENTION one, over- or under-counting the real set. To find or confirm ONE specific executive order by its number, pass executive_order_number instead, it scopes and filters for you, no type/presidential_document_type needed. Returns title, abstract, agency, publication date, links, and for presidential documents also executive_order_number, signing_date, and citation. The response always echoes filters_applied: a genuine zero still says exactly what was searched, so it is never a bare empty result. Examples: search_documents({query: "EV tax credit", type: "rule"}), search_documents({type: "presidential_document", presidential_document_type: "executive_order", since: "2026-01-01"}), search_documents({executive_order_number: "14435"}), search_documents({query: "Strait of Hormuz", since: "365d"}). Pass since to constrain to recent documents, without it the relevance ranker can return decade-old docs for sparse-term queries.

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": {
      "query": "clean energy tax credit"
    },
    "name": "federal_register_search_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoDocument type filter: "rule", "proposed_rule", "notice", "presidential_document", mapped internally to the Federal Register API's own codes (RULE/PRORULE/NOTICE/PRESDOCU); an unrecognized value is refused rather than silently matching nothing.
queryNoSearch keywords (e.g., "clean energy tax credit"). Optional if type/agency/since/presidential_document_type/executive_order_number already scope the search, forcing a free-text term onto a structured count/list question (e.g. "executive order") distorts it, since the term index matches MENTIONS of a thing as well as the thing itself.
sinceNoPublication date floor. Accepts ISO date ("2025-01-01") or shorthand ("30d", "12m", "365d", "1y"). Recommended for any topical search to avoid stale results, the relevance ranker can surface 2004-2008 documents for queries with sparse hits.
agencyNoAgency slug filter (e.g., "environmental-protection-agency", "securities-and-exchange-commission")
executive_order_numberNoLook up ONE executive order by its number, e.g. "14435" or "EO 14435", automatically scopes to type:"presidential_document" + presidential_document_type:"executive_order" and filters the result to an exact number match, so neither needs to be passed separately. Conflicts with an explicit type/presidential_document_type that names something other than presidential documents / executive orders.
presidential_document_typeNoOnly with type:"presidential_document", narrows to one sub-type: "executive_order", "proclamation", "memorandum", "determination", "notice", or "other". This is the STRUCTURED way to count/list executive orders etc.; prefer it over a free-text query for "how many X" questions.

Output Schema

NameRequiredDescriptionDefault
queryYesThe search query string
totalYesTotal count of matching documents
returnedYesNumber of documents returned in this response
documentsYesArray of formatted Federal Register documents

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / executive_order_number / description
      Previous value: -"Look up ONE executive order by its number, e.g. \"14435\" or \"EO 14435\" — automatically scopes to type:\"presidential_document\" + presidential_document_type:\"executive_order\" and filters the result to an exact number match, so neither needs to be passed separately. Conflicts with an explicit type/presidential_document_type that names something other than presidential documents / executive orders."New value: +"Look up ONE executive order by its number, e.g. \"14435\" or \"EO 14435\", automatically scopes to type:\"presidential_document\" + presidential_document_type:\"executive_order\" and filters the result to an exact number match, so neither needs to be passed separately. Conflicts with an explicit type/presidential_document_type that names something other than presidential documents / executive orders."
    • changedInput schema / properties / presidential_document_type / description
      Previous value: -"Only with type:\"presidential_document\" — narrows to one sub-type: \"executive_order\", \"proclamation\", \"memorandum\", \"determination\", \"notice\", or \"other\". This is the STRUCTURED way to count/list executive orders etc.; prefer it over a free-text query for \"how many X\" questions."New value: +"Only with type:\"presidential_document\", narrows to one sub-type: \"executive_order\", \"proclamation\", \"memorandum\", \"determination\", \"notice\", or \"other\". This is the STRUCTURED way to count/list executive orders etc.; prefer it over a free-text query for \"how many X\" questions."
    • changedInput schema / properties / query / description
      Previous value: -"Search keywords (e.g., \"clean energy tax credit\"). Optional if type/agency/since/presidential_document_type/executive_order_number already scope the search — forcing a free-text term onto a structured count/list question (e.g. \"executive order\") distorts it, since the term index matches MENTIONS of a thing as well as the thing itself."New value: +"Search keywords (e.g., \"clean energy tax credit\"). Optional if type/agency/since/presidential_document_type/executive_order_number already scope the search, forcing a free-text term onto a structured count/list question (e.g. \"executive order\") distorts it, since the term index matches MENTIONS of a thing as well as the thing itself."
    • changedInput schema / properties / since / description
      Previous value: -"Publication date floor. Accepts ISO date (\"2025-01-01\") or shorthand (\"30d\", \"12m\", \"365d\", \"1y\"). Recommended for any topical search to avoid stale results — the relevance ranker can surface 2004-2008 documents for queries with sparse hits."New value: +"Publication date floor. Accepts ISO date (\"2025-01-01\") or shorthand (\"30d\", \"12m\", \"365d\", \"1y\"). Recommended for any topical search to avoid stale results, the relevance ranker can surface 2004-2008 documents for queries with sparse hits."
    • changedInput schema / properties / type / description
      Previous value: -"Document type filter: \"rule\", \"proposed_rule\", \"notice\", \"presidential_document\" — mapped internally to the Federal Register API's own codes (RULE/PRORULE/NOTICE/PRESDOCU); an unrecognized value is refused rather than silently matching nothing."New value: +"Document type filter: \"rule\", \"proposed_rule\", \"notice\", \"presidential_document\", mapped internally to the Federal Register API's own codes (RULE/PRORULE/NOTICE/PRESDOCU); an unrecognized value is refused rather than silently matching nothing."
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description rightly spends its words elsewhere: it warns that the relevance ranker can surface decade-old documents for sparse-term queries without `since`, and that responses always echo filters_applied rather than returning a bare empty result. Minor redundancy describing returned fields, which the output schema already carries.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded correctly with the purpose and the routing signal, but the MENTION-vs-the-thing caveat is stated twice in the description and again in the schema's `query` description, and the inline examples mirror the schema's examples array. Tightening would remove roughly a third without losing meaning.

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 six-parameter, zero-required search tool, the description covers the failure modes an agent would otherwise hit: stale results without a date floor, distorted counts from free-text on structured questions, and the auto-scoping behavior of executive_order_number. Nothing needed to call it correctly is missing.

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 the baseline is 3; the description earns the extra point by adding decision-level semantics the schema only implies — that executive_order_number auto-scopes type and sub-type so neither should be passed, that free-text "executive order" over- or under-counts, and that `since` accepts shorthand like "365d". Some of this duplicates the schema text almost verbatim.

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 the US Federal Register") plus the document classes it covers, and immediately contrasts itself with the sibling tool: "recent_rules takes no topic filter and would return random unrelated rules." An agent can distinguish this from recent_rules and federal_register_get_document without opening any schema.

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?

Gives explicit routing rules for three distinct situations: topical questions use free-text query, structured count/list questions use type:"presidential_document" plus presidential_document_type, and single-EO lookups use executive_order_number. It also names the alternative (recent_rules) and the condition under which it is wrong.

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.