Skip to main content
Glama

get_congressional_trades

Read-only

Returns trade records disclosed by U.S. members of Congress under the STOCK Act (Senate eFD and House Clerk Periodic Transaction Reports): one disclosed transaction by a member or their immediate family per row. The same filings are published free as news at https://keyvex.com/disclosures under 5 U.S.C. § 13107(c). These are DISCLOSED trades, due within 45 days and some filed later: disclosure_date is when the public could first see the trade, transaction_date when it happened. Amounts are STOCK Act ranges (e.g. '$1,001 - $15,000'); amount_min and amount_max hold the bounds. Each 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). Amendments, superseded rows and non-market events: keyvex.com/docs/tools/get_congressional_trades

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

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50.
ownerNo
sinceNoYYYY-MM-DD, inclusive, on the sort_by date.
untilNoYYYY-MM-DD, inclusive, on the sort_by date.
cursorNoThe previous page's next_cursor, verbatim; keep filters and sort identical.
tickerNoCase-insensitive.
chamberNo
sort_byNoAlso the since/until field. Default disclosure_date.
min_amountNoamount_min >= this (USD): the range's lower bound.
sort_orderNoDefault desc.
bioguide_idNoCongressional ID, e.g. 'C001035'; preferred over member_name.
member_nameNoName substring, case-insensitive.
amendment_statusNoDefault all. Most amendment rows add disclosures, not duplicates. House: 'unknown' only where the report shows no status (scans).
transaction_typeNobuy = Purchase (P); sell = full or partial Sale (S); exchange = Exchange (E). Omit for all three.
exclude_supersededNoDrop rows a later filing restates or withdraws. Default false: SET IT WHEN SUMMING AMOUNTS, or totals double-count.
include_non_open_marketNofalse: market trades plus unclassified rows only (no gifts, exchanges or corporate actions). Default false with transaction_type, else true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / include_non_open_market / description
      Previous value: -"false: market trades plus unclassified rows only (no gifts). Default false with transaction_type, else true."New value: +"false: market trades plus unclassified rows only (no gifts, exchanges or corporate actions). Default false with transaction_type, else true."
  2. Changed2 schema fields changed
    • changedInput schema / properties / amendment_status / description
      Previous value: -"Default all. Most amendment rows add disclosures, not duplicates. Every House row is 'unknown'."New value: +"Default all. Most amendment rows add disclosures, not duplicates. House: 'unknown' only where the report shows no status (scans)."
    • changedInput schema / properties / exclude_superseded / description
      Previous value: -"Drop originals a later amendment restates. Default false: SET IT WHEN SUMMING AMOUNTS, or totals double-count."New value: +"Drop rows a later filing restates or withdraws. Default false: SET IT WHEN SUMMING AMOUNTS, or totals double-count."
  3. Changed16 schema fields changed
    • changedInput schema / properties / amendment_status / description
      Previous value: -"Filter by whether the row came from an original filing or an AMENDMENT. Default: all three, deliberately — most amendment rows are NOT duplicates, they are disclosures the amendment added (181 of 198 recent Senate amendment rows have no original). Use 'original' to exclude restatements, accepting that you will also drop genuinely new disclosures. 'unknown' is every House row: the Clerk index carries no amendment indicator, so it cannot be determined from the source."New value: +"Default all. Most amendment rows add disclosures, not duplicates. Every House row is 'unknown'."
    • changedInput schema / properties / bioguide_id / description
      Previous value: -"Member's permanent congressional ID, e.g. 'C001035' for Susan Collins. Preferred over member_name when known. Pair with get_member_profile to enrich a trade with the member's party/state/committee assignments."New value: +"Congressional ID, e.g. 'C001035'; preferred over member_name."
    • removedInput schema / properties / chamber / description
      Removed value: -"Filter to one chamber. Senate PTRs are HTML-parsed from efdsearch.senate.gov. House PTRs are PDF-parsed from disclosures-clerk.house.gov."
    • changedInput schema / properties / cursor / description
      Previous value: -"Pass the `next_cursor` from the previous response VERBATIM to fetch the next page. Keep every other filter and the sort identical while paging. Omit to start from the top."New value: +"The previous page's next_cursor, verbatim; keep filters and sort identical."
    • changedInput schema / properties / exclude_superseded / description
      Previous value: -"Drop ORIGINAL disclosures that a later amendment restates. Default FALSE — they are returned, marked `superseded_by_amendment: true`, and the envelope carries `superseded_rows_included` plus a coverage_warning naming the count. ⚠ SET THIS WHENEVER YOU ARE SUMMING AMOUNTS. A member who amends a report has BOTH versions in the data — Boozman's Chevron trade appears as an amendment and an original, identical in every visible field under two report ids — so any total over the default response DOUBLE-COUNTS them. 2,360 of 13,642 original Senate rows are in that state (measured 2026-08-27). It is not the default because Senate amendments do not declare WHICH report they replace, so the match is made on member + transaction date + ticker + owner + asset name; dropping on that identity alone is a judgement the caller should make knowingly. House rows are never affected — the Clerk index carries no amendment indicator, so their status is 'unknown' and they are never marked."New value: +"Drop originals a later amendment restates. Default false: SET IT WHEN SUMMING AMOUNTS, or totals double-count."
    • changedInput schema / properties / include_non_open_market / description
      Previous value: -"Phase A v0.52.0 (2026-05-24): controls whether NON-MARKET events appear in the result. When false (honest default for direction queries), keeps ONLY OPEN_MARKET rows plus INSUFFICIENT_DATA rows (passthrough — unclassified is not the same as confirmed non-market, never silently dropped). Excludes both NON_OPEN_MARKET_TRANSFER (charitable contributions, gifts, donations detected in `comment`) AND EQUITY_COMP (rare for congressional but handled identically for parity). Honest-by-default: with transaction_type='buy'|'sell' → defaults to FALSE so a charitable contribution can't pollute a sell-total query. Without transaction_type → defaults to TRUE (everything tagged honestly). The transaction_type field on each row is NEVER mutated. Example: `member_name:'Pelosi', transaction_type:'sell'` by default EXCLUDES Pelosi's Trinity University contribution; `include_non_open_market:true` re-includes it. Envelope carries `unclassifiable_records_retained: N` when any INSUFFICIENT_DATA rows passed through."New value: +"false: market trades plus unclassified rows only (no gifts). Default false with transaction_type, else true."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum records to return. Default 50, max 500."New value: +"Default 50."
    • changedInput schema / properties / member_name / description
      Previous value: -"Full or partial member name; case-insensitive substring match. Examples: 'Collins', 'Pelosi'."New value: +"Name substring, case-insensitive."
    • changedInput schema / properties / min_amount / description
      Previous value: -"Filter to trades with amount_min >= this value (USD). Use to focus on larger disclosed trades. Note: amount ranges are minimums, so '$1,001 - $15,000' has amount_min=1001."New value: +"amount_min >= this (USD): the range's lower bound."
    • removedInput schema / properties / owner / description
      Removed value: -"Who owns the asset. STOCK Act covers spouse and dependent children's trades too — this filter narrows to one ownership category."
    • changedInput schema / properties / since / description
      Previous value: -"ISO date (YYYY-MM-DD). Only records on or after this date, using sort_by as the date field."New value: +"YYYY-MM-DD, inclusive, on the sort_by date."
    • changedInput schema / properties / sort_by / description
      Previous value: -"Field used by since/until and ordering. Default: disclosure_date (when the public first saw the trade)."New value: +"Also the since/until field. Default disclosure_date."
    • changedInput schema / properties / sort_order / description
      Previous value: -"Default: desc (most recent first)."New value: +"Default desc."
    • changedInput schema / properties / ticker / description
      Previous value: -"Stock symbol filter, e.g. 'AAPL'. Case-insensitive. Leave empty to query across all tickers."New value: +"Case-insensitive."
    • changedInput schema / properties / transaction_type / description
      Previous value: -"Filter by disclosed transaction type. 'buy' = Purchase (P); 'sell' = Sale, full or partial (S); 'exchange' = Exchange (E) — bond maturities, corporate spin-offs, and share-class exchanges, which are disclosed trades too. Leave empty to include all three."New value: +"buy = Purchase (P); sell = full or partial Sale (S); exchange = Exchange (E). Omit for all three."
    • changedInput schema / properties / until / description
      Previous value: -"ISO date (YYYY-MM-DD). Only records on or before this date."New value: +"YYYY-MM-DD, inclusive, on the sort_by date."
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations it discloses real behavioral traits: these are DISCLOSED trades with a 45-day filing window and late filings, so disclosure_date and transaction_date differ materially; amounts are binned ranges rather than exact values; and records can be restated or withdrawn by later filings. That is genuine data-quality disclosure the annotations cannot carry, though the party-assignment rule is explained at a level of detail disproportionate to its usefulness.

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?

