Skip to main content
Glama

SEC EDGAR: filings, insider trades, 13F

SEC EDGAR Filings Scraper & API: 8-K, 10-K, 10-Q since 1994

search_sec_filings
Read-onlyIdempotent

Get SEC EDGAR filings as clean JSON: 8-K current reports, 10-K annual reports, 10-Q, S-1, 13D, 13G, Form 4, DEF 14A, 20-F and every other form, for one company, a watchlist or the whole market, from filings accepted minutes ago back to 1994. Each row has the company, CIK, ticker, form, filing date and exact acceptance time, the 8-K item codes (2.02 earnings, 5.02 officer changes, 1.01 material agreements, ...) and direct links to the filing and its main document.

Returns filing links, not their text; omit tickers and ciks for the whole market. For Form 4 trades as rows use search_sec_insider_trades; for 13F, N-PORT, 13D/G and Form 144 use get_sec_ownership; for statement figures use get_sec_financials.

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.001 per filing.

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

Input Schema

NameRequiredDescriptionDefault
ciksNoSEC Central Index Keys as digits, leading zeros optional, e.g. ["320193"] for Apple
dateToNoLatest filing date, YYYY-MM-DD
tickersNoCompany tickers, e.g. ["AAPL", "MSFT"]
dateFromNoEarliest filing date, YYYY-MM-DD, e.g. "2020-01-01"
formTypesNoEDGAR form types, exact match, e.g. ["8-K", "10-K", "10-Q"]; also S-1, 13D, 13G, 4, DEF 14A, 20-F, 6-K and any other form
itemCodesNoOnly 8-Ks reporting at least one of these items, as strings, e.g. ["5.02"] (director/officer change), "1.01" (material agreement), "2.01" (acquisition), "1.05" (cybersecurity incident)
maxResultsNoMaximum filings, newest first, e.g. 10 for a company's latest 10 filings
lookbackDaysNoUsed only when `dateFrom` is empty: read filings from this many days back until today, e.g. 365
earningsReleasesOnlyNotrue = only 8-Ks with Item 2.02 (Results of Operations and Financial Condition): the dates and exact times companies released earnings

Output Schema

NameRequiredDescriptionDefault
rowsYes
toolNo
countYes
messageNo
warningsNo
balance_usdNo
charged_usdNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / formTypes / examples
      Added value: +[
      +  [
      +    "8-K",
      +    "10-K",
      +    "10-Q"
      +  ]
      +]
    • addedInput schema / properties / maxResults / examples
      Added value: +[
      +  50
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "balance_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "charged_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "duration_seconds": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "message": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rows": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "accepted_at": {
      +            "description": "EDGAR acceptance time, New York time with offset.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "accession_number": {
      +            "description": "SEC accession number (unique per filing).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "cik": {
      +            "description": "SEC CIK of that company (10 digits).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "company_name": {
      +            "description": "Company the filing is about (issuer or subject; the filer otherwise).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "filing_date": {
      +            "description": "Filing date (YYYY-MM-DD).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "filing_index_url": {
      +            "description": "EDGAR filing index page (all documents and exhibits).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "form": {
      +            "description": "EDGAR form type as filed, e.g. 8-K, 10-K, SC 13D.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "item_descriptions": {
      +            "description": "Names of those items, same order.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "items": {
      +            "description": "8-K item codes, e.g. [\"2.02\", \"9.01\"]. Empty for other forms.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "market_timing": {
      +            "description": "before_open, market_hours or after_close (New York regular session), closed on weekends.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "parties": {
      +            "description": "All companies and people on the filing with their role (Filer, Issuer, Subject, Filed by, Reporting). Null for company searches.",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          },
      +          "primary_document_url": {
      +            "description": "The main document (HTML/iXBRL, text or XML).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "report_date": {
      +            "description": "Period of report (YYYY-MM-DD), e.g. the quarter end of a 10-Q or the event date of an 8-K.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "retrieved_at": {
      +            "description": "UTC time the row was produced.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "schema_version": {
      +            "description": "Output schema version.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "source": {
      +            "description": "submissions-api, full-index, daily-index or live-feed.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "source_url": {
      +            "description": "The SEC page or file the row was read from.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "ticker": {
      +            "description": "Its main ticker in the SEC's current ticker list (null if none).",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "tool": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "rows",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, and the description adds substantial behavior beyond them: per-row pricing, free failures/timeouts (55 s), partial results with a `warnings` field, and rate limits of 60 calls/min (10 on a free key) with a rate_limited refusal and retry guidance. This is well above the annotation bar.

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?

Three tight paragraphs ordered by what it returns, when to use alternatives, then cost and failure behavior — front-loaded and free of filler. It is dense but each sentence carries operational value, with only minor redundancy in repeating the form-type list.

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 9-parameter, open-world search tool, the description covers scope, return shape, alternatives, pricing, timeout and partial-result semantics, plus rate-limit handling. An output schema exists, yet the row-level summary is still accurate and sufficient for an agent to call it correctly.

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 a baseline of 3 applies, but the description adds cross-parameter meaning the schema cannot: omitting `tickers`/`ciks` yields the whole market, and it glosses item codes semantically (2.02 earnings, 5.02 officer changes, 1.01 material agreements) rather than just listing them. Remaining parameters (maxResults, lookbackDays) are not elaborated in prose, but the schema covers them well.

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?

The description opens with a specific verb and resource ("Get SEC EDGAR filings as clean JSON") and enumerates the covered form types and scope (one company, a watchlist, or the whole market, back to 1994). It also states what each row carries (company, CIK, ticker, form, dates, 8-K item codes, links), making it clearly distinguishable from siblings.

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?

It gives explicit routing: use search_sec_insider_trades for Form 4 rows, get_sec_ownership for 13F/N-PORT/13D-G/Form 144, get_sec_financials for statement figures. It also states the in-tool condition "omit `tickers` and `ciks` for the whole market" and warns that it returns links, not filing text.

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.