Skip to main content
Glama

Server Details

Access FEC campaign finance data. Query data about candidates, money trails, and election filings.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
cyanheads/openfec-mcp-server
GitHub Stars
1
Server Listing
@cyanheads/openfec-mcp-server

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.1/5 across 9 of 9 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool targets a distinct FEC entity or operation (calendar, elections, candidates, committees, contributions, disbursements, expenditures, filings, legal). No overlap in purpose, clearly distinguishable.

Naming Consistency5/5

All tools follow the pattern 'openfec_verb_noun' with verbs 'lookup' or 'search' and nouns indicating the data type. Minor verb variation is logical and consistent within subgroups.

Tool Count5/5

With 9 tools covering major FEC data areas, the count is well-scoped. Each tool serves a distinct purpose, neither too few nor too many for the domain.

Completeness4/5

The set covers core FEC data (candidates, committees, financial transactions, filings, legal documents, elections, calendar). Minor gaps exist (e.g., committee financial summaries not explicitly exposed), but overall surface is comprehensive.

Available Tools

9 tools
openfec_lookup_calendarOpenfec Lookup CalendarA
Read-onlyIdempotent
Inspect

Look up FEC calendar events, filing deadlines, and election dates. Use to find upcoming filing windows for a committee, locate when a federal election occurred, or scope FEC events by date range and category.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoevents = FEC calendar events. filing_deadlines = report due dates. election_dates = upcoming/past elections.events
pageNoPage number (1-indexed). Default 1.
stateNoTwo-letter state code (e.g., AZ, CA). Primarily for election_dates mode.
officeNoOffice sought (H=House, S=Senate, P=President). Election dates mode.
categoryNoCalendar category ID. 20=Commission Meetings, 21=Reporting Deadlines, 22=Conferences and Outreach, 23=AOs and Rules, 24=Other, 25=Quarterly, 26=Monthly, 27=Pre and Post-Elections, 28=EC Periods, 29=IE Periods, 32=Open Meetings, 33=Conferences, 34=Roundtables, 36=Election Dates, 37=Federal Holidays, 38=FEA Periods, 39=Executive Sessions, 40=Public Hearings. Events mode only.
max_dateNoLatest date (YYYY-MM-DD).
min_dateNoEarliest date (YYYY-MM-DD).
per_pageNoResults per page. Default 20, max 100.
descriptionNoFull-text event description search. Events mode.
report_typeNoReport type code (e.g. "Q1", "Q2"). Filing deadlines mode only.
report_yearNoReport year. Filing deadlines mode.
election_yearNoElection year. Election dates mode.

Output Schema

ParametersJSON Schema
NameRequiredDescription
noticeNoGuidance when no calendar entries matched — echoes filters and suggests how to broaden.
resultsYesCalendar result set; events, filing deadlines, or election dates depending on mode.
paginationYesPage-based pagination metadata.
totalCountYesTotal matching calendar entries before pagination.
search_criteriaNoEcho of the search filters that produced this result set. Populated when results are empty to help diagnose why nothing matched.
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description's lack of additional behavioral disclosure is partially acceptable. However, the description does not mention pagination behavior, result limits, or the fact that the tool returns a list of events (though output schema exists). It adds value by explaining modes but misses other runtime behaviors.

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 long with no filler. The first sentence defines the purpose, the second provides use cases. Information is front-loaded and every word adds value.

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?

The description covers the main purpose and common uses, and the output schema exists so return value explanation is not needed. However, it does not explain the 'mode' parameter's central role in filtering, nor mention pagination or sorting. Slight gaps for a complex tool with 12 parameters.

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?

Input schema coverage is 100% with detailed descriptions for all 12 parameters (including enums and defaults). The description does not add meaning beyond the schema; it only provides high-level usage context. Baseline score of 3 is appropriate for complete schema coverage.

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 verb 'look up' and specific resources: FEC calendar events, filing deadlines, and election dates. It provides concrete use cases like 'find upcoming filing windows' and 'locate when a federal election occurred', distinguishing the tool from siblings like openfec_lookup_elections which likely focuses on election-specific lookups.

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 gives clear usage scenarios (e.g., 'find upcoming filing windows', 'scope ... by date range and category') but does not explicitly state when to avoid this tool or suggest alternatives. The sibling tool list exists but is not referenced in the description, so the agent must infer differentiation from names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openfec_lookup_electionsOpenfec Lookup ElectionsA
Read-onlyIdempotent
Inspect

