Skip to main content
Glama
amurshak

CongressMCP-full

Get Committee Bills - Bills referred to or reported by a specific committee

get_committee_bills

Retrieve bills referred to or reported by congressional committees using official committee codes. Access Congress.gov data to track legislative assignments and committee workflow.

Instructions

Get bills referred to or reported by a specific committee.

Args:
    ctx: Context for API requests
    committee_code: Official committee code (e.g., 'HSJU', 'SSJU')
    limit: Maximum number of bills to return

Returns:
    List of bills associated with the committee

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
committee_codeYes
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successYesWhether the operation was successful
operationYesThe operation that was performed
results_countYesNumber of results returned
membersNoMember results
committeesNoCommittee results
summaryYesHuman-readable summary of the results
contextYesContext about the search or operation performed
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clarifies the relationship scope ('referred to or reported by') but fails to address safety characteristics (read-only vs. destructive), error handling for invalid committee codes, pagination behavior beyond the 'limit' parameter, or data freshness.

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 Args/Returns structure is clear and front-loaded with the core purpose. It efficiently documents parameters without excessive verbosity. However, mentioning 'ctx' (an internal context parameter) adds noise that AI agents typically don't need to see.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with an output schema available, the description is minimally adequate. It covers the basic parameters but lacks contextual nuances such as whether 'referred to' and 'reported by' are inclusive filters, the time range of returned bills, or how to handle committees with no bills.

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?

Given 0% schema description coverage, the description effectively compensates by documenting both user-facing parameters: it provides concrete examples for committee_code ('HSJU', 'SSJU') and clarifies that limit controls the maximum bills returned. It loses one point for including 'ctx' (likely internal plumbing) and lacking format constraints (e.g., regex for committee codes).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves bills 'referred to or reported by a specific committee,' providing a specific verb and resource. However, it lacks explicit differentiation from sibling tools like 'bills' or 'search_committees' that could also retrieve bill information.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as the generic 'bills' tool or 'search_committees.' It omits prerequisites (e.g., needing a valid committee_code) and does not specify if this covers current congress only or historical data.

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/amurshak/congressMCP'

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