Skip to main content
Glama
amurshak

CongressMCP-full

by amurshak

Search Members of Congress - Find representatives and senators by criteria

search_members

Search for members of Congress by various criteria.

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')
    congress: Congress number (e.g., 117)
    current_member: Whether to only show current members (True/False)
    limit: Maximum number of results to return
    district: District number within the state (e.g., 10)

Returns:
    Structured response with member information and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
limitNo
partyNo
stateNo
chamberNo
congressNo
districtNo
current_memberNo

Output Schema

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

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

No annotations are provided and the description does not disclose behavioral traits beyond the basic filtering. It doesn't mention whether partial name matching is case-insensitive, how district filter interacts with state/chamber, pagination behavior, or any API-specific constraints like rate limits or required authentication.

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 structured as an argument list with parameter names and brief descriptions, followed by a returns statement. It's reasonably concise for eight parameters, though the parameter details are shallow (e.g., 'State code' doesn't specify format beyond the example). The structure is clear and front-loaded.

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 an output schema exists and the tool is a straightforward search filter (with all params optional), the description provides enough for basic usage. However, it lacks clarity on required filters (can it run with no filters?), search behavior with multiple filters (AND vs OR), and result ordering. The description is complete for simple cases but incomplete for more nuanced queries.

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?

With 0% schema description coverage, the description lists all parameters and gives examples (state codes, chamber values, party codes). However, it doesn't explain nuances like whether chamber expects exact case, whether congress number requires specific format, or how district is interpreted without state (whether it implies state requirement). The baseline is 3 since schema covers all parameters, but the description adds minimal semantic value beyond the property names.

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 identifies the tool as searching for members of Congress with multiple filter criteria. It distinguishes itself from sibling tools like get_members_by_congress and get_members_by_state by supporting a broad criteria-based search rather than a single fixed lookup.

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 lists all filter parameters but provides no guidance on when to use this tool versus the more specific sibling tools like get_members_by_congress_state_district or get_members_by_state. It does not mention that this is a general search entry point while siblings are targeted lookups.

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