Skip to main content
Glama
amurshak

CongressMCP-full

Search Members of Congress - Find representatives and senators by criteria

search_members

Search for U.S. legislators by name, state, party, chamber, or active status. Access structured member profiles and biographical data from the Congress.gov API.

Instructions

Search for members of Congress by various criteria.

Args:
    ctx: Context for API requests
    name: Member name to search for (partial matches supported)
    state: State code (e.g., 'CA', 'NY', 'TX')
    party: Political party ('D', 'R', 'I')
    chamber: Chamber ('House' or 'Senate')
    current_member: Whether to only show current members (True/False)
    limit: Maximum number of results to return

Returns:
    Structured response with member information and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
stateNo
partyNo
chamberNo
current_memberNo
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 adds valuable behavioral context noting 'partial matches supported' for names, but omits safety classification (read-only vs destructive), rate limiting, or behavior when called with no filters (all parameters are optional).

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 structured Args/Returns format that is scannable. The opening sentence 'Search for members of Congress by various criteria' is slightly redundant with the tool name but acceptable. Each parameter description is concise and purposeful.

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?

Given the output schema exists, the minimal return value description ('Structured response with member information') is acceptable. However, with 6 optional parameters, the description should clarify whether the tool returns all members when no filters are applied or if certain combinations are required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Excellent compensation for 0% schema description coverage. The Args section provides critical semantics: examples for state codes ('CA', 'NY', 'TX'), enum constraints for party ('D', 'R', 'I') and chamber ('House' or 'Senate'), and clarifies partial matching for names. Fully documents all 6 parameters beyond the schema's empty descriptions.

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 searches for members of Congress and supports various criteria. However, it fails to differentiate from sibling tools like 'get_members_by_state' or 'get_member_details', leaving ambiguity about which member-retrieval tool to use.

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 provided on when to use this broad search tool versus specific alternatives like 'get_members_by_state' or 'get_member_details'. No prerequisites or exclusions mentioned.

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