Skip to main content
Glama

Get a legislator's scorecard

get_legislator_scorecard
Read-only

One-call voting and sponsorship profile for a legislator (GET /v1/legislators/{people_id}/scorecard): participation, party-line alignment, bills sponsored and passed, notable votes. This is the tool for 'how does X vote' or 'is X effective'. Get people_id from list_legislators (q=name).

Input Schema

NameRequiredDescriptionDefault
people_idYespeople_id from list_legislators.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/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 safety is covered; the description adds genuinely new context: it is a 'one-call' aggregate that returns several derived metrics in a single response, plus the underlying endpoint. With no output schema, this enumeration of returned metrics is the agent's only signal about result shape.

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?

Two dense sentences: capability plus return contents first, intent routing and ID resolution second. Nothing is redundant with the title, and no sentence could be removed without losing information.

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?

For a single-parameter read tool with no output schema, the description covers purpose, contents, and ID resolution adequately. It stops short of saying what period the scorecard covers (current session vs. career) or how the alignment metric is computed, which are the remaining questions an agent might have.

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

Parameters4/5

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

Schema coverage is 100% and the schema already says 'people_id from list_legislators', so the baseline is 3. The description adds a small but real operational detail beyond that — the '(q=name)' hint for resolving the ID — which speeds up the dependent lookup.

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?

States a specific verb and resource ('voting and sponsorship profile for a legislator') and enumerates exactly what the profile contains: participation, party-line alignment, bills sponsored and passed, notable votes. The content enumeration also implicitly separates it from the bare 'get_legislator' sibling, so an agent can pick between them without opening a schema.

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?

Explicitly frames the intent triggers ('how does X vote', 'is X effective') and gives the prerequisite resolution path: 'Get people_id from list_legislators (q=name)'. It lacks a stated when-not or a named alternative for raw bio data, which keeps it short of a 5.

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