Skip to main content
Glama

unified_search

Read-only

Fan-out search by identifier, results grouped by source: ticker (13 collections), company_cik (11), cusip (4), bioguide_id (congressional_trades, annual_financial_disclosures; in both, a record's party is the party the member held on the date of the record (a trade's transaction date, a disclosure's filing date); for a date outside the member's terms in office, the party of their nearest term (the last one before that date, or the first one after it).), recipient_uei (federal_contracts), company_name (5 name-keyed, plus the ticker and CIK it resolves to). Congressional-trade and annual financial disclosure results come from STOCK Act and Form 278 filings. The same filings are published free as news at https://keyvex.com/disclosures under 5 U.S.C. § 13107(c). A failed or unreached source sets partial: true. Collections: keyvex.com/docs/tools/unified_search

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

Input Schema

NameRequiredDescriptionDefault
cusipNo
limitNoAlias for per_source_limit.
sinceNoYYYY-MM-DD, inclusive, on each source's primary date.
untilNoInclusive.
tickerNoCase-insensitive.
sourcesNoOnly these sources (names as in sources_queried).
bioguide_idNo
company_cikNo10-digit SEC CIK.
company_nameNo
recipient_ueiNo
per_source_limitNoDefault 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • removedInput schema / properties / bioguide_id / description
      Removed value: -"Congressional bioguide ID (e.g. P000197 for Pelosi). Fans out to 2 collections."
    • changedInput schema / properties / company_cik / description
      Previous value: -"SEC CIK number for an issuer (10-digit, leading zeros). Fans out to 8 SEC collections."New value: +"10-digit SEC CIK."
    • removedInput schema / properties / company_name / description
      Removed value: -"Issuer name (e.g., 'Lockheed Martin', 'Wells Fargo'). Resolves to ticker + CIK via EDGAR catalog (if US-listed) AND substring-filters name-keyed collections (federal_contracts, enforcement_actions, consumer_complaints, product_recalls, fda_approvals). For a company's lobbying activity, call get_lobbying_filings directly — it is excluded here for fan-out latency."
    • removedInput schema / properties / cusip / description
      Removed value: -"9-character CUSIP security identifier. Fans out to institutional_holdings, activist_ownership, nport_holdings, treasury_auctions."
    • changedInput schema / properties / limit / description
      Previous value: -"Alias for per_source_limit (this is a fan-out, so the cap is per source). Default 5, max 50."New value: +"Alias for per_source_limit."
    • changedInput schema / properties / per_source_limit / description
      Previous value: -"Max records per source. Default 5, max 50."New value: +"Default 5."
    • removedInput schema / properties / recipient_uei / description
      Removed value: -"USAspending recipient UEI. Fans out to federal_contracts only."
    • changedInput schema / properties / since / description
      Previous value: -"ISO date (YYYY-MM-DD). Applied to each collection's primary date field."New value: +"YYYY-MM-DD, inclusive, on each source's primary date."
    • changedInput schema / properties / sources / description
      Previous value: -"Optional whitelist of source names. Default: all collections that index the provided identifier(s)."New value: +"Only these sources (names as in sources_queried)."
    • changedInput schema / properties / ticker / description
      Previous value: -"Stock symbol. Case-insensitive. Fans out to 13 collections."New value: +"Case-insensitive."
    • changedInput schema / properties / until / description
      Previous value: -"ISO date (YYYY-MM-DD). Inclusive upper bound."New value: +"Inclusive."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so the safety profile is covered; the description goes meaningfully beyond by disclosing the partial-result semantics ('a failed or unreached source sets partial: true'), the provenance of congressional data (STOCK Act and Form 278 filings) and the party-attribution rule for out-of-term dates. It does not describe pagination beyond per_source_limit defaults or ordering within groups.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and identifier mapping are front-loaded, but the bioguide_id parenthetical is a long nested clause about party determination that buries a useful caveat mid-sentence, and the licensing/provenance sentence competes with operational content. Information-dense yet hard to scan in one pass.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter, no-required-parameter tool with no output schema, the description covers source grouping and the partial flag but never spells out the actual result shape (beyond 'grouped by source') or how multiple simultaneous identifiers are combined. Coverage is adequate but leaves an agent guessing on non-trivial invocation semantics.

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?

With 64% schema coverage and 11 parameters, the description compensates well by explaining what each identifier resolves to (notably that company_name also returns the ticker and CIK it resolves to, and that bioguide_id hits only two collections). It adds no detail on how 'since'/'until' map to each source's 'primary date', which is left opaque.

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 operation ('fan-out search by identifier') plus the result organization ('results grouped by source'), and enumerates exactly which identifier types fan out to which collections (ticker/13, company_cik/11, cusip/4, bioguide_id/2, recipient_uei/1, company_name/5). An agent can tell this apart from the single-source get_* siblings without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The identifier list implies 'use this when you have an identifier and want broad coverage,' and the 'sources' parameter plus 'partial: true' note imply narrowing/fallback patterns. But there is no explicit when-to-use versus the per-source sibling tools (e.g. get_congressional_trades), and no statement about whether multiple identifiers combine as AND or OR.

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