Skip to main content
Glama

SEC EDGAR Financials

Get company financials (SEC XBRL)

get_company_financials

Reported financial values from SEC EDGAR XBRL company facts. metrics accepts aliases (revenue, net_income, operating_income, gross_profit, eps_basic, eps_diluted, total_assets, total_liabilities, stockholders_equity, cash, operating_cash_flow, capex, long_term_debt, shares_outstanding) or raw XBRL concepts like 'us-gaap:Revenues'. Values are exactly as filed; nothing is estimated.

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": {
      "ticker": "<ticker>",
      "metrics": "<metrics>"
    },
    "name": "get_company_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesStock ticker, e.g. AAPL
metricsYes
periodsNoNumber of most recent periods
frequencyNoannual

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It does add one genuinely useful trait: 'Values are exactly as filed; nothing is estimated,' telling the agent these are raw, non-normalized figures. It does not disclose coverage limits (which companies/periods exist), error behavior for unknown tickers or concepts, or whether the data is paginated, leaving significant gaps for an unannotated tool.

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?

Two sentences, front-loaded with the resource identity and followed by the most actionable detail (accepted metric forms). The alias enumeration is long but earns its place because the schema does not document the metrics parameter. Minor inefficiency in that the alias list could be grouped more compactly.

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

Completeness3/5

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

With no annotations and no output schema, the description must also convey what comes back, and it does not: the shape of the returned values (per-period series, units/currency, how concepts are keyed) is left unspecified. It does cover the input side adequately for metrics and the as-filed guarantee. For a data-retrieval tool with four parameters and no structured output documentation, this leaves a real gap.

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 50%: ticker and periods are documented in the schema, but metrics and frequency are not. The description compensates strongly for metrics by enumerating supported aliases and explaining that raw XBRL concepts like 'us-gaap:Revenues' are also accepted, which the schema alone does not convey. It does not explain the annual/quarterly frequency parameter or how periods interacts with frequency, keeping it below 5.

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 opens with a specific verb+resource: reported financial values from SEC EDGAR XBRL company facts. That is clearly distinct from the only sibling, get_latest_filings, which returns filings rather than reported values. It does not explicitly name or contrast that sibling, so it falls short of a 5.

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 only implied: an agent can infer it should call this to retrieve specific reported metrics for a ticker. There is no explicit when-to-use/when-not statement and no pointer to get_latest_filings for filing documents versus this tool for values. The metric alias list gives practical guidance on how to invoke, but not when to choose this over an alternative.

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.