Compare metric
compare_metricCompare capex, revenue, R&D expense, or operating income across companies for matching calendar quarters or years, aligning different fiscal periods for direct SEC filing-based analysis.
Instructions
Compare one metric across companies for the same calendar quarters (CY2025Q2) or years (CY2025). Fiscal quarters are mapped to the calendar quarter they mostly cover, so companies with different fiscal years line up. A year (CY2025) is each company's fiscal year that mostly falls in 2025, so the 12 months differ by company: check period_start and period_end. For a January to December total, add up the four calendar quarters instead.
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": {
"companies": "<companies>",
"metric": "<metric>",
"calendar_periods": "<calendar_periods>"
},
"name": "compare_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | ||
| companies | Yes | ||
| calendar_periods | Yes |