Skip to main content
Glama

Congressional Documents

Get Congressional Document Text

get_congressional_document_text
Read-onlyIdempotent

Read the actual text of a congressional document — the full transcript, report or Congressional Record entry — so an answer can quote the source instead of paraphrasing from memory. Pass the package_id (and granule_id where the search returned one) from search_congressional_documents. Returns the document text, its official citation, the page range where the source prints one, and the govinfo.gov URL. Hearing transcripts run to hundreds of pages, so text is truncated by default — raise max_chars or use the offset to page through it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offsetNoCharacter offset to start from, for paging long transcripts
_apiKeyNodata.gov API key (free at api.data.gov/signup)
max_charsNoCharacters of text to return (default 20000, max 200000)
granule_idNoOptional granule id for one item within a package, e.g. "CREC-2025-09-10-pt1-PgS6557-4"
package_idYesGovInfo package id, e.g. "CHRG-116shrg42133" or "CREC-2025-09-10"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The description adds behavioral details beyond annotations: truncation default, paging via offset, and return fields (citation, page range, URL). It doesn't contradict the read-only/idempotent hints and gives useful context about long transcripts.

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

Conciseness5/5

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

Four sentences with each serving a purpose: purpose, usage, return values, truncation caveat. No wasted words, well-front-loaded.

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?

For a tool with five parameters and no output schema, the description adequately lists what is returned and how to handle large outputs. It might miss error handling or format details, but it's largely complete.

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 covers 100% of parameters, but the description enriches understanding by linking package_id/granule_id to search results and explaining why max_chars and offset matter for long hearings. This adds value beyond the schema's basic descriptions.

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 clearly states the tool reads full text of congressional documents, distinguishes it from search_congressional_documents by focusing on retrieval for quoting, and lists return components. The verb 'Read' and resource 'congressional document' are specific and 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?

It instructs to pass package_id and optionally granule_id from search_congressional_documents, establishing the workflow. It also explains how to handle truncation for long transcripts, providing practical usage guidance. It doesn't explicitly mention when not to use, but the context is clear.

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.