Compare banks in a country for one currency
compare_bank_ratesRank every bank in a country by exchange rate for one currency, showing where to buy or sell it cheapest with buy, sell, spread and official rate data.
Instructions
Rank every covered bank in a country for one currency, best first: 'which bank in India sells USD cheapest?', 'best bank to sell my euros in Sri Lanka'. side='sell' (default) ranks by the lowest price to buy the currency from the bank; side='buy' ranks by the highest price the bank pays you. Each row has buy, sell, spread_pct, the official rate and the bank's own update stamp. Needs an API key.
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": {
"country": "<country>",
"ccy": "<ccy>"
},
"name": "compare_bank_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ccy | Yes | Foreign currency, ISO 4217, e.g. 'USD', 'EUR', 'GBP'. Prices are in the country's home currency per 1 unit. | |
| side | No | 'sell' = you buy the currency from the bank (default); 'buy' = you sell it to the bank. | |
| limit | No | Max banks to return (default 20). | |
| country | Yes | Two-letter country code (ISO 3166), e.g. 'in', 'sg', 'ae', 'gb', 'us'. See list_bank_countries. |