Skip to main content
Glama
cyntrica

Gov Data MCP

by cyntrica

govinfo_bill_text

Read-only

Retrieve the full legislative text of a U.S. bill from GovInfo, including exact language, section numbers, dollar amounts, and legal citations. Use when you need precise bill provisions rather than summaries.

Instructions

Get the FULL legislative text of a bill from GovInfo — the actual law language with section numbers, dollar amounts, legal citations, and provisions.

IMPORTANT: Try congress_bill_summaries first for a quick CRS summary (~500-2000 chars). Only use this tool when the user needs exact legislative language, specific provisions, or dollar amounts from the bill text.

Use preview_only=true first to check bill size before loading. Bills range from 5k chars (simple resolutions) to 500k+ (omnibus/appropriations). Default limit is 100k chars.

Version suffixes: enr (enrolled/signed), eh (engrossed House), es (engrossed Senate), ih (introduced House), is (introduced Senate)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoBill version: 'enr' (enrolled/signed, default), 'eh' (engrossed House), 'es' (engrossed Senate), 'ih' (introduced House), 'is' (introduced Senate)
congressYesCongress number (e.g., 119, 118, 117)
bill_typeYesBill type
max_lengthNoMaximum characters to return (default: 100000). Most bills fit within 100k. Set higher (e.g. 500000) for large omnibus bills, or 0 for no limit.
bill_numberYesBill number (e.g., 1, 5376)
preview_onlyNoWhen true, returns only metadata (title, pages, character count, estimated tokens) WITHOUT the actual text. Use this to check bill size before loading. Default: false.
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered. The description adds substantial behavioral context: bill size ranges (5k to 500k+ chars), default max_length of 100k, preview_only behavior (returns metadata only), and version suffix meanings. This goes beyond annotations without contradicting them.

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?

Well-structured with a clear lead sentence, an IMPORTANT usage note, and a concise bullet-like list of version suffixes. Every sentence adds useful information; no filler or repetition. The length is justified by the tool's complexity.

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?

No output schema exists, but the description covers what is returned (full text or metadata with preview_only), character limits, version options, and the relationship to sibling tools. The tool has 6 parameters and the description addresses them all through a combination of text and schema.

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 parameters are already documented. The description adds value by explaining version suffix semantics in text (e.g., 'enr' = enrolled/signed), and elaborating max_length usage ('Most bills fit within 100k... Set higher for omnibus bills'). This enriches the bare schema definitions without redundancy.

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 states the tool retrieves the full legislative text of a bill from GovInfo, specifying the content type ('actual law language with section numbers, dollar amounts, legal citations, and provisions'). This is a specific verb+resource and clearly distinguishes it from congress_bill_summaries, which the description explicitly contrasts.

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?

Provides explicit guidance: try congress_bill_summaries first for quick CRS summaries, and use this tool only when exact language, provisions, or dollar amounts are needed. Additionally recommends preview_only=true first to check bill size. This is clear when-to-use and alternative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyntrica/gov-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server