Skip to main content
Glama

Congressional Documents

Search Congressional Documents

search_congressional_documents
Read-onlyIdempotent

Search the full text of official U.S. congressional documents, hearing transcripts, committee reports, committee prints, House/Senate documents, and the Congressional Record. Use for "what was said in the congressional hearing about X", "the committee report on Y", "congressional testimony on Z", "what did Congress publish about ...". Returns matching documents with their official citation, date, congress number and a govinfo.gov link; pass the returned ids to get_congressional_document_text to read the actual wording. Searches PUBLISHED documents only, a hearing transcript appears months after the hearing. Note that a person named in a document is not thereby accused of anything.

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": "opioid settlement"
    },
    "name": "search_congressional_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoResults to return (default 10, max 50)
queryYesFree-text search over document full text, e.g. "opioid settlement" or "FTX collapse"
_apiKeyNodata.gov API key (free at api.data.gov/signup)
date_toNoLatest publication date, YYYY-MM-DD
congressNoCongress number, e.g. 118 for 2023-2024
doc_typeNoWhich record to search: "hearings" (transcripts), "reports" (committee reports), "prints", "documents" (House/Senate documents), "record" (Congressional Record), or "all" (default).
date_fromNoEarliest publication date, YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description still adds real value beyond them: the publication-lag caveat, the shape of the returned metadata (citation, date, congress number, govinfo.gov link), and the ids-for-follow-up contract. It does not discuss pagination or result ordering, which keeps it at a solid 3 rather than higher.

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 and resource, then usage phrasings, then return contract, then caveats — a sensible ordering with no filler. The closing sentence about a named person not being accused is tangential to tool selection, though it functions as a useful guardrail against over-reading results.

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?

With no output schema, the description carries the return-value burden and does so: it names the fields returned and explains how to chain into the text-retrieval sibling. Combined with the published-only caveat, an agent has everything needed to call this correctly and interpret results.

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 description coverage is 100%, so every parameter including doc_type's enumerated values and limit's default/max is already documented in the schema. The description adds no syntax, format, or interaction detail beyond that, so the baseline 3 applies.

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 (search) and resource (full text of U.S. congressional documents), then enumerates the covered corpora: hearings, reports, prints, House/Senate documents, Congressional Record. It also distinguishes itself from the sibling get_congressional_document_text by framing this tool as the finder and that one as the reader.

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 concrete natural-language query patterns the agent can match against user phrasing ("what was said in the hearing about X", "the committee report on Y"), and explicitly routes follow-up reading to get_congressional_document_text via returned ids. It also sets a usage boundary: published documents only, with hearings appearing months later.

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.