Skip to main content
Glama

Get Company Financials

get_company_financials
Read-onlyIdempotent

Retrieve headline financials for a ticker symbol from SEC EDGAR XBRL filings—revenue, net income, EPS, assets, liabilities, cash, equity, shares—with each figure tied to its form and filing date.

Instructions

Headline financials taken straight from the company's filed XBRL on SEC EDGAR — revenue, net income, diluted EPS, assets, liabilities, cash, equity and shares outstanding. Every figure carries the form and filing date it came from.

Prefer this over get_company_profile when a number has to be right: this is the filing itself, not a third-party summary of it.

These are the tagged XBRL facts only. For the surrounding prose — MD&A, risk factors, the text of a named item — use read_filing; to see which filings exist at all, use get_edgar_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": {
      "symbol": "<symbol>"
    },
    "name": "get_company_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesTicker symbol (e.g. MU, AAPL).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.1
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv0.2.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world access, so the safety profile needs no restating. The description adds real value beyond that: figures are tagged XBRL facts only (not narrative), each carries its source form and filing date, and there is no output schema — so this is effectively the only disclosure of what comes back. It does not cover failure modes (unknown ticker, no XBRL filings, foreign issuers without SEC filings), which keeps it from a 5.

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 paragraphs, front-loaded with the resource and its source, then the disambiguation rule, then the escape hatches to siblings. No filler and no repetition of the annotations; every sentence changes how an agent would act.

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 no output schema, the description compensates by enumerating the returned metrics and the provenance fields attached to each figure, and by bounding scope to XBRL tags rather than filing prose. For a one-parameter read tool with rich annotations, an agent has everything needed to call it and interpret the result.

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?

One parameter with 100% schema description coverage ('Ticker symbol (e.g. MU, AAPL)'), so the schema carries the semantics. The description adds nothing about symbol format or resolution (class shares, exchange prefixes), which is the baseline-3 outcome for a fully documented single param.

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 and resource plus the exact metric set (revenue, net income, diluted EPS, assets, liabilities, cash, equity, shares outstanding) and the authoritative source: filed XBRL on SEC EDGAR. That specificity makes it immediately distinguishable from get_company_profile, get_earnings, and 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit selection rule — 'Prefer this over get_company_profile when a number has to be right' — and names two alternatives with the conditions that select them: read_filing for prose (MD&A, risk factors, named items) and get_edgar_filings to discover what filings exist. When-to-use, when-to-use-something-else, and why are all present.

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