Compare sections across SEC filings
diff_filing_sectionsCompare what changed between a company's 10-K or 10-Q filings. All views return source-linked added, removed and modified passages with SEC filing dates and accession numbers. Four views:
view="sentences" (default): full sentence-level diff of ONE Item (itemNumber, e.g. '1A' Risk Factors, '7' MD&A for a 10-K, '2' MD&A for a 10-Q) between two filings — the latest two unless you pass oldAccessionNumber/newAccessionNumber. Covers every sentence. Only pass oldText/newText for text from elsewhere.
view="brief": a prioritized brief across up to 4 sections (itemNumbers; defaults to 1A and 7 for 10-K, or 1A and 2 for 10-Q) of the latest two filings, ordered by a deterministic keyword and change-type heuristic; maxChanges 1–30, default 12. Reports extraction failures per section.
view="risk_topics": Item 1A changes grouped by a fixed risk keyword taxonomy (passages can sit in several categories or stay unclassified).
view="mda_topics": MD&A changes grouped by fixed topics — revenue/demand, margins, liquidity, capital, accounting estimates, trends; unclassified passages stay visible. Ordering and categories are search aids; they do not establish materiality or causality. Not financial or legal advice.
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": "diff_filing_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | sentences | |
| ticker | No | Company ticker, e.g. TSLA. Required except when diffing raw oldText/newText. | |
| newText | No | view=sentences: raw section text from the later filing (only if not using ticker + itemNumber) | |
| oldText | No | view=sentences: raw section text from the earlier filing (only if not using ticker + itemNumber) | |
| formType | No | 10-K | |
| itemNumber | No | view=sentences: Item to compare, e.g. '1A' or '7' for a 10-K, '2' for 10-Q MD&A | |
| maxChanges | No | view=brief: maximum changed passages returned | |
| itemNumbers | No | view=brief: sections to compare; omit for the defaults | |
| newAccessionNumber | No | view=sentences: later filing. Omit to use the latest. | |
| oldAccessionNumber | No | view=sentences: earlier filing (from list_recent_filings). Omit to use the second-latest. |