Skip to main content
Glama

Get Legislator

get_legislator
Read-onlyIdempotent

Fetch a single legislator by OpenStates person ID. Returns biographical info, current roles, prior offices, contact methods, sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
person_idYesOpenStates person ID (e.g., "ocd-person/...")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoFull name
emailNoEmail address
imageNoImage URL
linksNo
partyNoPolitical party
titleNoCurrent title/role
genderNoGender
chamberNoChamber (upper/lower)
officesNo
sourcesNoSource URLs
districtNoDistrict identifier
person_idNoOpenStates person ID
birth_dateNoBirth date
death_dateNoDeath date
given_nameNoGiven name
family_nameNoFamily name
other_namesNoAlternative names
jurisdictionNoState or jurisdiction
openstates_urlNoLink to OpenStates profile

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=true, covering the safety profile. The description adds valuable context about the return payload (biographical info, current roles, prior offices, contact methods, sources) without repeating annotation data.

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?

The description is a single, front-loaded sentence that states the action and the return contents. Every word earns its place, with zero fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple one-parameter tool with an output schema present. The description covers the purpose, input type, and return contents. Given the simplicity and annotations, there are no significant missing details.

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?

The schema description covers 100% of the parameter with format guidance (e.g., 'ocd-person/...'). The description merely reiterates 'OpenStates person ID' without adding new semantic detail, so it stays at the baseline for high schema coverage.

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 states 'Fetch a single legislator by OpenStates person ID' with a specific verb, singular resource, and input type. This distinguishes it from sibling tools like search_legislators, which imply broader search behavior.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when you have a person_id and need a single legislator's details. It does not explicitly name alternatives or exclusions, but the phrase 'a single legislator' provides clear context for when to use this tool versus searching.

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.

TDQS

B3.1/5.0
Disambiguation1/5

The tool set includes multiple pairs of nearly identical tools (e.g., ask_pipeworx and ask_pipeworx_grounded, bet_research and polymarket_arbitrage) that overlap heavily in purpose. Many tools also combine unrelated functions, making it difficult for an agent to select the right one without confusion.

Naming Consistency1/5

Tool names follow no discernible pattern: snake_case (ai_visibility_check), verb_noun (ask_pipeworx, get_bill), and even lengthy descriptive names (scan_competitor_ai_presence) are mixed. The naming style is chaotic and inconsistent across the set.

Tool Count2/5

With 30 tools, the count is excessive for a server supposedly focused on OpenStates (state legislatures). Only a few tools (search_bills, get_bill, etc.) relate to the server's name, while the rest are tangentially related to data lookups, betting, or AI visibility, making the set bloated.

Completeness1/5

The server's core domain (state legislative data) is severely underserved: only about 5 tools cover bills and legislators, lacking basic CRUD operations like create, update, or delete. Many obvious operations (e.g., searching bills by subject, tracking votes) are missing, while unrelated tools dominate.