Skip to main content
Glama

datasets_sec_companies_financials

Read-only

Fetch a SEC-reporting company's normalized income-statement, balance-sheet, or cash-flow history by cik, newest fiscal year first. Unknown CIKs or companies without XBRL data return an empty series. Use datasets_sec_companies_item for company details or datasets_sec_companies_insider for insider filings.

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": "<statement>",
      "period": "<period>",
      "from": "<from>",
      "to": "<to>",
      "limit": "<limit>"
    },
    "name": "datasets_sec_companies_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesOptional inclusive upper bound on fiscal_year.
cikYesCIK, numeric or zero-padded.
fromYesOptional inclusive lower bound on fiscal_year.
limitYesMaximum points returned (most recent fiscal years first), default 100, max 400.
periodYesOptional period-type filter. Allowed values: annual, quarterly.
statementYesOptional statement filter. Allowed values: income, balance, cash_flow.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=true, idempotentHint=false). The description adds real behavioral context beyond them: results are ordered newest fiscal year first, and unknown CIKs or companies lacking XBRL data yield an empty series rather than an error — important for interpreting an empty result. It says nothing about volume/pagination behavior or latency, so it is strong but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences: purpose and ordering first, then the empty-result caveat, then the sibling routing. Nothing is redundant and the most decision-relevant information is front-loaded.

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?

With an output schema present, the description need not explain return values, and annotations carry the safety profile. The remaining obligations — what it returns conceptually, ordering, empty-result semantics, and where to go for other company data — are all covered, so an agent has enough to call it 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 (cik, statement, period, from, to, limit) is already documented in the schema. The description only restates cik and adds an ordering note relevant to limit; it contributes no extra syntax, format, or edge-case meaning for the filters. Baseline 3 is the correct ceiling here.

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 (fetch) plus the exact resource (normalized income-statement, balance-sheet, or cash-flow history) and the addressing key (cik), with ordering ('newest fiscal year first'). It also names the sibling tools that cover adjacent data, so the agent can distinguish it without opening the 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?

Explicitly routes adjacent intents away: 'Use datasets_sec_companies_item for company details or datasets_sec_companies_insider for insider filings.' It does not address how this differs from other financial-statement tools in the catalog, so there is no in/out-of-scope rule for the core financials use case, but the guidance present is clear and actionable.

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.