compare_quarters
Compare financial data across quarters to analyze trends and surface side-by-side differences in revenue or year-over-year changes.
Instructions
Compare financial information across multiple quarters for trend analysis. Returns documents grouped by quarter so you can show side-by-side comparisons.
WHEN TO USE:
"Compare Q3 vs Q4 revenue"
"How did data center revenue change quarter over quarter?"
"Show me YoY comparison"
Any question with "compare", "vs", "versus", "difference between"
EXAMPLES:
"Compare NVIDIA Q3 and Q4 2025 AI chip revenue" → Use this tool
"What's the trend in gaming revenue?" → Use this tool
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>",
"quarters": "<quarters>",
"year": "<year>"
},
"name": "compare_quarters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Year (e.g., '2026') | |
| query | No | Optional: semantic search query to filter relevant content | |
| ticker | Yes | Stock ticker (e.g., 'NVDA') | |
| quarters | Yes | List of quarters to compare (e.g., ['Q1', 'Q2']) | |
| limit_per_quarter | No | Max documents per quarter (default 5) |