Skip to main content
Glama

Arche: SEC EDGAR Fundamentals MCP Server and API

Inspect XBRL mapping overrides for a statement identity

edgar_companies_statements_overrides_trace
Read-onlyIdempotent

Return an override trace showing which mapping rules were evaluated, applied, or suppressed for one filing's statement, named by cik, statement_type, fiscal_year, fiscal_period and the filing's accession_id. The filing's current statement is read. An accession that serves no statement for the identity answers 404 EDGAR_STATEMENT_NOT_FOUND with details.available_accessions.

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>",
      "statement_type": "<statement_type>",
      "fiscal_year": "<fiscal_year>",
      "fiscal_period": "<fiscal_period>",
      "accession_id": "<accession_id>"
    },
    "name": "edgar_companies_statements_overrides_trace"
  }
}

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 for the statement identity (>= 1).
accession_idYesSEC accession of the filing whose statement to trace, as returned by /v1/edgar/companies/{cik}/statements. The filing's current statement is read.
gaap_conceptNoOptional GAAP/IFRS concept filter (e.g., Revenues).
dimension_keyNoOptional dimension key filter (e.g., segment slice).
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).
canonical_metric_codeNoOptional canonical metric code filter (e.g., REVENUE, NET_INCOME).

Output Schema

NameRequiredDescriptionDefault
responseYes
request_idNo
source_statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / accession_id / description
      Added value: +"SEC accession of the filing whose statement to trace, as returned by /v1/edgar/companies/{cik}/statements. The filing's current statement is read."
    • addedInput schema / properties / canonical_metric_code / description
      Added value: +"Optional canonical metric code filter (e.g., REVENUE, NET_INCOME)."
    • 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 / dimension_key / description
      Added value: +"Optional dimension key filter (e.g., segment slice)."
    • 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 (>= 1)."
    • addedInput schema / properties / gaap_concept / description
      Added value: +"Optional GAAP/IFRS concept filter (e.g., Revenues)."
    • 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",
      -  "statement_type"
      -]New value: +[
      +  "cik",
      +  "statement_type",
      +  "fiscal_year",
      +  "fiscal_period",
      +  "accession_id"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds meaningful contract detail beyond them: a 404 EDGAR_STATEMENT_NOT_FOUND with details.available_accessions, and a 409 EDGAR_STATEMENT_AMBIGUOUS with details.available_statement_dates. It does not describe the shape or volume of the trace itself, leaving that to the output schema.

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, front-loaded with the purpose, then the read behavior, then the error contract. Every sentence carries information; the identity enumeration is somewhat redundant with the parameter list but serves as a compact scoping statement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema, full parameter coverage and rich annotations, the description supplies what structured fields do not: the read semantics and two named error conditions with their detail payloads. It omits any hint of what the trace entries contain or when to prefer it over sibling diagnostics, which is the remaining gap for a 9-parameter tool.

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 the baseline is 3. The description reinforces the five identity parameters and the conditional role of statement_date, but adds nothing about the optional filters (gaap_concept, dimension_key, canonical_metric_code) that the schema already documents. No syntax or semantics beyond the schema.

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?

States a specific verb and resource: 'Return an override trace showing which mapping rules were evaluated, applied, or suppressed' for one filing's statement, keyed by the five identity fields. An agent can distinguish this diagnostic trace from data-retrieval siblings. It stops short of naming which sibling to use when a plain statement or provenance view is wanted, so it is clear but not sibling-differentiated.

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 preconditions ('The filing's current statement is read') and error paths, but there is no explicit statement of when to choose this over edgar_companies_filings_statements_metrics_provenance or metrics_audit_chain. An agent must infer that this tool is for diagnosing mapping-rule decisions rather than fetching statement values.

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