Compare stocks
compare_stocksUse to compare companies against each other. Side-by-side headline fundamentals for 2–4 tickers (latest values with as-of context): market cap, close, P/E, P/S, margins, ROE, dividend yield, and 5-year revenue/EPS CAGRs. Uncovered symbols are reported honestly, not dropped silently.
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": {
"symbols": "<symbols>"
},
"name": "compare_stocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json (default): the full JSON as text. markdown: a compact table or list, fewer tokens. structuredContent is the full JSON either way. | |
| symbols | Yes | 2–4 ticker symbols |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| stocks | Yes | ||
| compareUrl | Yes |