Look up federal election races and candidate financial summaries. Find who's running in a race with fundraising totals, or get an aggregate race summary.

ParametersJSON Schema
NameRequiredDescriptionDefault
zipNoZIP code — finds races covering this ZIP. Search mode only.
modeNosearch = candidates in a race with financial totals. summary = aggregate race financial summary.search
cycleYesElection cycle year (even years only, e.g. 2024).
stateNoTwo-letter US state code (e.g., AZ, CA). Required for senate/house unless zip is provided.
officeYesOffice sought: H=House, S=Senate, P=President.
districtNoTwo-digit district number (e.g. "07"). Required for house unless zip is provided.
election_fullNoExpand to full election period (4yr president, 6yr senate, 2yr house). Default true. Ignored for ZIP-based searches.

Output Schema

ParametersJSON Schema
NameRequiredDescription
noticeNoGuidance when no election results matched — echoes filters and suggests how to broaden.
resultsYesElection race result set; candidate financial rows in search mode, a single aggregate summary row in summary mode.
paginationYesPage-based pagination metadata.
totalCountYesTotal matching candidates or race summaries.
search_criteriaNoEcho of the search filters that produced this result set. Populated when results are empty to help diagnose why nothing matched.
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, covering safety and idempotency. The description adds value by explaining the two modes (search vs summary), but other behavioral traits like rate limits or pagination are not mentioned. The description does not contradict annotations.

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 fluff. The first sentence states the core purpose, and the second elaborates on the two modes. Every word contributes meaning.

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 has 7 parameters, two modes, and an output schema, the description covers the high-level functionality and modes. Some details (e.g., required parameters for non-ZIP searches) are omitted, but the schema covers them. The description is sufficient for an agent to decide if the tool fits the task.

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% with comprehensive parameter descriptions. The description adds value by grouping parameters into functional modes (search vs summary) and explaining their purpose in plain language, which goes beyond the schema's individual descriptions.

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 looks up federal election races and candidate financial summaries, specifying two modes (candidate search with totals or aggregate summary). This verb+resource combination is specific and distinguishes it from sibling tools like openfec_search_candidates which focus on individuals rather than races.

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 explains the two usage modes (search vs summary) and implies the tool is for election race information, not calendar or individual searches. However, it does not explicitly exclude scenarios or compare with siblings, though the differentiation is clear from context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openfec_search_candidatesOpenfec Search CandidatesA
Read-onlyIdempotent
Inspect

Find federal candidates by name, state, office, party, or cycle. Retrieve a specific candidate by FEC ID with financial totals. Candidate IDs start with H (House), S (Senate), or P (President) followed by digits.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-indexed).
cycleNoTwo-year election cycle (even year, e.g., 2024).
partyNoThree-letter party code (e.g., DEM, REP, LIB).
queryNoFull-text candidate name search.
stateNoTwo-letter US state code (e.g., AZ, CA).
officeNoFilter by office: H=House, S=Senate, P=President.
districtNoTwo-digit district number for House candidates.
per_pageNoResults per page.
candidate_idNoFEC candidate ID (e.g., P00003392, H2CO07170). Get IDs from openfec_search_candidates results. When provided, returns a single candidate with full detail.
election_yearNoSpecific election year the candidate ran in.
include_totalsNoInclude financial totals (receipts, disbursements, cash on hand). Defaults to true when fetching by candidate_id.
candidate_statusNoCandidate status: C=present, F=future, N=not yet, P=prior.
has_raised_fundsNoOnly candidates whose committee has received receipts.
incumbent_challengeNoIncumbent status: I=incumbent, C=challenger, O=open seat.

Output Schema

