Skip to main content
Glama

Arche: SEC EDGAR Fundamentals MCP Server and API

Get restatement delta between two filings

edgar_statements_restatements_delta
Read-onlyIdempotent

Compare two filings that report one statement and return the per-metric changes between them (old, new and diff for each canonical metric that changed).

Name the two filings with from_accession and to_accession, the SEC accession numbers of the filings. Each resolves to the statement that filing reports.

With neither, the earliest-accepted filing for the period is compared with the latest one: the net change from first report to now. A period that was never restated returns no deltas, with both ends naming the same filing. This default moves when a new amendment is filed; pass accessions for a result that stays fixed.

Only metrics both filings carry are diffed. Metrics only one filing carries are listed in metrics_only_in_from and metrics_only_in_to, and comparability_warning is true when either list is not empty.

Giving only one side of the pair returns 400. The from filing must have been accepted by the SEC before the to filing. An accession that reports no statement for this cik, statement type and period returns 404, listing the accessions the period does have. from_version and to_version in the response name the filings that were compared.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "statement_type": "<statement_type>",
      "fiscal_year": "<fiscal_year>",
      "fiscal_period": "<fiscal_period>"
    },
    "name": "edgar_statements_restatements_delta"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikNoCompany CIK as digits (for example 0000320193). Send this or `ticker`, not both.
tickerNoTicker symbol naming the company, in place of `cik`; send one or the other. Resolves to the company whose filings hold its statements as of the request's as-of or period-end date, or as of today when the request has none.
fiscal_yearYesFiscal year for the statement identity.
to_accessionNoSEC accession of the filing to compare to, resolved to the statement that filing reports. Give together with from_accession. Omit both accessions to compare the earliest-accepted filing with the latest; that default moves when a new amendment is filed, so pass accessions for a fixed result.
fiscal_periodYesFiscal period code (e.g., FY, Q1, Q2, Q3, Q4).
from_accessionNoSEC accession of the filing to compare from, resolved to the statement that filing reports. Give together with to_accession. Omit both accessions to compare the earliest-accepted filing with the latest; that default moves when a new amendment is filed, so pass accessions for a fixed result.
statement_dateNoEnd date of the statement's period (YYYY-MM-DD). Names the period to compare when the identity reports more than one: a fiscal year split at a business combination or fresh-start reorganization is reported as two OTHER periods, and each is compared across filings on its own. Without it the comparison covers the later period. A date that names no period of the identity answers 404, listing the dates in `details.available_statement_dates`.
statement_typeYesStatement type (INCOME_STATEMENT, BALANCE_SHEET, CASH_FLOW_STATEMENT).

Output Schema

NameRequiredDescriptionDefault
responseYes
request_idNo
source_statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / cik / description
      Added value: +"Company CIK as digits (for example 0000320193). Send this or `ticker`, not both."
    • addedInput schema / properties / fiscal_period / description
      Added value: +"Fiscal period code (e.g., FY, Q1, Q2, Q3, Q4)."
    • addedInput schema / properties / fiscal_year / description
      Added value: +"Fiscal year for the statement identity."
    • addedInput schema / properties / from_accession / description
      Added value: +"SEC accession of the filing to compare from, resolved to the statement that filing reports. Give together with to_accession. Omit both accessions to compare the earliest-accepted filing with the latest; that default moves when a new amendment is filed, so pass accessions for a fixed result."
    • addedInput schema / properties / statement_date / description
      Added value: +"End date of the statement's period (YYYY-MM-DD). Names the period to compare when the identity reports more than one: a fiscal year split at a business combination or fresh-start reorganization is reported as two OTHER periods, and each is compared across filings on its own. Without it the comparison covers the later period. A date that names no period of the identity answers 404, listing the dates in `details.available_statement_dates`."
    • addedInput schema / properties / statement_type / description
      Added value: +"Statement type (INCOME_STATEMENT, BALANCE_SHEET, CASH_FLOW_STATEMENT)."
    • addedInput schema / properties / ticker / description
      Added value: +"Ticker symbol naming the company, in place of `cik`; send one or the other. Resolves to the company whose filings hold its statements as of the request's as-of or period-end date, or as of today when the request has none."
    • addedInput schema / properties / to_accession / description
      Added value: +"SEC accession of the filing to compare to, resolved to the statement that filing reports. Give together with from_accession. Omit both accessions to compare the earliest-accepted filing with the latest; that default moves when a new amendment is filed, so pass accessions for a fixed result."
    • changedInput schema / required
      Previous value: -[
      -  "fiscal_period",
      -  "fiscal_year",
      -  "statement_type"
      -]New value: +[
      +  "statement_type",
      +  "fiscal_year",
      +  "fiscal_period"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the read-only, non-destructive, idempotent annotations, it discloses the moving default, the no-restatement result with identical endpoints, intersection-only metric diffing, comparability warnings, and specific 400/404 behaviors. These details address important edge cases and reproducibility concerns rather than merely restating the safety annotations.

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?

The purpose is front-loaded, followed by logically ordered paragraphs on filing selection, defaults, comparability, and failures. It is reasonably sized for the tool's complexity, but the accession pairing and moving-default explanation substantially duplicates both parameter descriptions.

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?

Together with the fully documented input schema and output schema, the description supplies the information needed for correct invocation, including default resolution, reproducibility, unchanged periods, asymmetric metric coverage, validation failures, and identification of the filings actually compared. The main omission is sibling-tool routing, which does not prevent correct use of this tool itself.

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 description coverage is 100%, so the baseline is 3 and much of the accession explanation repeats the schema. The description nevertheless adds meaningful constraints not present there, notably that supplying only one accession returns 400 and that the `from` filing must have been accepted before the `to` filing.

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?

The opening sentence gives a specific operation and resource: comparing two filings for one statement and returning old, new, and diff values for each changed canonical metric. It clearly conveys a restatement delta, but does not explicitly distinguish this tool from the ledger, timeline, or other delta-related siblings.

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?

It gives concrete selection guidance: omit both accessions for the earliest-to-latest net change, or supply both for a fixed comparison that will not move when amendments arrive. Pairing, chronological ordering, and error conditions further support invocation, though there is no explicit when-not-to-use guidance or routing to an alternative tool.

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.

Resources