Skip to main content
Glama

Get political spending (PoliSpend)

get_political_spending
Read-onlyIdempotent

US election money, cleaned and rolled up (FEC + state and city filings; 2026 cycle plus 2022 and 2018). table: races (per House/Senate race: candidate receipts, outside spending for/against), candidates, donor_geo (donations by city/state/division/region), race_geo, flows (donor state -> race state), spending (campaign spending by category and vendor city), vendors, state_local (state and city contribution totals with in/out-of-state split), state_local_geo. Free keys get every race's totals and national/regional/state donor geography; deeper tables come with PoliSpend from $29 at https://finzdata.com/political-spending-data .

Input Schema

NameRequiredDescriptionDefault
cycleNoElection cycle, e.g. 2026 (default), 2022, 2018.
stateNo2-letter state code filter.
tableYes
officeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/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 valuable context beyond annotations: it names data sources, lists the tables and their contents, and discloses that free keys only return race totals and national/regional/state donor geography, with deeper tables requiring a paid PoliSpend subscription. It does not mention rate limits or return pagination, but the paywall detail is a meaningful behavioral disclosure.

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 front-loaded with the core purpose and then densely lists table contents, all of which earn their place by clarifying the required 'table' parameter. The run-on sentence structure and semicolon-heavy list are less scannable than a bulleted format, but there is little wasted text.

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?

Given four parameters, no output schema, and a complex multi-table dataset, the description does a good job explaining what each table contains and the cycle/free-tier limits. It omits explicit return formatting (e.g., rows vs. aggregated JSON) and filter interaction details, but the table descriptions give an agent enough to call it correctly.

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 50%, with descriptions for cycle and state but none for table and office. The description compensates substantially by explaining each table enum value (e.g., 'races (per House/Senate race: candidate receipts, outside spending for/against)' and 'donor_geo (donations by city/state/division/region)') and by naming cycle values (2026 plus 2022 and 2018). Office is only indirectly covered via 'House/Senate race', so a small gap remains.

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?

The description clearly identifies the resource as US election money data from FEC and state/city filings, and enumerates the tables available (races, candidates, donor_geo, etc.). It does not differentiate from siblings, but no sibling covers political spending, so the purpose is unambiguous.

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?

The description implies usage by listing the dataset's contents and cycles (2026, 2022, 2018), but it never states when an agent should call this tool versus another, nor does it give explicit exclusions or prerequisites. The free-vs-paid tier note adds context but is not framed as usage guidance.

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.