Skip to main content
Glama

Show a politician card

show_politician
Read-only

Show one politician as an interactive card: party, office, current term, headshot and sponsored bills (enacted first). Call it whenever your answer is about a politician.

Name the politician with resource_uri, id, or external_id_source (BIOGUIDE, FEC or LEGISCAN) plus external_id_value.

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": "show_politician"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe politician's uuid.
resource_uriNoA amendment://politicians/{id} resource, as get_item and search return it.
external_id_valueNoThe id in that external system.
external_id_sourceNoWith external_id_value: BIOGUIDE, FEC or LEGISCAN.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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=false, so the safety profile is covered. The description adds real behavioral value beyond that: it discloses that the output is an interactive card with a defined field set and that sponsored bills are ordered with enacted ones first.

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 tool's purpose and trigger condition are front-loaded in the first sentence, with identifier guidance following. Every sentence carries information, though the identifier paragraph partially restates what the schema already declares.

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 return content, and it does so by naming the card's fields. The multiple optional-but-not-required identifier parameters are all accounted for, leaving little an agent would need that isn't stated.

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 description coverage is 100%, so the schema already documents all four identifiers, including the pairing of external_id_source with external_id_value. The description usefully frames the three lookup paths as alternatives ('with resource_uri, id, or external_id_source'), but adds no syntax or format detail beyond the schema, so baseline 3 applies.

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 pairs the specific verb 'show' with the resource 'politician' and immediately enumerates what the card contains: party, office, current term, headshot, and sponsored bills in enacted-first order. That level of detail lets an agent distinguish it from siblings like show_bill or show_law without opening the 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?

'Call it whenever your answer is about a politician' gives a clear positive trigger condition. It stops short of naming alternatives (for example search or find for discovery before display), so there's no explicit when-not to use it, but the usage context is unambiguous.

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