Skip to main content
Glama
amurshak

CongressMCP-full

Get Member Sponsored Legislation - Bills and resolutions sponsored by a member

get_member_sponsored_legislation

Retrieve legislation sponsored by Congress members using bioguide identifiers. Access bills and resolutions to track representative priorities, analyze legislative patterns, and monitor lawmaker activity.

Instructions

Get legislation sponsored by a specific member of Congress.

Args:
    ctx: Context for API requests
    bioguide_id: Unique bioguide identifier for the member
    limit: Maximum number of sponsored bills to return

Returns:
    List of bills and resolutions sponsored by the member

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bioguide_idYes
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. It discloses the return value ('List of bills and resolutions') and the limiting behavior, but lacks information on rate limits, error conditions for invalid bioguide_ids, or whether results include historical or current Congress only.

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?

Uses standard Args/Returns docstring format which is structured and scannable. The inclusion of 'ctx' (not in schema) slightly wastes space, but overall information density is good with clear section headers.

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 2-parameter lookup tool with an output schema, the description adequately covers the basics. However, given the existence of closely related sibling tools and the specialized domain (Congressional bioguide IDs), it should explain how this differs from cosponsored legislation and hint at how to obtain the required identifier.

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?

The schema has 0% description coverage, so the description compensates by documenting both 'bioguide_id' (as 'Unique bioguide identifier') and 'limit' (as 'Maximum number of sponsored bills'). However, it mentions 'ctx' which is not in the input schema, and doesn't specify format constraints or valid ranges for the parameters.

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 'legislation sponsored by a specific member of Congress,' providing a specific verb and resource. However, it fails to distinguish from the sibling tool 'get_member_cosponsored_legislation,' which is a critical distinction in legislative data.

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?

No guidance is provided on when to use this tool versus 'get_member_cosponsored_legislation' or other member lookup tools. There is no mention of prerequisites (e.g., obtaining a bioguide_id from 'get_member_details' or 'search_members' first).

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