Best card for a purchase
best_card_for_purchaseWhich credit card earns the most on one purchase. Give the amount, the kind of spend and either the cards the person holds (to pick among them) or a country (to rank every card on sale there). Returns the reward in the card currency with the rate and any cap, plus each card's conditions to check. Rates are category rates from the issuer; a merchant-specific rate is listed under conditions, not applied to all spend.
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": {
"amount": "<amount>",
"category": "<category>"
},
"name": "best_card_for_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | No | Card ids (slugs) the person holds. When given, only these are ranked. | |
| amount | Yes | Purchase amount in the local currency of the cards (rupees for India, dollars for the US, dirhams for the UAE). | |
| country | No | Where the card is issued: IN (India), US (United States), EU (United Kingdom and euro area), AE (United Arab Emirates). | |
| category | Yes | Kind of spend: shopping (online and retail), dining (restaurants, food delivery), travel (flights, hotels), fuel, or other. |