Skip to main content
Glama

Openfec Search Disbursements

openfec_search_disbursements
Read-onlyIdempotent

Search itemized committee spending (Schedule B) or get aggregate breakdowns by purpose or recipient. All modes require a committee_id. Use to answer "what is this committee spending money on?" or "who is receiving payments from this committee?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoQuery mode. "itemized" returns individual disbursement records (keyset pagination). "by_purpose" aggregates by purpose category. "by_recipient" aggregates by recipient name. "by_recipient_id" aggregates by recipient committee ID (committee-to-committee transfers).itemized
pageNoPage number (1-indexed) for aggregate modes. Explicit page is rejected in itemized mode, which paginates with cursor. Defaults to 1 for aggregates.
sortNoSort field. A "-" prefix sorts descending: use "-disbursement_amount" for the biggest payments first, since the ascending form leads with the most negative rows (refunds and voided payments). Itemized only; OpenFEC sorts by "-disbursement_date" when omitted.
cycleNoTwo-year election cycle (e.g., 2024). Even years only. Itemized mode defaults to the current cycle when omitted — Schedule B spans all history, and an all-history scan of an active committee times out upstream. Pass an explicit cycle to search an earlier period.
cursorNoOpaque pagination cursor from a previous response of this tool. Itemized mode only (keyset pagination). Valid only for an otherwise-identical call — changing any other argument, including sort, rejects the cursor; omit it to start over.
max_dateNoLatest disbursement date (YYYY-MM-DD). Itemized only.
min_dateNoEarliest disbursement date (YYYY-MM-DD). Itemized only.
per_pageNoResults per page.
max_amountNoMaximum amount in dollars. Itemized only.
min_amountNoMinimum amount in dollars. Itemized only.
committee_idYesSpending committee ID (e.g., C00703975). Get IDs from openfec_search_committees results. Required for all modes.
recipient_cityNoRecipient city. Itemized only.
recipient_nameNoFull-text payee name search. Itemized only.
recipient_stateNoRecipient state. Itemized only.
recipient_committee_idNoRecipient committee ID (for committee-to-committee transfers). Itemized only.
disbursement_descriptionNoFull-text description search (e.g., "media buy", "consulting"). Itemized only.
disbursement_purpose_categoryNoPurpose category code. Itemized only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoQuery mode as the server resolved it. Row shapes differ by mode — itemized rows are individual payments, aggregate rows are buckets with a total — so read this rather than inferring the shape from the fields present.
countNoTotal result count (may be approximate for itemized).
errorNoPresent when the call failed. Absent on success.
noticeNoGuidance when no disbursements matched — echoes filters and suggests how to broaden.
resultsNoDisbursement result set; itemized records or aggregate buckets depending on mode.
committeeNoThe committee every row in this response belongs to, carried once instead of repeated in each row. Present only when the query was scoped to a single committee_id; otherwise each row keeps its own committee object.
paginationNoPage-based pagination info (aggregate modes only).
totalCountNoTotal matching disbursements or aggregate rows.
next_cursorNoPagination cursor for the next page of itemized results. Null when no more pages.
search_criteriaNoEcho of the search filters this call applied, as the server parsed them, minus paging arguments. Always present — compare it against what you sent to confirm every filter was honoured.

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description itself mainly restates the capability (itemized vs. aggregates) without adding behavioral details like pagination edge cases or the cycle default, which are already thoroughly documented in the schema. Since the schema carries the behavioral burden, the description adds minimal extra value, keeping it at a 3.

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 two sentences with no redundancy. It front-loads the primary function (Search itemized committee spending or get aggregates) and immediately follows with example use cases. Every word adds value, and the structure makes it easy to parse quickly. This is exemplary conciseness.

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 the tool's complexity (17 params, output schema, full schema descriptions, and annotations), the description covers the essential context: what it searches, the modes, and the required parameter. It doesn't need to explain return values (output schema exists) or reiterate safety (annotations cover). The main gap is that it doesn't hint at the pagination quirks, but those are in the schema, so the description is sufficiently complete for an agent to call it correctly.

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 every parameter is already explained in the schema. The description does not add parameter-level semantics; it only mentions that committee_id is required and lists the modes, which are already in the schema. With full coverage, the baseline of 3 is appropriate—the description contributes no additional parameter insight.

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's function: searching committee spending (Schedule B) with itemized or aggregate modes. It names the specific resource (Schedule B) and gives concrete question examples ('what is this committee spending money on?', 'who is receiving payments?'). This distinguishes it from sibling tools like search_contributions or search_expenditures, making the agent's choice unambiguous.

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?

The description specifies when to use the tool: to answer spending-related questions about a committee. It also notes the prerequisite ('All modes require a committee_id'). While it doesn't explicitly state when NOT to use it or compare to alternatives, the provided example questions and resource scoping give clear usage context. The absence of exclusion criteria keeps this at a 4 rather than a 5.

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.1/5.0
Disambiguation5/5

Each tool targets a clearly distinct FEC resource or action, and even closely related tools are explicitly differentiated. Independent versus coordinated expenditures and legal search versus legal document retrieval are described in enough detail that an agent should not misselect.

Naming Consistency5/5

All tools share the openfec_ prefix and follow a predictable verb_noun snake_case pattern: get for direct retrieval, lookup for calendar/election lookups, and search for queryable datasets. The naming is highly consistent across the full tool set.

Tool Count5/5

Twelve tools is well-scoped for a campaign-finance data server covering candidates, committees, money flows, filings, legal documents, calendar, and elections. Each tool represents a meaningful slice of the domain without unnecessary overlap or bloat.

Completeness4/5

The tool surface covers core FEC workflows thoroughly: candidates, committees, contributions, disbursements, independent and coordinated expenditures, filings, legal documents, calendar, and elections. The only notable gaps are specialized FEC categories such as electioneering communications and communication costs, which are not exposed.