Skip to main content
Glama

Form4API — SEC Insider Trading

Congress trades by ticker

get_congress_ticker_rollup
Read-onlyIdempotent

Which politicians traded a ticker, with net buy/sell counts (Pro plan+). Returns every politician who has a non-superseded congressional trade in the given ticker, each with their trade/buy/sell counts, plus ticker-level totals. Optional window_days restricts to trades with a transactionDate in the trailing N days; omit for all-time. A ticker with no congress trades returns 200 with an empty politicians array and zero counts rather than 404 — there is no separate ticker/company entity in this dataset to 404 against. Requires Pro plan or higher (402 PLAN_REQUIRED on Free/Starter). Query runs live — no caching.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_congress_ticker_rollup"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesTicker symbol, case-insensitive (e.g. "AAPL").
window_daysNoTrailing window in days ending now, applied to transactionDate. Omit for all-time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive already cover safety), it discloses the exact failure mode (empty politicians array with zero counts, no 404 because there is no ticker entity), the plan-gating error (402 PLAN_REQUIRED on Free/Starter), that superseded trades are excluded, and that queries run live with no caching. These are behaviors an agent could not derive from structured fields.

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

Conciseness5/5

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

Four tight sentences: purpose first, then the return shape, then parameter behavior, then the edge-case/plan/caching notes. Each sentence carries distinct information with no filler.

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 steps in to describe the response shape (per-politician counts plus ticker totals, empty array on no data) and the error contract. For a two-parameter read tool with annotations already covering safety, nothing an agent needs to call it correctly is missing.

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%, so both parameters are already documented, and the description largely restates the window_days trailing-date semantics already in the schema. It does add that the window is applied to transactionDate in the context of the non-superseded filter, but that is marginal value over the schema.

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 a concrete question the tool answers ('Which politicians traded a ticker') and specifies the resource plus the aggregate returned (trade/buy/sell counts, ticker-level totals). It is distinguishable from raw-list siblings like list_congress_trades by being an aggregation keyed on ticker, though no sibling is named explicitly.

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 description covers when to pass versus omit window_days (trailing N days on transactionDate vs all-time) and states the plan prerequisite, which is useful operating context. However, it never says when to choose this rollup over list_congress_trades or get_congress_politician, so the agent must infer that from the purpose sentence alone.

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.