Skip to main content
Glama

senate_trades_by_ticker

Retrieve normalized U.S. Senate stock trades for a ticker, with transaction and disclosure dates, amounts, owner, and reporting lag to analyze congressional trading activity.

Instructions

Normalized US Senate trades: { format: "json", ticker, name, series: [{date, senator, trade_type, amount_min, amount_max, amount_exact, amount_raw, disclosure_date, owner, amount_as_filed, amount_flag}, ...], series_count, series_total } date is the transaction date; disclosure_date is when the trade was publicly disclosed in the member's periodic transaction report. The gap between them is the reporting lag. owner is the beneficial owner of the traded account: "SELF", "SP" (spouse), "DC" (dependent child), "JT" (joint), an account code, or "UNKNOWN" for blank Senate filings. owner and disclosure_date are nullable, though rare — historical rows were backfilled upstream. amount_raw is the amount string as served by the API, normalized to a statutory STOCK Act bracket when the filed string is an unambiguous variant of one; amount_as_filed then preserves the original filing. amount_flag is "review" or "ambiguous" when the filed amount could not be safely normalized (amount_raw keeps the filed string, or "Unknown"); both are null on all other rows. Senate collection has been paused since 2026-10-22 (the Senate site refuses automated access), so no newer Senate filings appear; House collection continues. CSV returns the sliced series.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "req": "<req>"
    },
    "name": "senate_trades_by_ticker"
  }
}

Input Schema

NameRequiredDescriptionDefault
reqYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.7
    • changedInput schema / properties / req / properties / date_from / description
      Previous value: -"YYYY-MM-DD"New value: +"YYYY-MM-DD; bounds the transaction date, not disclosure_date"
    • changedInput schema / properties / req / properties / date_to / description
      Previous value: -"YYYY-MM-DD"New value: +"YYYY-MM-DD; bounds the transaction date, not disclosure_date"
  2. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With zero annotations the description carries the full burden, and it does disclose a lot: field nullability, the meaning of `amount_flag`, the reporting-lag concept, and a critical freshness warning that no newer Senate filings exist after 2026-10-22. It omits truncation behavior — `limit` defaults to 100 and caps at 5000, and the presence of `series_count` vs `series_total` implies paging, yet neither is explained.

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?

Sentences are dense and each carries information, but the description front-loads a pseudo-JSON return schema instead of a one-line statement of what the call does and returns. A lead sentence about ticker-scoped Senate trades would let an agent decide before parsing field notes.

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?

No output schema exists, so the description rightly documents the returned object and its field semantics, including nullable `owner`/`disclosure_date` and backfill caveats. The remaining gap is result-set size and ordering behavior, which matters given the 5000-row cap and long-lived historical data.

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?

Reported schema coverage is 0%, so the description must compensate; it explains `format` ("CSV returns the sliced `series`") and reinforces that dates bound the transaction date rather than disclosure date, which is a genuine semantic addition. It says nothing about `limit` (default, max, truncation) or the expected `ticker` format, leaving two of five parameters unexplained in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with "Normalized US Senate trades" and documents the returned record shape, so the resource and its normalization are unambiguous; the ticker scoping is only implied (the schema's required `ticker` supplies it). It never names `house_trades_by_ticker` or `screener_senate_trades`, but "Senate" alone separates it from the House sibling.

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

Usage Guidelines2/5

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

There is no when-to-use statement, no exclusion, and no pointer to the screener or House alternatives even though those siblings exist. The only context given is a data-availability note (Senate collection paused since 2026-10-22), which is useful but is not selection guidance.

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