ParametersJSON Schema
NameRequiredDescription
noticeNoGuidance when no candidates matched — echoes filters and suggests how to broaden.
totalsNoFinancial totals (receipts, disbursements, cash_on_hand) when include_totals is true.
candidatesYesCandidate result set; one record per match.
paginationYesPage-based pagination metadata.
totalCountYesTotal matching candidates before pagination.
search_criteriaNoEcho of the search filters that produced this result set. Populated when results are empty to help diagnose why nothing matched.
Behavior4/5

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

Annotations confirm read-only and idempotent behavior. Description adds that providing 'candidate_id' returns a single candidate with full detail and that 'include_totals' defaults to true in that case. This adds behavioral context beyond annotations.

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?

Two sentences, front-loaded, no unnecessary words. Every sentence provides essential 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?

Given the complexity (14 parameters, many optional) and the presence of an output schema, the description covers the main use cases (search and specific fetch) and key conventions (ID format, totals default). It does not explain pagination, but the output schema likely handles that.

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?

All 14 parameters have descriptions in the schema (100% coverage). Description adds value by explaining the candidate ID format and clarifying that 'include_totals' defaults to true when fetching by 'candidate_id', which goes beyond the schema.

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?

Description clearly states the tool's purpose: 'Find federal candidates by name, state, office, party, or cycle' and 'Retrieve a specific candidate by FEC ID with financial totals.' It also explains the ID format (H, S, P), distinguishing it from sibling tools that search committees, contributions, etc.

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?

Provides clear guidance on when to use the tool: for searching candidates with various filters or retrieving a specific candidate by ID. It implies when not to use (e.g., for committees) but does not explicitly mention alternative sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openfec_search_committeesOpenfec Search CommitteesA
Read-onlyIdempotent
Inspect

Find political committees (campaign, PAC, Super PAC, party) by name, type, candidate affiliation, or state. Retrieve a specific committee by FEC ID. Committee IDs start with C followed by digits (e.g., C00358796).

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-indexed).
cycleNoTwo-year election cycle (even year).
partyNoThree-letter party code (e.g., DEM, REP).
queryNoFull-text committee name search.
stateNoTwo-letter state code.
per_pageNoResults per page.
designationNoCommittee designation. A (authorized), B (lobbyist PAC), D (leadership PAC), J (joint fundraiser), P (principal campaign), U (unauthorized).
candidate_idNoFind committees linked to this candidate (authorized, leadership, joint fundraising). Get IDs from openfec_search_candidates results.
committee_idNoFEC committee ID (e.g., C00358796). Get IDs from openfec_search_committees results. Starts with 'C' followed by digits. Returns a single committee with full detail.
committee_typeNoCommittee type code. Common: H (House), S (Senate), P (Presidential), O (Super PAC), N (PAC nonqualified), Q (PAC qualified), X (Party nonqualified), Y (Party qualified).
treasurer_nameNoFull-text treasurer name search.

Output Schema

ParametersJSON Schema
NameRequiredDescription
noticeNoGuidance when no committees matched — echoes filters and suggests how to broaden.
committeesYesCommittee result set; one record per match.
paginationYesPage-based pagination metadata.
totalCountYesTotal matching committees before pagination.
search_criteriaNoEcho of the search filters that produced this result set. Populated when results are empty to help diagnose why nothing matched.
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description carries a lower burden. It adds context about committee ID format (starts with C followed by digits), but does not disclose additional behavioral traits such as pagination limits or rate limits, which are partially covered by the schema's parameter descriptions.

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 long, front-loading the primary function and then specifying the ID retrieval use case. Every sentence adds value with no redundant 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?

Given the 11 parameters, all with schema descriptions, and the existence of an output schema, the description covers the main use cases adequately. It does not discuss pagination behavior explicitly, but the schema parameters for page and per_page are present. The description is complete enough for a search tool.

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 coverage is 100%, so baseline is 3. The description adds some summarization of search capabilities but does not provide new meaning beyond the already detailed schema property descriptions. It reinforces the ID format, but this adds minimal incremental value.

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 finds political committees by various criteria and can retrieve a specific committee by FEC ID. It uses specific verbs like 'Find' and 'Retrieve' and names the resource (political committees), effectively distinguishing it from sibling search tools for candidates, contributions, etc.

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 provides clear intent on when to use the tool (search by name, type, candidate, state, or retrieve by ID), but does not explicitly state when not to use it or mention alternative tools. However, the context signals show distinct sibling tools, so the purpose is sufficiently differentiated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openfec_search_contributionsOpenfec Search ContributionsA
Read-onlyIdempotent
Inspect

