Skip to main content
Glama

Insider Trades

insider_trades
Read-onlyIdempotent

SEC Form 4 insider transaction filings for a US-listed company: filing date, the officer/director/10%-owner who filed, whether the filing was made under a Rule 10b5-1 trading plan (rule_10b5_1_plan true/false, null when the filing predates the April 2023 checkbox; plus the plan adoption date and footnote text when stated), and a link to the filing on EDGAR. Answers who at a company has been buying or selling its stock recently. Ticker or company name is resolved to a CIK, so results are that issuer's filings. Response field matched_by says whether the company was matched by ticker or by company name. Counts: returned_form4_filings is the number of rows in filings; total_matching_form4_filings is how many Form 4 filings match upstream for the company and window (never less than returned). DEPRECATED, kept with their old meaning: total_form4_filings (= returned, despite the name) and matched_form4_filings (= total matching); use the new names.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "days": 30,
      "ticker": "NVDA"
    },
    "name": "insider_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook back period in days (default: 365)
limitNoMax filings to return (default: 20, max 200)
tickerYesStock ticker ("AAPL", "NVDA"), company name ("NVIDIA Corp"), or CIK
plan_flagsNoHow many of the newest filings to read for the Rule 10b5-1 plan flag (one SEC request each; default 5, max 25, 0 to skip). Older rows carry plan_flag_status "not_fetched".

Output Schema

NameRequiredDescriptionDefault
cikNoSEC CIK the ticker resolved to (unpadded)
periodYesLook back period description
tickerYesStock ticker in uppercase; null when the company was given as a CIK that the SEC ticker list does not carry
filingsYes
truncatedNoTrue when more filings matched upstream than were returned; raise `limit` to see them
matched_byNoHow the company was matched: ticker, cik or company_name
company_nameNoCanonical SEC registrant name
total_form4_filingsYesDEPRECATED misnomer, kept with its old meaning: number of Form 4 filings RETURNED in `filings` (= filings.length). Use returned_form4_filings.
matched_form4_filingsNoDEPRECATED, kept with its old meaning: number of Form 4 filings matching upstream (the total). Use total_matching_form4_filings.
returned_form4_filingsNoNumber of Form 4 filings returned in `filings`, always equals filings.length
total_matching_form4_filingsNoNumber of Form 4 filings matching upstream for this company and window; at least returned_form4_filings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / ticker / description
      Previous value: -"Stock ticker in uppercase"New value: +"Stock ticker in uppercase; null when the company was given as a CIK that the SEC ticker list does not carry"
    • changedOutput schema / properties / ticker / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed4 schema fields changed
    • changedOutput schema / properties / matched_form4_filings / description
      Previous value: -"Number of Form 4 filings matching upstream for this company and window, which may exceed the number returned"New value: +"DEPRECATED, kept with its old meaning: number of Form 4 filings matching upstream (the total). Use total_matching_form4_filings."
    • addedOutput schema / properties / returned_form4_filings
      Added value: +{
      +  "description": "Number of Form 4 filings returned in `filings`, always equals filings.length",
      +  "type": "number"
      +}
    • changedOutput schema / properties / total_form4_filings / description
      Previous value: -"Number of Form 4 filings RETURNED in `filings`, always equals filings.length"New value: +"DEPRECATED misnomer, kept with its old meaning: number of Form 4 filings RETURNED in `filings` (= filings.length). Use returned_form4_filings."
    • addedOutput schema / properties / total_matching_form4_filings
      Added value: +{
      +  "description": "Number of Form 4 filings matching upstream for this company and window; at least returned_form4_filings",
      +  "type": "number"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / properties / total_form4_filings / description
      Previous value: -"Number of Form 4 filings RETURNED in `filings` — always equals filings.length"New value: +"Number of Form 4 filings RETURNED in `filings`, always equals filings.length"
  4. Changed1 schema field changed
    • addedOutput schema / properties / matched_by
      Added value: +{
      +  "description": "How the company was matched: ticker, cik or company_name",
      +  "type": "string"
      +}
  5. Changed5 schema fields changed
    • addedInput schema / properties / plan_flags
      Added value: +{
      +  "description": "How many of the newest filings to read for the Rule 10b5-1 plan flag (one SEC request each; default 5, max 25, 0 to skip). Older rows carry plan_flag_status \"not_fetched\".",
      +  "type": "number"
      +}
    • addedOutput schema / properties / filings / items / properties / plan_adoption_date
      Added value: +{
      +  "description": "Plan adoption date (YYYY-MM-DD) parsed from the filer's footnote, when stated",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / filings / items / properties / plan_flag_status
      Added value: +{
      +  "description": "read = flag taken from the filing; predates_field = filing has no checkbox; unavailable = document could not be read; not_fetched = beyond the plan_flags window",
      +  "enum": [
      +    "read",
      +    "predates_field",
      +    "unavailable",
      +    "not_fetched"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / filings / items / properties / plan_footnotes
      Added value: +{
      +  "description": "Footnote texts in the filing that mention Rule 10b5-1",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / filings / items / properties / rule_10b5_1_plan
      Added value: +{
      +  "description": "Rule 10b5-1 trading-plan checkbox on the Form 4: true = ticked, false = explicitly unticked, null = filing predates the field (before April 2023), not fetched or unreadable; see plan_flag_status",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  6. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), yet the description still adds real behavior: the Rule 10b5-1 flag is null for filings predating the April 2023 checkbox, older rows carry plan_flag_status 'not_fetched', plan_flags costs one SEC request per filing, and the deprecated count fields are renamed. That is meaningful disclosure beyond the 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.

Conciseness4/5

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

Front-loaded with the resource and the plain-language purpose, then grouped into resolution, counts, and deprecation notes. It is dense but each clause carries information; the deprecated-field paragraph is the wordiest part yet still earns its place by preventing misuse.

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?

Given an output schema and full annotation coverage, the description still closes the remaining gaps an agent would hit: null semantics for the plan flag, the not_fetched status, cost of plan_flags, and the deprecated count-field names. Nothing needed to call or interpret the tool correctly appears to be 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 description coverage is 100%, so the schema already documents days, limit, ticker, and plan_flags, making 3 the baseline. The description adds some value by explaining that ticker or company name is resolved to a CIK and that matched_by reports which path was used, but it does not extend the remaining parameters.

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?

States a specific resource and scope: 'SEC Form 4 insider transaction filings for a US-listed company,' and adds a plain-language summary ('who at a company has been buying or selling its stock recently'). This is specific enough to separate it from the Form 13D and 8-K siblings, though it never names those alternatives 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 'answers who has been buying or selling' sentence implies the use case, and the description notes plan_flags=0 to skip flag fetching, but there is no explicit when-to-use/when-not guidance and no pointer to insider_activity_summary or the other insider_* tools as alternatives.

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.