Skip to main content
Glama

get_member_profile

Read-only

Current members of Congress from the unitedstates/congress-legislators catalog, one row per member keyed by bioguide_id: party, state, district, terms, committees. Filters combine; sorted by full_name. photo_url is KeyVex's metered portrait endpoint. Codes and fields: keyvex.com/docs/tools/get_member_profile

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_member_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50.
partyNoExact match: 'Democrat', 'Republican', 'Independent'.
stateNo2-letter code.
chamberNo
bioguide_idNoe.g. 'C001035'.
member_nameNoCase-insensitive substring of full_name.
committee_idNoThomas code, e.g. 'HSAS' or 'HSAG15'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / bioguide_id / description
      Previous value: -"Permanent member identifier — letter + 6 digits (e.g., 'C001035' for Susan Collins, 'P000197' for Nancy Pelosi). Direct doc lookup, fastest path."New value: +"e.g. 'C001035'."
    • removedInput schema / properties / chamber / description
      Removed value: -"Filter to House Representatives or Senators."
    • changedInput schema / properties / committee_id / description
      Previous value: -"Thomas committee code (full committee like 'HSAS' or subcommittee like 'HSAG15'). Returns all members of that committee."New value: +"Thomas code, e.g. 'HSAS' or 'HSAG15'."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum records to return. Default 50, max 600 (~current Congress size)."New value: +"Default 50."
    • changedInput schema / properties / member_name / description
      Previous value: -"Case-insensitive substring against full_name. Example: 'Pelosi' returns Nancy Pelosi."New value: +"Case-insensitive substring of full_name."
    • changedInput schema / properties / party / description
      Previous value: -"'Democrat' | 'Republican' | 'Independent' | etc. Exact match — uses the YAML's spelling."New value: +"Exact match: 'Democrat', 'Republican', 'Independent'."
    • changedInput schema / properties / state / description
      Previous value: -"2-letter state abbreviation (e.g., 'ME', 'CA'). Filters to members from that state — useful with chamber=senate to get the 2 senators from a state."New value: +"2-letter code."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered by structured fields. The description adds real context beyond them: one row per member, default sorting by full_name, and the notable warning that photo_url hits a metered endpoint with billing implications. It says nothing about pagination behavior or result-size limits, so it lands at adequate rather than rich.

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?

Two dense sentences, front-loaded with what the tool returns before moving to sorting and the cost caveat. Minor waste in pointing to an external docs page for codes the schema largely covers, and the metered-endpoint warning is buried at the end where a cost-sensitive agent might skim past it.

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?

With no output schema, the description carries the burden of describing the return shape, and it does list the key fields plus the row granularity and sort order. Gaps remain around pagination and how much of the terms/committees arrays are returned, but for a read-only filtered directory tool this is close to sufficient.

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?

Schema coverage is 86%, so the schema already documents nearly every parameter including match semantics ('Exact match', '2-letter code', 'Case-insensitive substring'). The description contributes the composition rule ('filters combine') and the bioguide_id keying, but defers field/code definitions to an external docs URL rather than explaining them, so it adds only marginal meaning.

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?

Specific verb+resource: 'Current members of Congress... one row per member keyed by bioguide_id', with the returned fields (party, state, district, terms, committees) enumerated. It implicitly distinguishes itself from trade-focused siblings by being a profile directory, but never names an alternative tool, so it stops short of a 5.

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?

'Filters combine; sorted by full_name' tells the agent how filters compose and how results are ordered, which is useful operating guidance. There is no statement of when to use this versus get_congressional_trades or get_fec_candidate_profile, and no exclusions, so usage is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources