Skip to main content
Glama

Find endorsers

search_endorsers
Read-onlyIdempotent

Find endorsers (unions, newspapers, parties, groups, officials) by name, category, home state or the elections they endorsed in. Returns slugs to use with get_endorser and the endorsers filters, and each endorser’s facts (FEC committee ids, IRS employer id and tax-exemption section, union membership) where we have them. Records in the answer: endorser, endorser-facts (describe_record explains each field, describe_values each coded value).

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

Input Schema

NameRequiredDescriptionDefault
qNoName contains (case-insensitive, up to 100 characters).
langNoes for Spanish ballot text (titles, choices, measure text, statements) where the state publishes it; English otherwise. Names are never translated. Values: en: English (the default). es: Spanish ballot text (titles, choices, measure text, statements) where the state publishes it; English where it doesn’t. Names are never translated.
limitNoResults per page, 1–500.
cursorNoWhere the next page starts: the next_cursor from the previous page. Leave it out for the first page; it is opaque, so pass it back exactly as you got it.
fieldsNoOptional: return only these fields of each record, to keep the answer short. Leave it out to get every field (the default, and the right choice when you are not sure what you need). Comma-separated field names. A dot reaches into a nested object or into every item of a list (choices.label); parentheses group several fields under one (choices(label,party) means choices.label,choices.party). A field named alone comes back whole. Example: "slug,name,category.name,state". Top-level fields here: id, slug, name, category, description, website_url, logo_url, state, party, endorsement_count, facts. next_cursor always comes back, so paging works the same. A field that is null stays null. An unknown name gives an error listing the names that exist there; fix it and call again. describe_record explains every field.
statesNoHome states (USPS codes), or national. Comma-separated (up to 200 values); any of them matches.
electionsNoOnly endorsers with endorsements in these elections (slugs). Comma-separated (up to 200 values); any of them matches.
categoriesNoCategory slugs. Comma-separated (up to 200 values); any of them matches.
min_endorsementsNoOnly endorsers with at least this many contests (endorsement_count). endorsedby.org lists endorsers with 5 or more by default and finds the rest by search; pass 5 to match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Optional: return only these fields of each record, to keep the answer short. Leave it out to get every field (the default, and the right choice when you are not sure what you need). Comma-separated field names. A dot reaches into a nested object or into every item of a list (choices.label); parentheses group several fields under one (choices(label,party) means choices.label,choices.party). A field named alone comes back whole. Example: \"slug,name,category.name,state\". Top-level fields here: id, slug, name, category, description, website_url, logo_url, state, party, endorsement_count, facts. next_cursor always comes back, so paging works the same. A field that is null stays null. An unknown name gives an error listing the names that exist there; fix it and call again. describe_record explains every field.",
      +  "maxLength": 2000,
      +  "type": "string"
      +}
  2. 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 readOnly, idempotent, non-destructive, closed-world, so safety is covered. The description adds value beyond that by disclosing the shape of the answer (slugs plus per-endorser facts, with the caveat 'where we have them') and by naming the record types returned (endorser, endorser-facts) and which companion tools decode them.

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?

Three sentences, front-loaded with the action and entity types, then outputs, then record types. Dense but every clause carries information; the parenthetical entity list and the facts examples are doing real work rather than padding.

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?

For a nine-parameter search with no output schema, the description covers what an agent most needs: what it searches over, what it returns (slugs plus facts), the record-type names in the response, and where to look for field/value explanations. Pagination and field selection are handled in the fully documented schema, so nothing material is missing.

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 each of the nine parameters is already fully documented including defaults, limits and paging semantics. The description only restates the filter dimensions (name, category, home state, elections) that the schema already names; it adds return-shape context but no new constraint or syntax for the parameters themselves.

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+resource (find endorsers) and enumerates the entity types it covers (unions, newspapers, parties, groups, officials) plus the four filter dimensions. It also distinguishes itself from the fetch sibling by saying it 'returns slugs to use with get_endorser', so an agent knows this is the discovery step rather than the detail step.

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 routing is clear: search here by name/category/state/election, then use the returned slugs with get_endorser and the filter tools. There is no explicit 'when not to use' or statement of what to do if you already have a slug, but the intended workflow is unambiguous from the sentence itself.

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