Search itemized individual contributions (Schedule A) or get aggregate breakdowns by size, state, employer, or occupation. Use to answer "who is funding this committee?" Itemized mode requires a committee_id. Aggregate by_size/by_state can use candidate_id instead.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoQuery mode. "itemized" returns individual contribution records (keyset pagination). "by_size" aggregates by contribution size bucket. "by_state" aggregates by contributor state. "by_employer" aggregates by employer. "by_occupation" aggregates by occupation.itemized
sortNoSort field. Itemized only.
cycleNoTwo-year election cycle (e.g., 2024). Even years only. Defaults to current cycle for itemized mode.
cursorNoOpaque pagination cursor from a previous response. Itemized mode only (keyset pagination).
max_dateNoLatest contribution date (YYYY-MM-DD). Itemized only.
min_dateNoEarliest contribution date (YYYY-MM-DD). Itemized only.
per_pageNoResults per page.
max_amountNoMaximum contribution amount in dollars. Itemized only.
min_amountNoMinimum contribution amount in dollars. Itemized only.
candidate_idNoCandidate ID (e.g., P00003392). Get IDs from openfec_search_candidates results. Enables by_size and by_state aggregates without a committee_id.
committee_idNoReceiving committee ID (e.g., C00703975). Get IDs from openfec_search_committees results.
is_individualNoOnly individual contributions (excludes committee-to-committee transfers). Itemized only.
contributor_zipNoZIP code prefix (starts-with match). Itemized only.
contributor_cityNoContributor city. Itemized only.
contributor_nameNoFull-text donor name search. Itemized only.
contributor_stateNoTwo-letter state code (e.g., CA). Itemized only.
contributor_employerNoFull-text employer search. Itemized only.
contributor_occupationNoFull-text occupation search. Itemized only.

Output Schema

ParametersJSON Schema
NameRequiredDescription
countNoTotal result count (may be approximate for itemized).
noticeNoGuidance when no contributions matched — echoes filters and suggests how to broaden.
resultsYesContribution result set; itemized records or aggregate buckets depending on mode.
paginationNoPage-based pagination info (aggregate modes only).
totalCountYesTotal matching contributions or aggregate rows.
next_cursorNoPagination cursor for the next page of itemized results. Null when no more pages.
search_criteriaNoEcho of the search filters that produced this result set. Populated when results are empty to help diagnose why nothing matched.
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds value by explaining the keyset pagination in itemized mode, sort options, and the deafult cycle behavior. No contradiction with annotations. It could mention rate limits or other traits but is otherwise solid.

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, front-loading purpose and key constraints. Every phrase is necessary, no fluff. It efficiently communicates the core function and mode-specific requirements.

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 18 parameters, 100% schema coverage, existing output schema, and annotations, the description sufficiently covers behavioral aspects like pagination, mode differences, and ID dependencies. An AI agent can confidently invoke the tool based on this information.

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 coverage is 100%, so baseline is 3. The description adds some value by grouping parameters by mode (e.g., 'Itemized only') and providing cross-reference hints like 'Get IDs from openfec_search_candidates results'. However, it does not add significant syntax or format details beyond what the schema already provides.

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 it searches itemized individual contributions (Schedule A) or gets aggregate breakdowns by size, state, employer, or occupation. It includes the specific use-case question 'who is funding this committee?' and distinguishes from sibling tools like openfec_search_committees by focusing on contributions.

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 provides clear when-to-use guidance for different modes: itemized mode requires a committee_id, while by_size/by_state can use candidate_id. It implies alternatives by referencing other tools for candidate/committee IDs. However, it does not explicitly state when not to use this tool or provide exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openfec_search_disbursementsOpenfec Search DisbursementsA
Read-onlyIdempotent
Inspect

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?"

