compare_companies
Compare 2 to 6 companies side by side on price, market cap, P/E, book value, ROCE, ROE, debt-to-equity, dividend yield, and 52-week range, with per-company red-flag checks.
Instructions
Side-by-side comparison of 2 to 6 companies: price, market cap, P/E, book value, ROCE, ROE, debt-to-equity, dividend yield, 52-week range, plus point-in-time red-flag checks per company.
Hosts that support MCP Apps (e.g. Claude Desktop) also render an interactive dashboard with the best value in each row highlighted; every host gets the same data as JSON in data.companies.
symbols: list (["ITC", "HINDUNILVR", "NESTLEIND"]) or comma-separated string ("TCS,INFY,WIPRO"). Company names and near-miss symbols are resolved like everywhere else. financial_type: "consolidated" or "standalone"
Examples: compare_companies(["ITC", "HINDUNILVR"]) compare_companies("TCS,INFY,WIPRO,HCLTECH")
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_companies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | ||
| financial_type | No | consolidated |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||