Skip to main content
Glama

Bosco Labs: official records for AI agents

SEC Insider Trading API (Form 4): stock transactions since 2006

search_sec_insider_trades
Read-onlyIdempotent

Get every insider purchase and sale reported to the SEC on Form 4, from today's filings back to 2006, as clean JSON rows: who traded (director, CEO, 10% owner), what, when, how many shares, at what price, and how many they hold afterwards. Plus cluster-buy and cluster-sell signals: the moment two or more directors or officers of the same company buy, or sell, their own stock within a few weeks. Filter by ticker, CIK, transaction code, insider role, value and date.

Default window: the last 7 days for the whole market, 90 days for named companies. For the filings themselves use search_sec_filings.

Inputs: tickers or ciks (up to 5) name companies; omit both for the whole market. Dates: dateFrom/dateTo, or lookbackDays when dateFrom is empty. transactionCodes defaults to P and S (open-market buys and sells); insiderRoles and minValueUsd (US dollars, shares x price) narrow them. A cluster is 2 or more insiders of one company trading within clusterWindowDays: clusterBuysOnly/clusterSellsOnly keep only those trades, includeClusterSignals adds one summary row per cluster.

Read-only, no side effects. Charged per row returned, at the price below; a call that fails or runs out of time (55 s) is free. If one source does not answer, the rest still comes back and warnings names the gap. Limit: 60 calls a minute per key (10 on a new free key); past it the call is refused (rate_limited, free): retry after about 10 seconds.

Price: $0.0002 per unit (transaction=9, cluster-signal=100).

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": "search_sec_insider_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
ciksNoIssuer SEC Central Index Keys as digits, leading zeros optional, e.g. ["320193"] for Apple
dateToNoLatest filing date, YYYY-MM-DD, e.g. "2024-12-31"
tickersNoOptional: issuer stock tickers, e.g. ["AAPL", "TSLA"]
dateFromNoEarliest filing date, YYYY-MM-DD, e.g. "2024-01-01"
maxResultsNoMaximum transaction rows, newest first, e.g. 200
minValueUsdNoMinimum transaction value in USD (shares x price), e.g. 100000
insiderRolesNoOnly insiders with one of these roles: director, officer, ten_percent_owner, other, e.g. ["director", "officer"]
lookbackDaysNoUsed only when `dateFrom` is empty: read filings from this many days back until today, e.g. 30
clusterBuysOnlyNotrue = only open-market purchases that are part of a cluster: at least 2 different directors or officers of the same company buying, filed within `clusterWindowDays`, together worth at least $100,000
clusterSellsOnlyNotrue = only open-market sales that are part of a cluster (same rule as cluster buys, for sales)
transactionCodesNoForm 4 transaction codes to return, e.g. ["P"] for open-market purchases only
clusterWindowDaysNoHow many days of filings count as one cluster of insider buying or selling, e.g. 14
includeClusterSignalsNotrue = also output one row per cluster signal (record_type "cluster"): the day several insiders of a company bought or sold together

Output Schema

NameRequiredDescriptionDefault
rowsYes
toolNo
countYes
messageNo
warningsNo
balance_usdNo
charged_usdNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, but the description adds materially new behavior: per-row pricing, a 55-second timeout after which the call is free, graceful degradation with a warnings field when a source fails, and rate limits (60/min, 10 on a new free key) with retry-after guidance. That is exactly the operational context the annotations cannot carry.

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 what the tool returns and why it matters, then defaults, inputs, and cost/limits in distinct blocks. Dense but every block carries information; the long middle sentence packing all inputs is the only place readability slips.

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?

For a 13-parameter, zero-required tool with an output schema, the description still covers row contents, cluster semantics, defaults, failure behavior, cost and limits — everything needed to call it correctly and to predict the bill. Nothing material is left to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining interaction rules the schema states only locally — lookbackDays is ignored when dateFrom is set, tickers/ciks cap at 5, transactionCodes default to P/S, minValueUsd is shares x price, and a cluster requires 2+ insiders within clusterWindowDays. Some of this restates schema descriptions, which caps it below 5.

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 (insider purchases and sales reported on SEC Form 4), the coverage window (today back to 2006), the row shape, and the added cluster-signal dimension. It explicitly distinguishes itself from search_sec_filings, so an agent can separate the two without opening the schema.

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

Usage Guidelines5/5

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

Gives concrete defaults (last 7 days market-wide, 90 days for named companies), states that omitting tickers/ciks means whole market, and routes filing-level needs to search_sec_filings. The conditions that select each mode are spelled out rather than implied.

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.