ParametersJSON 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
sortNoSort field. Itemized only.
cycleNoTwo-year election cycle (e.g., 2024). Even years only.
cursorNoOpaque pagination cursor from a previous response. Itemized mode only (keyset pagination).
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

ParametersJSON Schema
NameRequiredDescription
countNoTotal result count (may be approximate for itemized).
noticeNoGuidance when no disbursements matched — echoes filters and suggests how to broaden.
resultsYesDisbursement result set; itemized records or aggregate buckets depending on mode.
paginationNoPage-based pagination info (aggregate modes only).
totalCountYesTotal 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 that produced this result set. Populated when results are empty to help diagnose why nothing matched.
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the agent knows the tool is safe and idempotent. The description does not add extra behavioral details such as rate limits, data freshness, or pagination behavior beyond what is in the parameter schema. It does not contradict annotations.

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?

Two concise sentences: first states core function and modes, second gives usage guidance. No fluff, well-structured.

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 (5 modes, 16 params, output schema exists), the description covers core purpose and usage context. It does not explain each mode's output or pagination but relies on schema and output schema; almost complete.

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 coverage is 100%, so the baseline is 3. The description adds high-level context (e.g., 'itemized' vs 'aggregate') but does not explain each parameter beyond what the schema provides. No additional semantic value.

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 searches itemized committee spending (Schedule B) and provides aggregate breakdowns by purpose or recipient. It specifies the required committee_id and gives example queries that differentiate it from sibling tools like search_contributions or search_expenditures, although not explicitly contrasted.

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 mentions all modes require a committee_id and gives two example use cases. However, it does not explicitly state when not to use this tool (e.g., for contributions) or mention alternatives among sibling tools; the context is clear but lacks explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openfec_search_expendituresOpenfec Search ExpendituresA
Read-onlyIdempotent
Inspect

Search independent expenditures (Schedule E) — outside spending supporting or opposing federal candidates. Covers Super PACs, party committees, and other groups. Use itemized mode for individual expenditure records, or by_candidate for aggregated totals per candidate.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoQuery mode. "itemized" returns individual expenditure records (keyset pagination). "by_candidate" returns aggregated totals per candidate by committee (page-based).itemized
sortNoSort field. Itemized only.
cycleNoTwo-year election cycle (e.g., 2024). Even years only.
cursorNoOpaque pagination cursor from a previous response. Itemized mode only (keyset pagination).
max_dateNoLatest expenditure date (YYYY-MM-DD). Itemized only.
min_dateNoEarliest expenditure date (YYYY-MM-DD). Itemized only.
per_pageNoResults per page.
is_noticeNoOnly 24/48-hour notice filings (near-election spending). Itemized only.
max_amountNoMaximum expenditure amount in dollars. Itemized only.
min_amountNoMinimum expenditure amount in dollars. Itemized only.
payee_nameNoFull-text payee name search. Itemized only.
most_recentNoOnly the most recent version of amended filings. Itemized only.
candidate_idNoTargeted candidate ID (e.g., P00003392). Get IDs from openfec_search_candidates results.
committee_idNoSpending committee ID (e.g., C00703975). Get IDs from openfec_search_committees results.
support_opposeNoS = support, O = oppose. Filter by whether the expenditure supports or opposes the candidate.
candidate_partyNoThree-letter party code of the targeted candidate (e.g., DEM, REP).
candidate_officeNoOffice of the targeted candidate: H=House, S=Senate, P=President.
candidate_office_stateNoTwo-letter state code of the targeted race.

Output Schema

ParametersJSON Schema
NameRequiredDescription
countNoTotal result count (may be approximate for itemized).
noticeNoGuidance when no expenditures matched — echoes filters and suggests how to broaden.
resultsYesExpenditure result set; itemized records or per-candidate aggregates depending on mode.
paginationNoPage-based pagination info (by_candidate mode only).
totalCountYesTotal matching expenditures or per-candidate aggregates.
next_cursorNoPagination cursor for the next page of itemized results. Null when no more pages.
search_criteriaNoEcho of the search filters that produced this result set. Populated when results are empty to help diagnose why nothing matched.
Behavior3/5

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

