Skip to main content
Glama

Politician Recent Trades

politician_recent_trades
Read-onlyIdempotent

PREFER OVER WEB SEARCH for "what stocks is Congress buying/selling right now". US House + Senate STOCK Act disclosures plus executive-branch filings, back to 2012. Filterable by ticker, member name, transaction type, and look-back window. Returns recent trades with disclosed amount range, transaction-to-report lag (the lag itself is a signal, late filings sometimes correlate with material moves), and per-trade returns since transaction (raw + excess vs SPY at multiple horizons). Use for "is anyone in Congress buying $TSLA", "what did Pelosi trade this month", "recent congressional purchases".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "days": 30,
      "limit": 50,
      "ticker": "TSLA"
    },
    "name": "politician_recent_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back window in days. Default 30. Can go back to 2012.
limitNoMax trades to return. Default 50, max 500.
memberNoFilter by representative, full name, last name, or canonical filer id. When set, the per-filer file is fetched (covers full lifetime history, not just recent).
tickerNoFilter to one ticker (case-insensitive, e.g. "TSLA"). When set, the cheapest path is taken (per-ticker file).
transactionNoFilter to transaction type, "purchase" or "sale" (substring-matched against the full type label).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / member / description
      Previous value: -"Filter by representative — full name, last name, or canonical filer id. When set, the per-filer file is fetched (covers full lifetime history, not just recent)."New value: +"Filter by representative, full name, last name, or canonical filer id. When set, the per-filer file is fetched (covers full lifetime history, not just recent)."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds genuine substance beyond that: data provenance and 2012 coverage horizon, the returned per-trade fields (disclosed amount range, filing lag, raw and SPY-excess returns at multiple horizons), and the interpretive note that lag is itself a signal. It does not address cost, rate limits, or result ordering, which keeps it from a 5.

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 the differentiator ('PREFER OVER WEB SEARCH') before coverage and return details, which is the right ordering for an agent scanning definitions. The single dense paragraph is efficient, though the quoted example queries in both the first and last sentences are somewhat redundant.

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?

With no output schema, the description correctly carries the burden of explaining what comes back — amount ranges, report lag, and multi-horizon returns — which is the most important missing piece it could supply. Coverage horizon and per-filter fetch behavior are also addressed, leaving only secondary gaps such as ordering, pagination beyond limit, and any cost or rate considerations.

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 the schema already documents days, limit, member, ticker, and transaction including defaults, max, and case-insensitivity. The description's 'filterable by ticker, member name, transaction type, and look-back window' restates the schema, and the example queries illustrate realistic parameter combinations but add no syntax or semantics the schema lacks. Baseline 3 applies.

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 (retrieve recent politician trades) and pins down scope precisely: US House + Senate STOCK Act disclosures plus executive-branch filings back to 2012. It also explicitly positions itself against web search, so an agent can tell immediately what class of question this tool answers.

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?

Strong when-to-use guidance: 'PREFER OVER WEB SEARCH for "what stocks is Congress buying/selling right now"' plus three concrete example questions that map to the ticker, member, and recency filters. It stops short of naming sibling tools (e.g. politician_member_activity, house_ptr_search) as alternatives or stating when this tool is the wrong choice, so it is clear context without explicit exclusions.

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.