Skip to main content
Glama

FEC Campaign Finance

get_fec_candidates

Get FEC campaign finance data for federal election candidates. Returns fundraising totals, cash on hand, and spending by office (President/Senate/House), state, or party.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoCandidate name search
limitNoNumber of results (max 50)
partyNoDEM, REP, IND
stateNo2-letter state code (TX, CA, NY)
officeNoP=President, S=Senate, H=House
election_yearNoElection cycle year (default: 2026)2026

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses that the tool returns fundraising totals, cash on hand, and spending, which is good. However, it does not mention authentication, rate limits, data freshness, or pagination behavior.

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 concise with two sentences, front-loaded with the purpose and followed by key details. No extraneous words, every sentence earns its place.

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 no output schema, the description adequately explains the return values. It covers filtering options and data types. However, it could mention that name is a search parameter and that limit has a maximum, but these are in the schema. Overall, it is fairly complete.

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%, so baseline is 3. The description adds meaning beyond the schema by explaining what the tool returns (fundraising totals, cash on hand, spending) and how filters relate to that output. This extra context justifies a higher score.

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 the tool gets FEC campaign finance data for federal election candidates and specifies the returned data (fundraising totals, cash on hand, spending) and filtering options. It distinguishes from siblings like get_fec_donors and get_fec_spending by focusing on candidates.

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 for candidate finance data but does not explicitly state when to use this tool over siblings or provide exclusions. It lacks explicit when-to-use or when-not-to-use 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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct aspect of campaign finance: candidates, donors, and spending. There is no overlap, and an agent can easily distinguish between them.

Naming Consistency5/5

All tools follow the consistent pattern 'get_fec_<noun>', using camelCase with underscores. The naming is predictable and clear.

Tool Count5/5

With only 3 tools, the server is well-scoped to the three main pillars of campaign finance data. No tools seem extraneous or missing for basic queries.

Completeness5/5

The tool set covers the core lifecycle of campaign finance: candidate summaries, donor contributions, and spending (both independent and direct). While committee details are absent, the set is complete for its intended purpose.

Resources