Description aligns with annotations (readOnlyHint, idempotentHint) by stating 'Search'. It adds limited behavioral context beyond annotations, such as covering outside spending. With annotations covering safety, this score reflects adequate but not enhanced transparency.

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?

Two efficiently written sentences. First sentence defines purpose and coverage; second sentence gives usage guidance. No superfluous words. Front-loaded with the most important 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?

Given 18 parameters with excellent schema descriptions, existing output schema, and annotations covering safety, the description provides sufficient high-level context (modes, coverage, entity types). It does not need to explain returns or paging details. Slight gap: no mention of read-only nature, but annotations fill this.

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 baseline is 3. The description does not add parameter-level details beyond the schema; it only gives high-level purpose. No extra value is provided for individual parameters.

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?

Description clearly states 'Search independent expenditures' and specifies it covers 'outside spending supporting or opposing federal candidates'. It distinguishes between two modes (itemized, by_candidate) and differentiates from sibling tools like contributions and disbursements by focusing on independent expenditures and Schedule E.

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?

Description tells when to use each mode ('Use itemized mode for individual expenditure records, or by_candidate for aggregated totals per candidate') and covers the target entities (Super PACs, party committees). It does not explicitly exclude alternatives or provide when-not-to-use guidance, but the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openfec_search_filingsOpenfec Search FilingsA
Read-onlyIdempotent
Inspect

Search FEC filings and reports by committee, candidate, form type, or date range. Covers financial reports (F3/F3P/F3X), statements of candidacy (F2), organizational filings (F1), 24-hour IE notices (F24), and amendments.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-indexed).
cycleNoTwo-year election cycle (even year).
per_pageNoResults per page.
form_typeNoFEC form type. Common: F3 (House/Senate quarterly), F3P (Presidential), F3X (PAC/party), F24 (24-hour IE notice), F1 (statement of organization), F2 (statement of candidacy), F5 (IE by persons).
filer_nameNoFull-text filer name search.
is_amendedNoFilter to original or amended filings only.
most_recentNoOnly the most recent version (filters out superseded amendments).
report_typeNoReport type code. Common: Q1/Q2/Q3 (quarterly), YE (year-end), M3-M12 (monthly), 12G/12P/30G (pre/post election).
report_yearNoFiling year.
candidate_idNoAssociated candidate ID (e.g., P00003392). Get IDs from openfec_search_candidates results.
committee_idNoFiling committee ID (e.g., C00358796). Get IDs from openfec_search_committees results.
max_receipt_dateNoLatest FEC receipt date (YYYY-MM-DD).
min_receipt_dateNoEarliest date FEC received the filing (YYYY-MM-DD).

Output Schema

ParametersJSON Schema
NameRequiredDescription
noticeNoGuidance when no filings matched — echoes filters and suggests how to broaden.
resultsYesFiling result set; one record per match.
paginationYesPage-based pagination metadata.
totalCountYesTotal matching filings before pagination.
search_criteriaNoEcho of the search filters that produced this result set. Populated when results are empty to help diagnose why nothing matched.
Behavior3/5

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

Annotations already indicate read-only and idempotent behavior. The description does not add additional behavioral context such as pagination limits or data freshness, but does not contradict the annotations.

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, front-loaded with the core action and resource, and contains no unnecessary 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?

The description covers the main search dimensions and lists common form types. An output schema exists, so return values are handled. Minor omission: no mention of sorting or default ordering, but adequate for a search tool.

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?

The input schema has 100% description coverage for all parameters. The description provides general context and examples of form types but does not add meaning beyond the schema's parameter descriptions.

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 searches FEC filings and reports, and lists specific form types (F3, F3P, etc.), distinguishing it from sibling tools that search other entities like candidates or committees.

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 implies usage for filings by committee, candidate, form type, or date range. It does not explicitly exclude other scenarios, but the sibling tool names make the differentiation clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.