Skip to main content
Glama

Arche: SEC EDGAR Fundamentals MCP Server and API

Get derived metrics time series for a metric view

views_metrics_get
Read-onlyIdempotent

Return a derived metrics time series for one or more companies using a predefined metric view (bundle). Views are opinionated metric sets such as 'core_fundamentals' that group margins, growth rates, cash flows, leverage, and returns. EDGAR-only routes reject bundles that require external market inputs.

This endpoint reuses the same time-series structure as /v1/edgar/derived-metrics/time-series but selects metrics via the bundle code.

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": {
      "bundle_code": "<bundle_code>",
      "statement_type": "<statement_type>"
    },
    "name": "views_metrics_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
ciksNoCompanies named by CIK. Repeat the parameter (for example `?ciks=0000320193&ciks=0000789019`) or separate CIKs with commas. Send this or `tickers`, not both. At most 25 companies per request.
metricsNoOptional list of derived metric codes to include. When a bundle_code is provided, explicit metrics are not allowed.
tickersNoCompanies named by ticker symbol, in place of `ciks`; send one or the other. Repeat the parameter or separate symbols with commas. Each 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. At most 25 companies per request.
to_dateNoOptional upper bound on statement_date (inclusive, YYYY-MM-DD).
frequencyNoTime-series frequency: 'annual' or 'quarterly' (default: 'annual').annual
from_dateNoOptional lower bound on statement_date (inclusive, YYYY-MM-DD).
bundle_codeYesMetric view (bundle) code, e.g. 'core_fundamentals'. Bundle codes are case-insensitive.
statement_typeYesStatement type used as the base for derived metrics (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 / bundle_code / description
      Added value: +"Metric view (bundle) code, e.g. 'core_fundamentals'. Bundle codes are case-insensitive."
    • addedInput schema / properties / ciks / description
      Added value: +"Companies named by CIK. Repeat the parameter (for example `?ciks=0000320193&ciks=0000789019`) or separate CIKs with commas. Send this or `tickers`, not both. At most 25 companies per request."
    • addedInput schema / properties / frequency / description
      Added value: +"Time-series frequency: 'annual' or 'quarterly' (default: 'annual')."
    • addedInput schema / properties / from_date / description
      Added value: +"Optional lower bound on statement_date (inclusive, YYYY-MM-DD)."
    • changedInput schema / properties / metrics / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "enum": [
      -        "ASSET_TURNOVER",
      -        "BOOK_VALUE_PER_SHARE",
      -        "CAPEX_TO_CFO",
      -        "CAPEX_TO_REVENUE",
      -        "CASH_CONVERSION_CYCLE",
      -        "CASH_RATIO",
      -        "CASH_TAX_RATE",
      -        "CFO_MARGIN",
      -        "CFO_TO_NET_INCOME",
      -        "CURRENT_RATIO",
      -        "DEBT_TO_ASSETS",
      -        "DEBT_TO_EQUITY",
      -        "DIO",
      -        "DIVIDENDS_PAID",
      -        "DIVIDENDS_PER_SHARE",
      -        "DPO",
      -        "DSO",
      -        "EBIT",
      -        "EBITDA",
      -        "EBITDA_MARGIN",
      -        "EBIT_MARGIN",
      -        "EFFECTIVE_TAX_RATE",
      -        "EPS_DILUTED_GROWTH",
      -        "FCF_CONVERSION",
      -        "FCF_MARGIN",
      -        "FCF_PER_SHARE",
      -        "GROSS_MARGIN",
      -        "INTEREST_COVERAGE",
      -        "INVENTORY_TURNOVER",
      -        "LEVERED_FREE_CASH_FLOW",
      -        "NET_BUYBACK",
      -        "NET_DEBT_TO_EBITDA",
      -        "NET_DEBT_TO_EQUITY",
      -        "NET_MARGIN",
      -        "OPERATING_MARGIN",
      -        "PAYABLES_TURNOVER",
      -        "PAYOUT_PLUS_BUYBACK_RATIO",
      -        "PAYOUT_RATIO",
      -        "QUICK_RATIO",
      -        "RECEIVABLES_TURNOVER",
      -        "REINVESTMENT_RATE",
      -        "RETENTION_RATIO",
      -        "REVENUE_GROWTH_QOQ",
      -        "REVENUE_GROWTH_TTM",
      -        "REVENUE_GROWTH_YOY",
      -        "REVENUE_PER_SHARE",
      -        "ROA",
      -        "ROE",
      -        "ROIC",
      -        "SBC_TO_CFO",
      -        "SBC_TO_REVENUE",
      -        "SHARE_REPURCHASES",
      -        "TANGIBLE_BOOK_VALUE",
      -        "TANGIBLE_BOOK_VALUE_PER_SHARE",
      -        "UNLEVERED_FREE_CASH_FLOW",
      -        "WORKING_CAPITAL"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "description": "Derived financial metrics used in analytics and modeling.",
      +      "enum": [
      +        "GROSS_MARGIN",
      +        "OPERATING_MARGIN",
      +        "NET_MARGIN",
      +        "EFFECTIVE_TAX_RATE",
      +        "EBIT_MARGIN",
      +        "CFO_MARGIN",
      +        "EBITDA_MARGIN",
      +        "FCF_MARGIN",
      +        "SBC_TO_REVENUE",
      +        "SBC_TO_CFO",
      +        "CAPEX_TO_REVENUE",
      +        "CAPEX_TO_CFO",
      +        "CASH_TAX_RATE",
      +        "REVENUE_GROWTH_YOY",
      +        "REVENUE_GROWTH_QOQ",
      +        "REVENUE_GROWTH_TTM",
      +        "EPS_DILUTED_GROWTH",
      +        "EBITDA",
      +        "EBIT",
      +        "LEVERED_FREE_CASH_FLOW",
      +        "UNLEVERED_FREE_CASH_FLOW",
      +        "DIVIDENDS_PAID",
      +        "DIVIDENDS_PER_SHARE",
      +        "WORKING_CAPITAL",
      +        "CURRENT_RATIO",
      +        "QUICK_RATIO",
      +        "BOOK_VALUE_PER_SHARE",
      +        "DEBT_TO_EQUITY",
      +        "NET_DEBT_TO_EQUITY",
      +        "NET_DEBT_TO_EBITDA",
      +        "DEBT_TO_ASSETS",
      +        "INTEREST_COVERAGE",
      +        "CASH_RATIO",
      +        "CFO_TO_NET_INCOME",
      +        "FCF_CONVERSION",
      +        "DSO",
      +        "DPO",
      +        "DIO",
      +        "INVENTORY_TURNOVER",
      +        "CASH_CONVERSION_CYCLE",
      +        "ASSET_TURNOVER",
      +        "ROE",
      +        "ROA",
      +        "ROIC",
      +        "PAYOUT_RATIO",
      +        "SHARE_REPURCHASES",
      +        "NET_BUYBACK",
      +        "REVENUE_PER_SHARE",
      +        "FCF_PER_SHARE",
      +        "RECEIVABLES_TURNOVER",
      +        "PAYABLES_TURNOVER",
      +        "TANGIBLE_BOOK_VALUE",
      +        "TANGIBLE_BOOK_VALUE_PER_SHARE",
      +        "REINVESTMENT_RATE",
      +        "RETENTION_RATIO",
      +        "PAYOUT_PLUS_BUYBACK_RATIO"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / metrics / description
      Added value: +"Optional list of derived metric codes to include. When a bundle_code is provided, explicit metrics are not allowed."
    • addedInput schema / properties / statement_type / description
      Added value: +"Statement type used as the base for derived metrics (INCOME_STATEMENT, BALANCE_SHEET, CASH_FLOW_STATEMENT)."
    • addedInput schema / properties / tickers / description
      Added value: +"Companies named by ticker symbol, in place of `ciks`; send one or the other. Repeat the parameter or separate symbols with commas. Each 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. At most 25 companies per request."
    • addedInput schema / properties / to_date / description
      Added value: +"Optional upper bound on statement_date (inclusive, YYYY-MM-DD)."
  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 cover read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description adds real context beyond them: the error condition where EDGAR-only routes reject market-input-dependent bundles, and the fact that the response mirrors the existing derived-metrics time-series structure.

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 short sentences, front-loaded with the core action and followed by the bundle definition and the structural note. The final sentence about reusing the derived-metrics structure is the least essential but still earns its place by clarifying response shape.

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 8 fully documented parameters, an output schema, and annotations, the description covers the gaps that matter: what a bundle is, the EDGAR-only restriction, and the response lineage. It does not spell out pagination or company-count limits, though the schema already states the 25-company cap.

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 conceptual meaning to the required bundle_code by explaining that bundles are opinionated metric sets grouping margins, growth, cash flows, leverage, and returns, which helps the agent choose a code. It also reinforces the mutual exclusivity between bundle_code and explicit metrics that the schema states.

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 gives a specific verb and resource ("return a derived metrics time series") and defines what a metric view/bundle is, which is the key differentiator from the sibling edgar_derived_metrics_time_series. It never names that sibling directly, so the agent must infer the alternative from the endpoint path reference rather than from tool names.

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?

It implies when to use this route (bundle-driven selection instead of explicit metric codes) and states a real constraint that EDGAR-only routes reject bundles needing external market inputs. There is no explicit "use X instead when Y" routing guidance and no mention of when a plain time-series endpoint would be preferable.

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