Skip to main content
Glama
lzinga

US Government Open Data MCP

congress_search_bills

Read-only

Search U.S. Congressional bills by keyword, congress number, or bill type to find legislation details including title, sponsor, status, and latest actions.

Instructions

Search for bills in Congress by keyword, congress number, or bill type. Returns bill number, title, sponsor, latest action, and status.

Congress numbers: 118th (2023-2024), 119th (2025-2026), 117th (2021-2022). Bill types: hr (House), s (Senate), hjres, sjres, hconres, sconres, hres, sres

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoKeyword/text search across bill titles and summaries (e.g., 'infrastructure', 'tax reform', 'climate')
congressNoCongress number (e.g., 119 for 2025-2026, 118 for 2023-2024). Omit to list bills across all congresses
bill_typeNoBill type
limitNoMax results (default: 20)
offsetNoResults offset for pagination (default: 0)
fromDateTimeNoFilter by update date from this timestamp. Format: YYYY-MM-DDT00:00:00Z
toDateTimeNoFilter by update date to this timestamp. Format: YYYY-MM-DDT00:00:00Z
sortNoSort order. Value can be updateDate+asc or updateDate+desc (default: updateDate+desc)
Behavior3/5

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

Annotations declare readOnlyHint=true, indicating a safe read operation. The description adds useful context about return fields (bill number, title, etc.) and parameter constraints (congress numbers, bill types), which goes beyond annotations. However, it does not mention behavioral aspects like rate limits, authentication needs, or pagination details beyond the offset parameter.

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 appropriately sized with two sentences: one stating the purpose and return fields, and another providing parameter examples. It is front-loaded with key information and avoids unnecessary details, though the parameter examples could be more integrated.

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?

Given the tool's complexity (8 parameters, no output schema), the description is reasonably complete. It covers purpose, return fields, and parameter context, but lacks details on output format or error handling. With annotations covering read-only safety, it provides sufficient context for effective use.

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 the schema fully documents all 8 parameters. The description adds minimal value by listing congress numbers and bill types with examples, but does not provide additional semantics beyond what the schema already covers. Baseline 3 is appropriate given high schema coverage.

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's purpose with specific verbs ('Search for bills') and resources ('in Congress'), and distinguishes it from siblings by focusing on bill search rather than other congressional data like members, committees, or votes. It explicitly mentions search parameters (keyword, congress number, bill type) and return fields.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage through parameter examples (e.g., congress numbers, bill types) but does not explicitly state when to use this tool versus alternatives like 'congress_search_members' or 'congress_summaries_search'. It provides context for parameters but lacks explicit guidance on tool selection.

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/lzinga/us-government-open-data-mcp'

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