Skip to main content
Glama
edgar-mcp

edgar-mcp

Get a financial figure over time

get_financials
Read-only

Retrieve a company's reported XBRL values for a financial concept across annual or quarterly periods from 10-K and 10-Q filings, with period-over-period changes and filing accession numbers.

Instructions

Get a company's reported value of one financial concept over time, from the XBRL data in its 10-K and 10-Q filings: one value per fiscal year (or quarter), the latest filed value for each period so restatements win, with the change from the period before and the accession number of the filing it comes from. Concepts are us-gaap names and are case-sensitive. Common ones: Revenues or RevenueFromContractWithCustomerExcludingAssessedTax (companies differ; try the other if one is not found), NetIncomeLoss, OperatingIncomeLoss, GrossProfit, EarningsPerShareDiluted, Assets, Liabilities, StockholdersEquity, CashAndCashEquivalentsAtCarryingValue, NetCashProvidedByUsedInOperatingActivities, ResearchAndDevelopmentExpense, LongTermDebt.

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": {
      "company": "<company>",
      "concept": "<concept>"
    },
    "name": "get_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoThe unit, e.g. USD, USD/shares, shares; omit for the usual one
limitNoThe most recent periods to show
periodNoannual (fiscal years) or quarterlyannual
companyYesA ticker (AAPL), a company name (Apple) or a CIK (320193)
conceptYesThe XBRL concept name, e.g. Revenues, NetIncomeLoss, Assets
taxonomyNous-gaap for financial statementsus-gaap

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses the key behavioral rule: the latest filed value wins per period so restatements override earlier values. It also states the returned fields (change from the prior period, accession number of the source filing) and the per-period granularity. That is exactly the context an agent needs to trust and interpret the numbers.

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?

It is front-loaded with the core behavior, then the return shape, then concept guidance; every sentence is useful. The list of twelve common concept names is the longest part and borders on overlong, but it is concrete and tied to the parameter that most often fails.

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?

Six parameters, two of them enums, are all documented at 100% in the schema. The description covers return shape and restatement semantics despite no output schema, so nothing critical for correct invocation is missing.

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 description coverage is 100%, so the baseline is 3; the description adds real meaning on top for the most consequential parameter, concept, by explaining case-sensitivity, common us-gaap names, and the need to try alternative concepts. It adds nothing for unit, limit, period, or taxonomy, which the schema already documents.

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?

The description names a specific verb and resource: retrieving a company's reported value of a single XBRL financial concept over time from its 10-K/10-Q filings. It makes the shape of the result clear: one value per fiscal period plus the prior-period change and accession number. This lets an agent distinguish it from read_filing or list_filings without opening either 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?

It gives concrete search guidance: 'companies differ; try the other if one is not found', plus an explicit note that concepts are us-gaap and case-sensitive. It never explicitly says when to prefer this tool over read_filing or list_filings, and it gives no exclusions, so it is strong but not complete routing guidance.

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

Deploy Server

Other Tools