Skip to main content
Glama

Arche: SEC EDGAR Fundamentals MCP Server and API

Get the metric audit chain of a filing's statement

edgar_companies_filings_statements_metrics_audit_chain
Read-onlyIdempotent

Return the filing, XBRL concept and mapping behind one metric of one filing's statement, and every override applied to it in order. The statement is named by company, accession, statement type, fiscal year and fiscal period, and by statement_date when the filing reports two OTHER periods in the year. An unknown filing, statement identity or metric is answered with 404 EDGAR_STATEMENTS_NOT_FOUND.

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": {
      "cik": "<cik>",
      "accession_id": "<accession_id>",
      "statement_type": "<statement_type>",
      "fiscal_year": "<fiscal_year>",
      "fiscal_period": "<fiscal_period>",
      "metric_name": "<metric_name>"
    },
    "name": "edgar_companies_filings_statements_metrics_audit_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikYesCompany CIK as digits (for example 0000320193), or a ticker symbol (for example AAPL). A ticker 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 of the statement.
metric_nameYesCanonical metric name (e.g., TOTAL_ASSETS).
accession_idYesEDGAR accession ID of the filing that reported the statement (e.g., 0000320193-24-000123).
fiscal_periodYesFiscal period code (e.g., FY, Q1, Q2, Q3, Q4).
statement_dateNoEnd date of the statement's period (YYYY-MM-DD). Needed only when the filing reports more than one statement for the fiscal year and period: a fiscal year split at a business combination or fresh-start reorganization is reported as two OTHER periods. Without it such a request answers 409 `EDGAR_STATEMENT_AMBIGUOUS`, 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. Changed8 schema fields changed
    • addedInput schema / properties / accession_id / description
      Added value: +"EDGAR accession ID of the filing that reported the statement (e.g., 0000320193-24-000123)."
    • addedInput schema / properties / cik / description
      Added value: +"Company CIK as digits (for example 0000320193), or a ticker symbol (for example AAPL). A ticker 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 / 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 of the statement."
    • addedInput schema / properties / metric_name / description
      Added value: +"Canonical metric name (e.g., TOTAL_ASSETS)."
    • addedInput schema / properties / statement_date / description
      Added value: +"End date of the statement's period (YYYY-MM-DD). Needed only when the filing reports more than one statement for the fiscal year and period: a fiscal year split at a business combination or fresh-start reorganization is reported as two OTHER periods. Without it such a request answers 409 `EDGAR_STATEMENT_AMBIGUOUS`, 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)."
    • changedInput schema / required
      Previous value: -[
      -  "accession_id",
      -  "cik",
      -  "fiscal_period",
      -  "fiscal_year",
      -  "metric_name",
      -  "statement_type"
      -]New value: +[
      +  "cik",
      +  "accession_id",
      +  "statement_type",
      +  "fiscal_year",
      +  "fiscal_period",
      +  "metric_name"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered. Beyond that, the description discloses failure behavior: 404 EDGAR_STATEMENTS_NOT_FOUND for an unknown filing, statement or metric, and the ordering guarantee that overrides are returned in sequence. It does not discuss pagination or chain depth limits, which keeps it from a 5.

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 sentences, each earning its place: output content first, then the identity tuple, then the error contract. It is dense but not padded. Minor redundancy with the schema on the statement_date/409 case prevents a 5.

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?

An output schema exists, so return values need not be described, and the description nevertheless characterizes the chain contents and ordering. Combined with explicit error codes for both the not-found and ambiguous-statement cases, an agent has everything needed to call this correctly.

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 every parameter is already documented, including the statement_date ambiguity rule and the 409 details.available_statement_dates payload. The description restates the same conditional logic rather than adding new semantics such as accepted metric-name formats or statement_type matching rules, so the baseline of 3 applies.

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 description names a specific verb and resource: it returns the filing, XBRL concept, mapping and applied override sequence behind a single metric of a single statement. That is far more precise than the title alone. It stops short of 5 because it never distinguishes itself from near siblings such as statements_metrics_provenance or statements_overrides_trace, whose names suggest overlapping output.

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?

Usage is implied through the required statement identity tuple (company, accession, statement type, fiscal year, fiscal period), and the conditional role of statement_date is explained. However, there is no explicit guidance on when to choose this tool over the provenance or overrides-trace siblings, so the agent must infer the boundary from names alone.

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