Get a financial figure over time
get_financialsRetrieve 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
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | The unit, e.g. USD, USD/shares, shares; omit for the usual one | |
| limit | No | The most recent periods to show | |
| period | No | annual (fiscal years) or quarterly | annual |
| company | Yes | A ticker (AAPL), a company name (Apple) or a CIK (320193) | |
| concept | Yes | The XBRL concept name, e.g. Revenues, NetIncomeLoss, Assets | |
| taxonomy | No | us-gaap for financial statements | us-gaap |