Skip to main content
Glama

Search Contributions

search_contributions
Read-onlyIdempotent

Search itemized individual contributions ("follow the money"), who donated, how much, employer/occupation, city/state, and date, plus the FEC image number, transaction id and a link to the filed page for each row. Filter by recipient committee, donor name, employer, state, minimum amount, and cycle. PREFER for "who donated to ", "'s political donations", "donations from employees". Requires at least one of committee_id or contributor_name.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "committee_id": "C00401224"
    },
    "name": "search_contributions"
  }
}

Input Schema

NameRequiredDescriptionDefault
cycleNoTwo-year transaction period / cycle (even year, e.g. 2024).
stateNoTwo-letter donor state (e.g. "CA").
_apiKeyYesOpenFEC API key
min_amountNoMinimum contribution amount in USD.
committee_idNoRecipient committee ID (from search_committees).
contributor_nameNoDonor name to search (e.g. "Musk").
contributor_employerNoDonor employer filter (e.g. "Google").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-open-fec-api-key",
      -    "committee_id": "C00401224"
      -  },
      -  {
      -    "_apiKey": "your-open-fec-api-key",
      -    "contributor_name": "Musk",
      -    "cycle": 2024,
      -    "min_amount": 10000
      -  }
      -]New value: +[
      +  {
      +    "committee_id": "C00401224"
      +  },
      +  {
      +    "contributor_name": "Musk",
      +    "cycle": 2024,
      +    "min_amount": 10000
      +  }
      +]
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-open-fec-api-key",
      +    "committee_id": "C00401224"
      +  },
      +  {
      +    "_apiKey": "your-open-fec-api-key",
      +    "contributor_name": "Musk",
      +    "cycle": 2024,
      +    "min_amount": 10000
      +  }
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds a functional prerequisite the schema does not encode — at least one of committee_id or contributor_name must be supplied — which is the single most likely cause of a failed call. It does not mention pagination, result caps, or rate limits on the OpenFEC backend.

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?

Front-loaded with the resource and its return fields, then filters, then the PREFER cases, then the hard requirement — a sensible ordering with no filler. The first sentence is long and parenthetical-heavy, but since there is no output schema, enumerating returned fields earns its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by describing the returned columns, and it documents the real call prerequisite that the schema's required list omits. For a 7-parameter read-only search, an agent has enough to call it correctly; only result-volume behavior (paging, caps) is left unstated.

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 per-parameter meanings are already documented; the baseline is 3. The description restates the filter set (recipient committee, donor name, employer, state, minimum amount, cycle) without adding formats or interactions, and its one genuinely additive point — the committee_id-or-contributor_name constraint — is a usage rule rather than a parameter meaning.

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 — searching itemized individual contributions — and enumerates exactly what each row contains (donor, amount, employer/occupation, city/state, date, FEC image number, transaction id, filed-page link). The phrase "itemized individual contributions" plus the "follow the money" gloss distinguishes it from the aggregate-financial siblings such as committee_financials or candidate_financials.

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?

Gives explicit triggering query patterns ("who donated to <committee>", "<person>'s political donations", "donations from <employer> employees") with a PREFER marker, which is real routing guidance. It stops short of naming which sibling to use instead for aggregate totals or candidate-level summaries, so exclusions are only implied.

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.