Skip to main content
Glama

get_fec_contributions

Read-only

FEC Schedule A contributions (money INTO federal committees), AGGREGATED. Individual donors are never exposed as searchable per-record rows: the FEC sale-or-use rule (11 CFR 104.15) permits aggregated presentation only. NO NATURAL PERSON IS NAMED BY THIS TOOL, IN ANY MODE. A paid service ranking named individuals by their contribution history is a prohibited commercial use of contributor lists (11 CFR 104.15; 52 U.S.C. 30111(a)(4)). No contributor_name search and no street, city or ZIP, by design. Live from api.open.fec.gov with a cached fallback (source: live | cache). Three modes: (1) group_by: totals by employer, state, candidate, committee or cycle; on employer and state rows contribution_count counts contributions, not contributors. (2) leaderboard=true: top ORGANISATION donors in one scope, plus the individual side as count and total only, NO median and NO maximum, withheld entirely when fewer than 5 individuals gave. (3) entity_type or sub_id: per-record rows for non-individual contributors only. Modes and fields: keyvex.com/docs/tools/get_fec_contributions

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

Input Schema

NameRequiredDescriptionDefault
cycleNo2-year cycle, e.g. 2026. Required for leaderboard and employer/state; candidate defaults to the current one.
limitNoDefault 50; leaderboard: organisations, default 100.
sinceNoPer-record: YYYY-MM-DD, inclusive, on contribution_receipt_date.
untilNoPer-record: YYYY-MM-DD, inclusive, on contribution_receipt_date.
sub_idNoPer-record lookup; returned only if non-individual.
sort_byNoPer-record. Default contribution_receipt_date.
group_byNoemployer/state need recipient_committee_id + cycle; cycle needs candidate_id or recipient_committee_id.
max_amountNoPer-record: inclusive upper bound on amount.
min_amountNoPer-record: inclusive lower bound on amount. Rejected in leaderboard mode (its floor is a fixed $1,000).
sort_orderNoPer-record. Default desc.
entity_typeNoPer-record mode, non-individual types only; IND, UNK and CAN (a candidate, a natural person) are refused.
leaderboardNoTop ORGANISATION donors in one scope, plus individual count and total only (NO median, NO maximum). Needs cycle + exactly one scope parameter.
candidate_idNoFEC candidate ID, e.g. 'S8GA00180'.
exclude_memosNoPer-record, default true: drop memo subtotals (they double-count).
contributor_stateNo2-letter state: leaderboard scope or per-record filter.
contributor_employerNoEmployer substring. Leaderboard scope only.
recipient_committee_idNoFEC committee ID, e.g. 'C00401224'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • changedInput schema / properties / candidate_id / description
      Previous value: -"FEC candidate ID (e.g. 'S8GA00180'). Scope for group_by='candidate'/'cycle', leaderboard scope, or per-record filter."New value: +"FEC candidate ID, e.g. 'S8GA00180'."
    • changedInput schema / properties / contributor_employer / description
      Previous value: -"Employer name (FEC substring match). LEADERBOARD SCOPE ONLY — top donors reporting this employer. Not available as a per-record filter."New value: +"Employer substring. Leaderboard scope only."
    • changedInput schema / properties / contributor_state / description
      Previous value: -"2-letter state code. Leaderboard scope (top donors from a state) or per-record filter (non-individual rows)."New value: +"2-letter state: leaderboard scope or per-record filter."
    • changedInput schema / properties / cycle / description
      Previous value: -"Election cycle year (2-year transaction period, e.g. 2026). Required for leaderboard and group_by='employer'/'state'; defaults to the current cycle for group_by='candidate'."New value: +"2-year cycle, e.g. 2026. Required for leaderboard and employer/state; candidate defaults to the current one."
    • changedInput schema / properties / entity_type / description
      Previous value: -"Per-record mode selector — NON-INDIVIDUAL types only: COM (committee), CCM (candidate committee), PAC, PTY (party), ORG (organization). IND, UNK and CAN are not accepted: a CAN row is the FEC's code for a CANDIDATE, who is a natural person, so candidate contributions are served aggregated only alongside every other individual."New value: +"Per-record mode, non-individual types only; IND, UNK and CAN (a candidate, a natural person) are refused."
    • changedInput schema / properties / exclude_memos / description
      Previous value: -"Per-record mode: when true (DEFAULT) filters out memoed_subtotal rows (FEC duplicates that double-count dollars). Leaderboards always exclude them."New value: +"Per-record, default true: drop memo subtotals (they double-count)."
    • changedInput schema / properties / group_by / description
      Previous value: -"Aggregate mode: group totals by this axis. employer/state require recipient_committee_id + cycle (the FEC computes those per committee). cycle requires candidate_id or recipient_committee_id."New value: +"employer/state need recipient_committee_id + cycle; cycle needs candidate_id or recipient_committee_id."
    • changedInput schema / properties / leaderboard / description
      Previous value: -"Leaderboard mode: top ORGANISATION donors (PAC / party / committee / company) by name + summed total + count for ONE bounded scope, PLUS the individual side as statistics only (count and total — NO median and NO maximum; each is one person's number and re-identifies against the FEC's own site). Those statistics are WITHHELD ENTIRELY when fewer than 5 distinct individuals contributed in the scope. NO NATURAL PERSON IS NAMED — ranking named individuals by their giving is a prohibited commercial use of contributor lists (11 CFR 104.15). Requires cycle + exactly one of recipient_committee_id | candidate_id | contributor_state | contributor_employer."New value: +"Top ORGANISATION donors in one scope, plus individual count and total only (NO median, NO maximum). Needs cycle + exactly one scope parameter."
    • changedInput schema / properties / limit / description
      Previous value: -"Max rows (aggregate/per-record) or max ORGANISATIONS (leaderboard, default 100). Default 50, max 500."New value: +"Default 50; leaderboard: organisations, default 100."
    • changedInput schema / properties / max_amount / description
      Previous value: -"Per-record mode: inclusive upper bound on amount."New value: +"Per-record: inclusive upper bound on amount."
    • changedInput schema / properties / min_amount / description
      Previous value: -"Leaderboard: itemization floor for aggregated rows (default 1000; 200 = FEC itemization floor). Per-record: inclusive lower bound on amount."New value: +"Per-record: inclusive lower bound on amount. Rejected in leaderboard mode (its floor is a fixed $1,000)."
    • changedInput schema / properties / recipient_committee_id / description
      Previous value: -"FEC committee ID (e.g. 'C00401224'). Scope for group_by='employer'/'state'/'committee'/'cycle', leaderboard scope, or per-record filter. Use get_fec_candidate_profile to find a candidate's principal committee."New value: +"FEC committee ID, e.g. 'C00401224'."
    • changedInput schema / properties / since / description
      Previous value: -"Per-record mode: inclusive lower bound on contribution_receipt_date (YYYY-MM-DD)."New value: +"Per-record: YYYY-MM-DD, inclusive, on contribution_receipt_date."
    • changedInput schema / properties / sort_by / description
      Previous value: -"Per-record mode sort key. Default: contribution_receipt_date."New value: +"Per-record. Default contribution_receipt_date."
    • changedInput schema / properties / sort_order / description
      Previous value: -"Per-record mode: default desc."New value: +"Per-record. Default desc."
    • changedInput schema / properties / sub_id / description
      Previous value: -"Per-record mode: direct doc lookup by FEC sub_id. Returns the row only when it is a non-individual contribution."New value: +"Per-record lookup; returned only if non-individual."
    • changedInput schema / properties / until / description
      Previous value: -"Per-record mode: inclusive upper bound on contribution_receipt_date (YYYY-MM-DD)."New value: +"Per-record: YYYY-MM-DD, inclusive, on contribution_receipt_date."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations: discloses the cached-fallback behavior with a 'source: live | cache' marker, the small-sample suppression rule (individual totals withheld when fewer than 5 gave), the absence of median and maximum for individuals, the $1,000 leaderboard floor, and that contribution_count counts contributions rather than contributors. These are non-obvious behavioral traits that materially affect interpretation of results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and modes, but a large fraction of the text is legal admonition ('prohibited commercial use', repeated citations of 11 CFR 104.15 and 52 U.S.C. 30111(a)(4)) that restates the same no-natural-persons constraint several times in caps. The core operational content could be half the length 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 complex, 17-parameter, zero-required-parameter tool with no output schema and no annotations describing data freshness, the description covers mode selection, gating conditions, freshness/source, and the shape of aggregated output. What remains thin is the precise per-record row fields, which are outsourced to a docs URL an agent may not be able to fetch mid-call.

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?

With 100% schema coverage the schema already documents each parameter, so baseline is 3; the description adds an organizing mode taxonomy that maps 17 parameters into three coherent invocation patterns, which is more than per-parameter docs convey. It still defers field-level detail ('Modes and fields: keyvex.com/docs/...') to an external URL rather than restating tricky combos in place.

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 — FEC Schedule A contributions, money INTO federal committees — plus the decisive scope qualifier AGGREGATED, which separates it from get_fec_disbursements (money out) and per-record contribution lookups. The explicit negative scope ('No contributor_name search and no street, city or ZIP') further pins down what it is not.

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?

Enumerates three named modes (group_by, leaderboard=true, entity_type/sub_id) with the scope each requires, and states prerequisites such as 'Needs cycle + exactly one scope parameter' for leaderboard and cycle requirements for employer/state grouping. It never names a sibling tool as an alternative, so routing against siblings like get_lobbyist_contributions is left to inference.

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