Skip to main content
Glama
SEC Blast MCP Server

SEC Blast MCP Server

Official
by secblast

Get SEC financials

sec_get_financials
Read-onlyIdempotent

Retrieves SEC XBRL financial data from 10-K, 10-Q, and 20-F filings by company CIK, including income statements, balance sheets, cash flow, standard fields, concepts, and segments.

Instructions

SEC XBRL financial data from 10-K, 10-Q, and 20-F filings by company CIK: income statement, balance sheet, cash flow as presented, any us-gaap/ifrs/dei concept over time, one concept across all companies (frames), reported and derived quarters, standard fields (revenue, net income, EPS, assets, ...), business segments, a filing's presentation roles. Use for numbers; for filing text use sec_read_filing, for HTML tables sec_get_tables. Input: view plus its arguments (cik, accession, concept such as us-gaap:Revenues, period YYYY-MM-DD or CY2024Q4). Example: {"view": "standard", "cik": "320193", "periods": "annual", "limit": 4}. Returns: values with period, unit, and the accession and acceptance time that reported them; paged with next_cursor. Limits: XBRL exists from 2009 (large filers) and 2011 (all); standard fields are not_applicable for banks, insurers, REITs, BDCs and IFRS filers. Values from different as_of or basis must not be combined.

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": {
      "view": "<view>"
    },
    "name": "sec_get_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoview=standard, segments: last period end, YYYY-MM-DD.
cikNoThe company: a ticker or CIK, e.g. "AAPL" or "320193". view=series and facts also take a list of up to 100, e.g. ["AAPL", "MSFT"]. Each row names its entity_cik.
ttmNoview=standard, standard_frame: add trailing-twelve-month values (default false).
axisNoview=segments: segment, product, geography, customer (default all).
dimsNonone (default: facts without dimensions), any, or a dims_hash for one exact dimension set.
fromNoview=standard, segments: first period end, YYYY-MM-DD, e.g. "2022-01-01".
kindNoview=statement: income, balance, cash_flow, equity, comprehensive, or cover.
sortNoview=frame: order of the companies (default cik).
unitNoOnly this unit as stored, e.g. iso4217:USD, shares, iso4217:USD/shares. A frame without unit can mix units (see unit_norm on each row); sort compares values across them.
viewYesseries: one concept over time for a company; facts: one concept of a company (cik + concept) or every fact of a filing (accession); frame: one concept and period across companies; statement: statements as presented; periods: reported and derived quarters (Q4 = FY - 9M, H2, TTM) with formula and inputs; standard: a company's standard fields (revenue, net_income, total_assets, ...) by period, each with its source facts; standard_frame: one standard field across companies for a calendar period; segments: revenue, operating income, assets, and other values by business segment, product, geography, or customer; roles: every presentation role (statement, note, policy, table, detail) of a filing's XBRL with its R page.
as_ofNoSEC acceptance time, inclusive (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ); absent = now.
basisNoview=series: latest (default), first_reported, or as_of (the latest known at as_of; needs as_of). view=standard, standard_frame, segments: latest (default) or first_reported.
fieldNoview=standard_frame: the standard field (required), e.g. "revenue".
limitNoPage size: series 1..1000 (default 200); facts of a filing 1..5000 (default 500); facts of a company 1..2000 (default 500); frame 1..1000 (default 500); standard 1..1000 period ends (default 8); standard_frame 1..5000 companies (default 100); segments 1..200 period ends (default 4); roles 1..500 (default 200).
cursorNoTo get the next page: next_cursor from the previous answer, with the same other arguments.
fieldsNoview=standard: standard fields to return (default all): revenue, cost_of_revenue, gross_profit, operating_income, pretax_income, net_income, eps_basic, eps_diluted, total_assets, total_liabilities, total_equity, cash_and_equivalents, operating_cash_flow, capital_expenditure, shares_outstanding.
periodNoYYYY-MM-DD (an instant, or periods ending that day) or YYYY-MM-DD/YYYY-MM-DD (that exact duration). view=frame also takes a calendar frame: CY2024Q4 (a quarter), CY2024 (a year) or CY2024Q4I (an instant in a quarter). Required for view=frame. view=standard_frame: a calendar frame (CY2024Q4, CY2024, CY2024Q4I), required. view=standard and segments: one period end.
conceptNoXBRL concept as prefix:LocalName, e.g. us-gaap:Revenues (a name without prefix is read as us-gaap). Several only with view=facts and accession.
periodsNoview=standard: annual, quarterly, ytd, instant, or all (default annual,quarterly); view=segments: annual (default) or quarterly.
categoryNoview=roles: Cover, Statements, Notes, Policies, Tables, Details, Other, or Uncategorized (default all).
accessionNoview=facts, statement, or roles: the filing's accession, e.g. "0000320193-26-000026".
segment_kindNoview=segments: revenue, operating_income, assets, long_lived_assets, depreciation_amortization, capital_expenditure, expense (default all).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (which already declare readOnly/idempotent/non-destructive), the description adds substantive behavioral context: return values carry period, unit, and the accession plus acceptance time that reported them; results are paged via next_cursor; XBRL coverage starts 2009/2011; standard fields come back not_applicable for banks, insurers, REITs, BDCs and IFRS filers; and values from different as_of or basis must not be combined. The cross-basis warning is the kind of correctness-critical caveat that only the description can carry.

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?

Effectively front-loaded: purpose, then the sibling routing rule, then input shape, then returns, then limits. It is dense to the point of being a single long paragraph, and some of the view/field enumeration duplicates the schema, but each sentence still contributes information rather than filler.

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?

For a 22-parameter, 9-view tool with no output schema, the description covers returns, pagination, and data-availability caveats, which is the hard part. It leaves per-view required-argument rules to the schema, which is the right division of labor, though an agent must open the schema to learn which arguments each view demands.

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, and much of the description's parameter text (period formats, concept prefix syntax) restates the schema. The addition is the worked example binding view+cik+periods+limit together, showing how the arguments compose, which the schema cannot convey on its own.

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+resource (SEC XBRL financial data from 10-K/10-Q/20-F by CIK) and enumerates the shapes it returns: statements, concept series, frames, derived quarters, standard fields, segments, presentation roles. It also names the sibling boundaries explicitly ('Use for numbers; for filing text use sec_read_filing, for HTML tables sec_get_tables'), so an agent can separate this tool from sec_get_tables and sec_read_filing without opening any schema.

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 a clear routing rule ('use for numbers') and names two alternatives with their respective domains, which is real when-to-use guidance. It does not state when a given view is preferred over another in prose, but the view enumeration with parentheticals (frames, standard fields, business segments) maps use cases to views well enough for selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.