Skip to main content
Glama
amurshak

CongressMCP-full

Get Member by Congress/State/District - Specific representative for a district in a Congress

get_members_by_congress_state_district

Retrieve the member representing a specific congressional district in a given Congress. Query by Congress number, state code, and district number to access official representative data from Congress.gov.

Instructions

Get the member representing a specific congressional district in a specific Congress.

Args:
    ctx: Context for API requests
    congress: Congress number (e.g., 118 for 118th Congress)
    state_code: Two-letter state code (e.g., 'CA', 'TX', 'NY')
    district: Congressional district number within the state

Returns:
    Member who represented the specified district in the specified Congress

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
congressYes
state_codeYes
districtYes

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?

No annotations provided, so description carries full burden. It adds return value semantics ('Member who represented...') and implies read-only lookup, but lacks disclosure on error behavior (e.g., invalid district numbers), rate limits, or whether the member object includes full biographical details or just identifiers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Uses efficient docstring format with Args and Returns sections. Every sentence earns its place: opening line defines purpose, Args section provides examples for all parameters, Returns clarifies the single object response. No redundant or wasted language.

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?

Adequate for a lookup tool with output schema present. Covers all parameters and basic return semantics. Minor gap: does not specify behavior for invalid combinations (e.g., non-existent district numbers) or whether the tool validates that the district existed in that Congress.

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?

With 0% schema description coverage, the description fully compensates by documenting all three parameters with concrete examples (e.g., '118 for 118th Congress', 'CA', 'TX', 'NY') and clarifying constraints (two-letter state code, district number within state) that the schema does not provide.

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?

Description clearly states the tool retrieves 'the member representing a specific congressional district in a specific Congress' with specific verb (Get) and resource (member). The parameter combination (congress+state+district) inherently distinguishes it from siblings like get_members_by_congress (all members) or get_members_by_state (state-wide).

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?

No explicit when-to-use or alternative recommendations provided. While the specific parameter combination implies usage for targeted historical lookups versus bulk retrieval, the description does not explicitly contrast with siblings like get_members_by_district or note that this returns a single member versus lists from other endpoints.

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