Skip to main content
Glama

politics_polls

politics_polls
Read-onlyIdempotent

Search the SIGNED public-poll archive. Unlike aggregators, every poll keeps the EXACT question wording, population base (LV/RV/adults), sample size, margin of error, mode, and per-option toplines — first-party sourced, snapshot-hashed, and cryptographically signed (verifiable). Filter by race_key, state, subject (e.g. "approval", "Senate"), pollster, or since (ISO date). Returns a list; call politics_poll {id} for full detail + signature. Use this when a question hinges on what a poll ACTUALLY asked vs how it was reported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cycleNoElection/survey cycle year (e.g. 2026)
limitNo
sinceNoOnly polls whose field_end >= this ISO date (e.g. 2026-08-01)
stateNo2-letter state (omit for national)
offsetNo
subjectNoSubject substring (e.g. "approval", "TX Senate", "immigration")
pollsterNoPollster substring (e.g. "Quinnipiac", "Emerson")
race_keyNoStable contest key to get every poll of one race over time (e.g. us-pres-approval-trump)

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 destructiveHint=false, so the safety profile is covered. The description adds behavioral details beyond those: it returns a list (not a single item), it is verifiable/cryptographically signed, and it implies a subsequent singular call for full detail. It does not contradict annotations and enriches the agent's understanding of the tool's output behavior.

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 description is somewhat long but each sentence earns its place: it states the purpose, contrasts with aggregators, lists filters with an example, and provides usage guidance. The key purpose is front-loaded. It could be trimmed slightly, but overall it is well-structured and not redundant.

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 search tool with 8 parameters and no output schema, the description covers the main functionality, filter options, and result handling (returns a list, then call singular for detail). It doesn't explicitly mention pagination, but offset/limit are in the schema. The 'verifiable' note adds trust context. Everything essential for calling the tool is present.

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 has descriptions for 6 of 8 parameters (75% coverage), leaving limit and offset undocumented. The description names several filters (race_key, state, subject, pollster, since) with examples, which adds semantic clarity over the raw schema. However, it does not cover the undocumented limit/offset or clarify the cycle parameter. Since coverage is just below 80% and the description partially compensates but not fully, a 3 is appropriate.

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 starts with a specific verb and resource: 'Search the SIGNED public-poll archive.' It immediately distinguishes itself from aggregators by emphasizing exact question wording and full methodological details, which sets it apart from sibling search tools like politics_search or politics_bills_search. The purpose is unambiguous and context-rich.

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

Usage Guidelines5/5

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

The description explicitly states when to use this tool: 'Use this when a question hinges on what a poll ACTUALLY asked vs how it was reported.' It also provides a clear next-step routing: 'Returns a list; call politics_poll {id} for full detail + signature,' which guides the agent to the singular sibling. This is excellent usage direction.

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

A3.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose covering different aspects of political data: bills (search, details, text slices, TOC), officials (details, search, by state, representation), bridge pages (create, compare, session, letter), and specialized queries (speeches, votes, positions, provenance). No two tools overlap in functionality.

Naming Consistency5/5

All tools follow a consistent 'politics_<descriptive_name>' pattern using snake_case. Verbs and nouns are combined logically (e.g., 'politics_bills_search', 'politics_candidate_feed'), with no mixing of conventions.

Tool Count4/5

At 25 tools, the set is comprehensive for a political data API but slightly on the high side. However, each tool covers a specific niche (bills, officials, bridge pages, etc.), and the count is justified by the breadth of the domain. It remains manageable and well-scoped.

Completeness4/5

The tool surface covers major data types (bills, officials, candidates, speeches, votes, positions) and interaction workflows (bridge pages, watchlists). Minor gaps exist, such as missing a direct 'politician by name and state' endpoint, but the search and filtering tools compensate. Overall, the set is thorough.