Front-loaded with purpose and grain, then caveats — a sensible ordering with no filler sentences. It loses a point because the single sentence about party-on-date, nearest-term fallback is dense and tangential enough to bury the more operationally important date and amount semantics.

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?

For a 16-parameter tool with no output schema, the definition does a solid job describing what a row represents and which fields matter, plus a pointer to docs for amendments and superseded rows. It stops short of enumerating the remaining returned fields, so an agent still cannot fully predict the response shape without calling it.

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 already 88%, so the baseline is 3, but the description adds real semantics the schema cannot: the disclosure_date vs transaction_date distinction and its consequence for filtering, and the fact that amount_min/amount_max are bounds of a STOCK Act range rather than a point estimate. It does not touch several controls such as exclude_superseded or include_non_open_market, which are handled only inside 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?

States a specific verb and resource — trade records disclosed by U.S. members of Congress under the STOCK Act — and pins the grain explicitly (one disclosed transaction by a member or immediate family per row), which separates it cleanly from sibling filing tools like get_annual_financial_disclosures or get_activist_stakes.

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?

Usage context is implied rather than stated: the description explains what the data is and defers edge cases (amendments, superseded rows, non-market events) to a docs URL, but never says when to reach for this tool versus a sibling disclosure tool, nor when to stop.

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