Skip to main content
Glama

Arche: SEC EDGAR Fundamentals MCP Server and API

Restatement delta for a single statement

fundamentals_restatement_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": "fundamentals_restatement_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.
metricsNoOptional subset of canonical metrics to consider. When omitted, all metrics present in both versions are inspected and only those that changed are returned.
fiscal_yearYesFiscal year associated with the statement (>= 1). The filer's own name for its fiscal year, as its annual reports declare it: a year closing 2025-02-01 that the filer calls fiscal 2024 is served as 2024.
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 within the year (e.g., FY, Q1, Q2).
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 (e.g., INCOME_STATEMENT, BALANCE_SHEET).

Output Schema

NameRequiredDescriptionDefault
responseYes
request_idNo
source_statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 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 within the year (e.g., FY, Q1, Q2)."
    • changedInput schema / properties / fiscal_period / enum
      Previous value: -[
      -  "FY",
      -  "H1",
      -  "OTHER",
      -  "Q1",
      -  "Q2",
      -  "Q3",
      -  "Q4"
      -]New value: +[
      +  "FY",
      +  "Q1",
      +  "Q2",
      +  "Q3",
      +  "Q4",
      +  "H1",
      +  "OTHER"
      +]
    • addedInput schema / properties / fiscal_year / description
      Added value: +"Fiscal year associated with the statement (>= 1). The filer's own name for its fiscal year, as its annual reports declare it: a year closing 2025-02-01 that the filer calls fiscal 2024 is served as 2024."
    • 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."
    • changedInput schema / properties / metrics / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "enum": [
      -        "ACCOUNTS_PAYABLE",
      -        "ACCOUNTS_RECEIVABLE_NET",
      -        "ACCUMULATED_OTHER_COMPREHENSIVE_INCOME",
      -        "ADDITIONAL_PAID_IN_CAPITAL",
      -        "BASIC_EPS",
      -        "CAPITAL_EXPENDITURES",
      -        "CASH_AND_CASH_EQUIVALENTS",
      -        "CASH_CASH_EQUIVALENTS_AND_RESTRICTED_CASH",
      -        "CASH_FLOW_STARTING_NET_INCOME",
      -        "CASH_PAID_FOR_INCOME_TAXES",
      -        "CASH_PAID_FOR_INTEREST",
      -        "CHANGE_IN_ACCOUNTS_PAYABLE",
      -        "CHANGE_IN_ACCOUNTS_RECEIVABLE",
      -        "CHANGE_IN_INVENTORIES",
      -        "CHANGE_IN_OTHER_CURRENT_ASSETS",
      -        "CHANGE_IN_OTHER_CURRENT_LIABILITIES",
      -        "COMPREHENSIVE_INCOME",
      -        "COST_OF_REVENUE",
      -        "CURRENT_PORTION_OF_LONG_TERM_DEBT",
      -        "DEFERRED_REVENUE_CURRENT",
      -        "DEFERRED_REVENUE_NON_CURRENT",
      -        "DEPOSITS",
      -        "DEPRECIATION_AND_AMORTIZATION_EXPENSE",
      -        "DEPRECIATION_AND_AMORTIZATION_IN_CFO",
      -        "DILUTED_EPS",
      -        "DIVIDENDS_PAID",
      -        "EFFECT_OF_EXCHANGE_RATE_ON_CASH",
      -        "FINANCE_LEASE_LIABILITY",
      -        "FREE_CASH_FLOW",
      -        "FUTURE_POLICY_BENEFITS",
      -        "GOODWILL",
      -        "GROSS_PROFIT",
      -        "INCOME_BEFORE_TAX",
      -        "INCOME_FROM_CONTINUING_OPERATIONS",
      -        "INCOME_FROM_DISCONTINUED_OPERATIONS",
      -        "INCOME_FROM_EQUITY_METHOD_INVESTMENTS",
      -        "INCOME_TAX_EXPENSE",
      -        "INTANGIBLE_ASSETS_NET",
      -        "INTEREST_EXPENSE",
      -        "INTEREST_INCOME",
      -        "INVENTORIES",
      -        "LOANS_NET",
      -        "LONG_TERM_DEBT",
      -        "NET_CASH_FROM_FINANCING_ACTIVITIES",
      -        "NET_CASH_FROM_INVESTING_ACTIVITIES",
      -        "NET_CASH_FROM_OPERATING_ACTIVITIES",
      -        "NET_INCOME",
      -        "NET_INCOME_ATTRIBUTABLE_TO_NONCONTROLLING_INTEREST",
      -        "NET_INCREASE_DECREASE_IN_CASH",
      -        "NET_INTEREST_INCOME",
      -        "NET_INVESTMENT_INCOME",
      -        "NONCONTROLLING_INTEREST",
      -        "NONINTEREST_EXPENSE",
      -        "NONINTEREST_INCOME",
      -        "OPERATING_EXPENSE",
      -        "OPERATING_INCOME",
      -        "OPERATING_LEASE_LIABILITY",
      -        "OPERATING_LEASE_RIGHT_OF_USE_ASSET",
      -        "OTHER_ASSETS",
      -        "OTHER_CASH_FLOW_FROM_FINANCING",
      -        "OTHER_CASH_FLOW_FROM_INVESTING",
      -        "OTHER_CASH_FLOW_FROM_OPERATIONS",
      -        "OTHER_CURRENT_ASSETS",
      -        "OTHER_CURRENT_LIABILITIES",
      -        "OTHER_LIABILITIES",
      -        "OTHER_NON_CURRENT_ASSETS",
      -        "OTHER_NON_CURRENT_LIABILITIES",
      -        "OTHER_NON_OPERATING_INCOME_EXPENSE",
      -        "OTHER_OPERATING_INCOME_EXPENSE",
      -        "POLICY_BENEFITS_AND_CLAIMS",
      -        "PREFERRED_DIVIDENDS",
      -        "PREMIUMS_EARNED",
      -        "PROPERTY_PLANT_AND_EQUIPMENT_NET",
      -        "PROVISION_FOR_CREDIT_LOSSES",
      -        "RESEARCH_AND_DEVELOPMENT_EXPENSE",
      -        "RETAINED_EARNINGS",
      -        "REVENUE",
      -        "SELLING_GENERAL_AND_ADMINISTRATIVE_EXPENSE",
      -        "SHARES_OUTSTANDING",
      -        "SHARE_ISSUANCE_PROCEEDS",
      -        "SHARE_REPURCHASES_PAID",
      -        "SHORT_TERM_DEBT",
      -        "SHORT_TERM_INVESTMENTS",
      -        "STOCK_BASED_COMPENSATION_IN_CFO",
      -        "TEMPORARY_EQUITY",
      -        "TOTAL_ASSETS",
      -        "TOTAL_CURRENT_ASSETS",
      -        "TOTAL_CURRENT_LIABILITIES",
      -        "TOTAL_EQUITY",
      -        "TOTAL_LIABILITIES",
      -        "TOTAL_NON_CURRENT_ASSETS",
      -        "TOTAL_NON_CURRENT_LIABILITIES",
      -        "TREASURY_STOCK",
      -        "UNPAID_CLAIMS_RESERVE",
      -        "WEIGHTED_AVERAGE_SHARES_BASIC",
      -        "WEIGHTED_AVERAGE_SHARES_DILUTED"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "description": "Canonical financial statement metrics.\n\nThe enum names are UPPER_SNAKE_CASE and the values are the same strings,\nensuring stable identifiers in JSON and other serialized forms.",
      +      "enum": [
      +        "REVENUE",
      +        "COST_OF_REVENUE",
      +        "GROSS_PROFIT",
      +        "RESEARCH_AND_DEVELOPMENT_EXPENSE",
      +        "SELLING_GENERAL_AND_ADMINISTRATIVE_EXPENSE",
      +        "DEPRECIATION_AND_AMORTIZATION_EXPENSE",
      +        "OPERATING_INCOME",
      +        "OPERATING_EXPENSE",
      +        "INTEREST_INCOME",
      +        "INTEREST_EXPENSE",
      +        "NET_INTEREST_INCOME",
      +        "OTHER_NON_OPERATING_INCOME_EXPENSE",
      +        "INCOME_BEFORE_TAX",
      +        "INCOME_TAX_EXPENSE",
      +        "NET_INCOME",
      +        "NET_INCOME_ATTRIBUTABLE_TO_NONCONTROLLING_INTEREST",
      +        "INCOME_FROM_DISCONTINUED_OPERATIONS",
      +        "INCOME_FROM_EQUITY_METHOD_INVESTMENTS",
      +        "BASIC_EPS",
      +        "DILUTED_EPS",
      +        "WEIGHTED_AVERAGE_SHARES_BASIC",
      +        "WEIGHTED_AVERAGE_SHARES_DILUTED",
      +        "TOTAL_ASSETS",
      +        "TOTAL_CURRENT_ASSETS",
      +        "CASH_AND_CASH_EQUIVALENTS",
      +        "CASH_CASH_EQUIVALENTS_AND_RESTRICTED_CASH",
      +        "SHORT_TERM_INVESTMENTS",
      +        "ACCOUNTS_RECEIVABLE_NET",
      +        "INVENTORIES",
      +        "OTHER_CURRENT_ASSETS",
      +        "TOTAL_NON_CURRENT_ASSETS",
      +        "PROPERTY_PLANT_AND_EQUIPMENT_NET",
      +        "GOODWILL",
      +        "INTANGIBLE_ASSETS_NET",
      +        "OTHER_NON_CURRENT_ASSETS",
      +        "TOTAL_LIABILITIES",
      +        "TOTAL_CURRENT_LIABILITIES",
      +        "ACCOUNTS_PAYABLE",
      +        "SHORT_TERM_DEBT",
      +        "CURRENT_PORTION_OF_LONG_TERM_DEBT",
      +        "OTHER_CURRENT_LIABILITIES",
      +        "TOTAL_NON_CURRENT_LIABILITIES",
      +        "LONG_TERM_DEBT",
      +        "OTHER_NON_CURRENT_LIABILITIES",
      +        "TOTAL_EQUITY",
      +        "TEMPORARY_EQUITY",
      +        "RETAINED_EARNINGS",
      +        "ADDITIONAL_PAID_IN_CAPITAL",
      +        "TREASURY_STOCK",
      +        "ACCUMULATED_OTHER_COMPREHENSIVE_INCOME",
      +        "NET_CASH_FROM_OPERATING_ACTIVITIES",
      +        "NET_CASH_FROM_INVESTING_ACTIVITIES",
      +        "NET_CASH_FROM_FINANCING_ACTIVITIES",
      +        "EFFECT_OF_EXCHANGE_RATE_ON_CASH",
      +        "NET_INCREASE_DECREASE_IN_CASH",
      +        "CASH_FLOW_STARTING_NET_INCOME",
      +        "CASH_PAID_FOR_INTEREST",
      +        "CASH_PAID_FOR_INCOME_TAXES",
      +        "STOCK_BASED_COMPENSATION_IN_CFO",
      +        "DEPRECIATION_AND_AMORTIZATION_IN_CFO",
      +        "CHANGE_IN_ACCOUNTS_RECEIVABLE",
      +        "CHANGE_IN_INVENTORIES",
      +        "CHANGE_IN_ACCOUNTS_PAYABLE",
      +        "CHANGE_IN_OTHER_CURRENT_ASSETS",
      +        "CHANGE_IN_OTHER_CURRENT_LIABILITIES",
      +        "CAPITAL_EXPENDITURES",
      +        "FREE_CASH_FLOW",
      +        "DIVIDENDS_PAID",
      +        "SHARE_REPURCHASES_PAID",
      +        "SHARE_ISSUANCE_PROCEEDS",
      +        "OTHER_OPERATING_INCOME_EXPENSE",
      +        "OTHER_ASSETS",
      +        "OTHER_LIABILITIES",
      +        "OTHER_CASH_FLOW_FROM_OPERATIONS",
      +        "OTHER_CASH_FLOW_FROM_INVESTING",
      +        "OTHER_CASH_FLOW_FROM_FINANCING",
      +        "SHARES_OUTSTANDING",
      +        "DEFERRED_REVENUE_CURRENT",
      +        "DEFERRED_REVENUE_NON_CURRENT",
      +        "OPERATING_LEASE_LIABILITY",
      +        "FINANCE_LEASE_LIABILITY",
      +        "OPERATING_LEASE_RIGHT_OF_USE_ASSET",
      +        "NONCONTROLLING_INTEREST",
      +        "COMPREHENSIVE_INCOME",
      +        "PREFERRED_DIVIDENDS",
      +        "INCOME_FROM_CONTINUING_OPERATIONS",
      +        "PROVISION_FOR_CREDIT_LOSSES",
      +        "NONINTEREST_INCOME",
      +        "NONINTEREST_EXPENSE",
      +        "LOANS_NET",
      +        "DEPOSITS",
      +        "PREMIUMS_EARNED",
      +        "POLICY_BENEFITS_AND_CLAIMS",
      +        "NET_INVESTMENT_INCOME",
      +        "FUTURE_POLICY_BENEFITS",
      +        "UNPAID_CLAIMS_RESERVE"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / metrics / description
      Added value: +"Optional subset of canonical metrics to consider. When omitted, all metrics present in both versions are inspected and only those that changed are returned."
    • 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 (e.g., INCOME_STATEMENT, BALANCE_SHEET)."
    • changedInput schema / properties / statement_type / enum
      Previous value: -[
      -  "BALANCE_SHEET",
      -  "CASH_FLOW_STATEMENT",
      -  "INCOME_STATEMENT"
      -]New value: +[
      +  "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.6/5.0
Behavior5/5

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

Annotations already establish a safe, idempotent, closed-world read, and the description adds substantial behavior beyond them: partial accession pairs return 400, `from` must be SEC-accepted before `to`, unknown accessions return 404 with the period's available accessions, and metrics present in only one filing are surfaced via `metrics_only_in_from`/`metrics_only_in_to` with `comparability_warning`. It also discloses that `from_version`/`to_version` in the response name what was compared.

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?

Short paragraphs, front-loaded with what is returned, then the accession semantics, then the default and edge cases. The warning about the moving default is repeated in several schema parameter descriptions, a minor redundancy, but no sentence is wasted.

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 comparison tool with an output schema, the description covers selection semantics, defaults, ordering preconditions, metric filtering, and both error paths. Nothing an agent needs in order to call it correctly is missing, and return-value shape is rightly left to the output schema.

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, but the description adds real meaning: how `from_accession`/`to_accession` resolve to a statement, the ordering constraint between them, and that omitting `metrics` inspects all shared metrics while returning only changed ones. `statement_date` and `cik`/`ticker` are left to the schema, so it stops short of full coverage.

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: compare two filings reporting one statement and return per-metric old/new/diff for each canonical metric that changed. The scope (single statement, only changed metrics) is precise enough that an agent can separate it from timeline or time-series siblings without reading their schemas.

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?

Gives clear context for the accession-omitted default (earliest-accepted vs latest, i.e. first report to now) and warns that the default is unstable when a new amendment is filed, recommending explicit accessions for fixed results. It does not name any alternative tool for cases like viewing the full restatement history, so it falls short of the top tier.

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