Skip to main content
Glama
cyntrica

Gov Data MCP

by cyntrica

fec_search_candidates

Read-only

Find federal election candidates by name, state, party, office, or election year using Federal Election Commission data.

Instructions

Search for federal election candidates by name, state, party, office, or election year. Data from the Federal Election Commission (FEC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoCandidate name to search for
pageNoPage number (default: 1)
partyNoThree-letter party code: 'DEM', 'REP', 'LIB', 'GRE', etc.
stateNoTwo-letter state code, e.g. 'CA', 'TX', 'NY'
officeNoOffice: H=House, S=Senate, P=President
per_pageNoResults per page (default: 20, max: 100)
election_yearNoElection year, e.g. 2024
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is clear. The description adds the fact that the data comes from the FEC and that it supports searching by the listed fields, but it does not describe pagination behavior (although per_page and page parameters exist), result ordering, or any rate limits. This adds minimal context beyond the annotations and schema.

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 one efficient sentence: it states the tool's purpose, lists the primary filter dimensions, and identifies the data source. No fluff, no repetition of schema details. It is front-loaded with the action verb 'Search' and resource.

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 this is a search tool with good schema descriptions and a readOnly annotation, the description is sufficiently complete. It covers the essential purpose and filter dimensions. It does not mention pagination defaults or output structure, but for a search tool with no output schema and clear parameters, that is a minor gap. Naming sibling alternatives (e.g., fec_search_committees) would have made it a 5.

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%, as every parameter has a description in the schema. The tool description lists the search dimensions (name, state, party, office, election year) which nicely summarizes the parameters, but adds no new semantics beyond the schema. Baseline 3 is appropriate because the schema does the heavy lifting.

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 uses the specific verb 'Search' and specifies the resource ('federal election candidates') along with the key filter dimensions: name, state, party, office, or election year. It also provides the data provenance ('Data from the Federal Election Commission (FEC)'), which clearly distinguishes this tool from sibling tools like fec_search_committees or fec_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?

The description clearly states what the tool searches (federal election candidates) and what filters are available. It does not explicitly exclude alternatives like fec_search_committees or mention when to prefer this over fec_candidate_financials, but the context of candidate search is clear enough for an agent to differentiate. A brief note about when to use committee search would make it a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyntrica/gov-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server