Get Metric Trend
get_metric_trendRetrieves annual SEC-reported financial metric for a company over recent fiscal years with precomputed growth, enabling trend and change analysis without manual calculations.
Instructions
Return one financial metric for a company over recent fiscal years with growth.
Use this for questions about growth or change over time, and use its growth figures instead of calculating growth yourself. Growth is (value - previous) / previous, computed in code; it is null when no earlier year exists, the previous value is not positive, or a fiscal year is missing. Values are in USD from annual 10-K filings, each with its filing date. Supported metrics: Revenues, NetIncomeLoss, OperatingIncomeLoss, OperatingCashFlow, CapitalExpenditure, FreeCashFlow, LongTermDebt, CommercialPaper, CashAndEquivalents, ShortTermInvestments, StockholdersEquity, Liabilities, AssetsCurrent, LiabilitiesCurrent and InterestExpense. Returns at most 10 years. Requires an exact ticker.
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>",
"metric": "<metric>"
},
"name": "get_metric_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | ||
| metric | Yes | ||
| ticker | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| metric | Yes | ||
| points | Yes | ||
| ticker | Yes | ||
| company_name | Yes |