Skip to main content
Glama
SEC Form 4 Insider Trades MCP Server

SEC Form 4 Insider Trades MCP Server

Get SEC Form 4 insider trades

get_insider_trades
Read-onlyIdempotent

Retrieve SEC Form 4 insider trades by ticker, CIK, company, or insider, or read the newest filings, with filters for transaction code, value, filing date, amendments, and derivatives.

Instructions

Returns insider transactions parsed from SEC Form 4 filings for companies given as tickers, CIK numbers, or exact company names, for insiders given as CIKs or EDGAR names, or for the newest Form 4 filings across all companies. One row per transaction with insider name and role, transaction date and code (P purchase, S sale, A grant, M exercise, and others), shares, price, value in US dollars, shares owned after, and links to the filing on sec.gov, plus a free summary row per source. Filter by transaction code, minimum value, filing date, and derivative 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_insider_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
dedupeNotrue (default) returns each trade once per run, even when a company and an insider both find it. Repeats are not charged.
insidersNoInsider CIK numbers (1780525), or names exactly as EDGAR files them, usually last name first (Newstead Jennifer). Each insider returns the trades they reported across every company.
companiesNoTickers (AAPL), SEC CIK numbers (320193), or company names (Apple Inc.). Each company returns the insider trades filed on Form 4 for its shares, newest filing first. A name must match an EDGAR company name exactly, legal form words such as Inc ignored. In Clay, put the column inside a one item list.
filed_afterNoOptional date, YYYY-MM-DD. Keeps Form 4 filings filed on or after this date.
filed_beforeNoOptional date, YYYY-MM-DD. Keeps Form 4 filings filed on or before this date.
min_value_usdNoOptional. Keeps trades whose shares times price is at least this many US dollars. Trades with no price are dropped when this is set.
latest_filingsNoOptional. Number of the newest Form 4 filings to read across all companies, 1 to 1000, from EDGAR's latest filings feed. 0 or empty turns it off.
max_charge_usdNoOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.
transaction_codesNoSEC transaction codes to keep, for example P (open market purchase) and S (sale). Others: A grant, M option exercise, F tax withholding, G gift, D disposition to issuer, C conversion, X exercise, J other. Empty keeps every code.
include_amendmentsNotrue (default) also reads amended filings (4/A). false skips them.
include_derivativeNotrue (default) also returns Table II trades in options, warrants, and other derivatives. false returns shares (Table I) only.
max_trades_per_sourceNoMost trade rows for each company, each insider, and the latest filings, 1 to 5000. Default 100.
max_filings_per_sourceNoMost Form 4 filings read for each source, newest first, 1 to 2000. Default 100. Raise it to reach older trades or when filters keep few trades.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive, so safety is covered. The description adds genuinely new behavior beyond that: one row per transaction, the exact row shape returned (insider role, code, shares, price, value, holdings after, sec.gov links) and the fact that a free summary row comes per source. It omits cost/rate-limit mechanics and amendment/derivative defaults, which live only in the schema.

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?

Purpose is front-loaded in the first clause, with source modes and then output shape following in a logical order. The output enumeration is dense but every listed field is load-bearing given there is no output schema. Minor cost: it is essentially two very long sentences rather than a scannable structure.

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 13 optional parameters, no output schema, and fully documented schema descriptions, the main burden on the description is explaining what comes back — which it does thoroughly, including the summary row. Missing only cost/charging caveats and the default behavior of include_amendments/include_derivative, which the schema carries.

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 every parameter is already documented with types, ranges and defaults. The description mainly restates those filter dimensions and repeats the transaction-code glossary (P, S, A, M) already present in the transaction_codes schema. It adds no syntax or format detail beyond the structured fields, so 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 and resource ('Returns insider transactions parsed from SEC Form 4 filings') and enumerates the three lookup modes: by company, by insider, or the newest filings across all companies. An agent immediately knows what data comes back and how sources are keyed.

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?

Explains the selector logic well — companies accept tickers/CIKs/names, insiders accept CIKs/EDGAR names, and latest_filings is the 'across all companies' mode. It also names the practical filters (transaction code, minimum value, filing date, derivative trades). It stops short of stating when to prefer one mode over another or any exclusions, but with no siblings there is little to disambiguate against.

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

Deploy Server

Other Tools