Get standardized financial statement data, trends, or revisions
get_financialsPull standardized financial line items for a US-listed company from SEC XBRL filings. Available metrics: revenue, grossProfit, operatingIncome, netIncome, epsBasic, epsDiluted, totalAssets, currentAssets, totalLiabilities, currentLiabilities, longTermDebt, totalEquity, cashAndEquivalents, operatingCashFlow, capex, rdExpense, sharesOutstanding, dividendsPerShare, dividendsPaid, stockBasedCompensation, deferredRevenue, goodwill, intangibleAssets, depreciationAmortization, costOfGoodsSold, sellingGeneralAndAdministrative, interestExpense, otherNonoperatingIncomeExpense, pretaxIncome, incomeTaxExpense, liabilitiesAndEquity, assetImpairment, shortTermInvestments, weightedAverageDilutedShares, shareRepurchases, accountsReceivable, inventory, accountsPayable, propertyPlantEquipment, investingCashFlow, financingCashFlow, grossInterestIncome, netInterestIncome, noninterestIncome. Three views:
view="values" (default): values per period with the XBRL tag used and source filing accession numbers. period="ttm" returns latest FY + current YTD - prior-year comparable YTD for flows (or FY when the latest fact is year-end), and latest instant values for balance-sheet metrics. fiscalYear is derived from the fact's periodEnd; sourceFilingFiscalYear preserves SEC filing metadata. limit 1–40, default 8.
view="trends": changes, guarded growth rates and filing provenance for up to 8 metrics (default revenue, operatingIncome, netIncome, operatingCashFlow, capex). Quarterly mode compares adjacent reported quarters and matches year-over-year quarters by actual period end; missing periods are not imputed. Annual mode also returns endpoint CAGR. Annual or quarterly only; limit 2–10, default 8. Historical analysis, not a forecast.
view="revisions": values the company later reported differently for the same XBRL tag and exact period, with both filing dates and accession numbers (up to 6 metrics; defaults to revenue, net income, assets, operating cash flow). Annual or quarterly only; limit 1–50 changed facts per metric, default 20. A difference can reflect an amendment, reclassification, or updated comparative and does not alone establish a formal restatement. Not financial advice.
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>"
},
"name": "get_financials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | values = reported numbers; trends = growth and CAGR; revisions = later-changed reported facts | values |
| limit | No | values: periods per metric (1–40, default 8); trends: observations per metric (2–10, default 8); revisions: changed facts per metric (1–50, default 20) | |
| period | No | TTM is available for view=values only. | annual |
| ticker | Yes | ||
| metrics | No | Subset of available metrics; omit for all (values) or the view's defaults (trends, revisions) |