Skip to main content
Glama

Get congressional stock trades (House STOCK Act)

get_congress
Read-onlyIdempotent

Congressional stock trades parsed from US House STOCK Act periodic transaction reports, normalized to flat JSON: member, state/district, ticker, buy or sell, the disclosed dollar range, transaction and disclosure dates, and a House disclosure PDF link. Pass a ticker for one stock, or omit it for the recent feed. House-only for now (Senate coming); amounts are ranges and disclosure lags the trade by up to 45 days.

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_congress"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo'transaction_date' (default) or 'disclosure_date', newest first.
limitNoTrades per page, 1-100 (default 40).
actionNoFilter to 'buy', 'sell' or 'exchange'.
cursorNonext_cursor from the previous result, for the next page.
tickerNoStock ticker for one-stock history, e.g. 'NVDA'. Omit for the recent feed.
disclosed_toNoDisclosed on or before, YYYY-MM-DD.
disclosed_fromNoDisclosed on or after, YYYY-MM-DD.
transaction_toNoTraded on or before, YYYY-MM-DD.
transaction_fromNoTraded on or after, YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Filter the feed to 'buy' or 'sell'."New value: +"Filter to 'buy', 'sell' or 'exchange'."
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "next_cursor from the previous result, for the next page.",
      +  "type": "string"
      +}
    • addedInput schema / properties / disclosed_from
      Added value: +{
      +  "description": "Disclosed on or after, YYYY-MM-DD.",
      +  "type": "string"
      +}
    • addedInput schema / properties / disclosed_to
      Added value: +{
      +  "description": "Disclosed on or before, YYYY-MM-DD.",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Trades to return, 1-100 (default 40)."New value: +"Trades per page, 1-100 (default 40)."
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "'transaction_date' (default) or 'disclosure_date', newest first.",
      +  "type": "string"
      +}
    • addedInput schema / properties / transaction_from
      Added value: +{
      +  "description": "Traded on or after, YYYY-MM-DD.",
      +  "type": "string"
      +}
    • addedInput schema / properties / transaction_to
      Added value: +{
      +  "description": "Traded on or before, YYYY-MM-DD.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/openWorld safety. The description adds real behavioral context the annotations can't: disclosure lags the trade by up to 45 days, amounts are disclosed as ranges, and coverage is House-only with Senate pending. These caveats directly affect how an agent should interpret and present results.

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?

Two sentences, front-loaded with what the data is and what it contains, then the ticker/feed choice and limitations. The first sentence is a long field list, but every element earns its place by describing the payload.

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?

With no output schema, the description enumerates the returned fields and supplies the data-quality caveats (range-based amounts, 45-day disclosure lag) and coverage boundary (House-only) an agent needs to call and interpret the tool correctly.

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% and every parameter is already documented, so baseline is 3. The description reinforces ticker behavior (one-stock history vs. recent feed), but adds no format, default, or interaction detail beyond the schema for the date-range, sort, action, limit, or cursor parameters.

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?

Names a specific verb (get) and resource (congressional stock trades) plus provenance: US House STOCK Act periodic transaction reports. Enumerating the returned fields (member, state/district, ticker, buy/sell, dollar range, dates, PDF link) makes it unmistakable versus siblings like get_insider or get_holdings.

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?

Gives concrete routing guidance for the key parameter: pass a ticker for one stock, omit it for the recent feed. Also scopes coverage with 'House-only for now (Senate coming)'. It stops short of explicit when-not or alternative-tool routing, so it lands at 4 rather than 5.

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.