updatedAt: 2026-12-01

# Cards, bonuses and spending tools

Your card wallet, welcome bonuses, referrals, spending insights and missing points checks. Arguments, plans and example calls for each tool.

Your card wallet, welcome bonuses, referrals, spending insights and missing points checks. Each tool below lists its plan, behaviour, arguments and an example call. See the [tools overview](https://awardtravelfinder.com/docs/mcp/tools) for how calls work.

## `list_my_cards`

**List my credit cards**. Plan: Free. Read-only.

List the credit cards the user owns (open and closed) with issuer, country, opened and closed dates, welcome bonus status and annual fee. Pending bonuses include spend progress (amount spent, percent of the spend requirement, amount left and days to the deadline); update it with update_bonus_spend. When the user tracks household members (see list_household_members), each line starts with whose card it is ([Me] or the member's name) and the list covers everyone unless member is set. Call this before add_card, update_card or remove_card to see card ids and avoid duplicates.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `member` | string | No | Whose items to show: a household member's name or id, 'me' for the account owner, or 'all' for everyone. Defaults to everyone in the household. |

Example prompt: *"Which cards are in my wallet?"*

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_my_cards",
    "arguments": {}
  }
}
```

## `add_card`

**Add a credit card**. Plan: Free. Saves data to your account.

Record a credit card the user owns. Pass the card as a catalogue slug or name (e.g. 'amex-platinum', 'Chase Sapphire Reserve'); an exact slug or name links to the catalogue; any other match returns candidates instead of saving, so ask the user to confirm and call again with the slug. A name that matches nothing is saved as a free-text card. Set custom to true to skip catalogue matching. Optionally record the welcome bonus (bonus_amount, bonus_currency, bonus_status, bonus_earned_on, spend_requirement, spend_deadline_on) and annual_fee; money is in whole currency units. Instead of spend_deadline_on you can pass spend_window_months (1, 2, 3, 6 or 12) and the deadline is worked out from the opened date. Pass country (ISO code, e.g. GB) for cards outside the catalogue; catalogue cards inherit the catalogue country. Set bonus_status to pending when the user is working toward the bonus, earned once it has posted, missed if the deadline passed; leave it unset when you do not know. For a partner's or family member's card pass member (name or id from list_household_members); without it the card is the account owner's. Call list_my_cards first to avoid duplicates.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `card` | string | Yes | Catalogue slug or card name, or any free-text card name. |
| `member` | string | No | Whose card or balance: a household member's name or id from list_household_members. Leave empty or pass 'me' for the account owner. |
| `nickname` | string | No | Optional nickname, e.g. 'my travel card'. |
| `opened_on` | string | No | Optional ISO date the card was opened. |
| `closed_on` | string | No | Optional ISO date the card was closed. |
| `notes` | string | No | Optional notes. |
| `custom` | boolean | No | Save as a free-text card without catalogue matching. |
| `bonus_amount` | integer or string | No | Welcome bonus size as a whole number, e.g. 80000. Empty string clears it. |
| `bonus_currency` | string | No | What the bonus is paid in, e.g. 'Chase Ultimate Rewards points', 'Amex Membership Rewards points' or 'cash back'. |
| `bonus_status` | string | No | pending: the bonus is offered but the spend requirement is not met yet. earned: the bonus has posted (also set bonus_earned_on). missed: the deadline passed without it. Leave unset if unknown. Empty string clears it. One of `pending`, `earned`, `missed`, or ``. |
| `bonus_earned_on` | string | No | ISO date YYYY-MM-DD the bonus was earned; empty string clears it. |
| `spend_requirement` | number or string | No | Minimum spend to earn the bonus, in whole currency units (4000 means $4,000). Empty string clears it. |
| `spend_deadline_on` | string | No | ISO date YYYY-MM-DD by which the spend requirement must be met; empty string clears it. |
| `spend_window_months` | integer or string | No | Months from the opened date to meet the spend requirement (1, 2, 3, 6 or 12). The server works out spend_deadline_on from opened_on. Used only when spend_deadline_on is not given; needs an opened date. One of `1`, `2`, `3`, `6`, `12`, `1`, `2`, `3`, `6`, `12`, or ``. |
| `annual_fee` | number or string | No | Annual fee in whole currency units (95 means $95). Empty string clears it. |
| `currency` | string | No | 3-letter currency code for spend_requirement and annual_fee. Defaults to USD. |
| `country` | string | No | 2-letter ISO country code of the card, for example GB, US, CA or AU (UK is accepted for GB). Catalogue cards use the catalogue country when this is not set. Empty string resets it to the catalogue country. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "add_card",
    "arguments": {
      "card": "<card>"
    }
  }
}
```

## `update_card`

**Update a credit card**. Plan: Free. Changes or deletes data.

Change a tracked card: nickname, name, opened date, closed date, notes, welcome bonus fields (bonus_amount, bonus_currency, bonus_status, bonus_earned_on, spend_requirement, spend_deadline_on, spend_window_months), annual_fee or country. Money is in whole currency units. spend_window_months (1, 2, 3, 6 or 12) works out the deadline from the opened date when spend_deadline_on is blank. Set bonus_status to earned once the bonus has posted (with bonus_earned_on), missed if the deadline passed without it, pending while the user is still working toward it. Identify the card by id (from list_my_cards) or by name; when two household members hold a card with the same name, pass member (name or id) to pick theirs. Send an empty string to clear a field. To mark a card closed, prefer remove_card.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `card` | string | Yes | Card id from list_my_cards, or its name or nickname. |
| `member` | string | No | Whose items to show: a household member's name or id, 'me' for the account owner, or 'all' for everyone. Defaults to everyone in the household. |
| `name` | string | No | New card name. |
| `nickname` | string | No | New nickname; empty string clears it. |
| `opened_on` | string | No | ISO date YYYY-MM-DD; empty string clears it. |
| `closed_on` | string | No | ISO date YYYY-MM-DD; empty string reopens the card. |
| `notes` | string | No | New notes; empty string clears them. |
| `bonus_amount` | integer or string | No | Welcome bonus size as a whole number, e.g. 80000. Empty string clears it. |
| `bonus_currency` | string | No | What the bonus is paid in, e.g. 'Chase Ultimate Rewards points', 'Amex Membership Rewards points' or 'cash back'. |
| `bonus_status` | string | No | pending: the bonus is offered but the spend requirement is not met yet. earned: the bonus has posted (also set bonus_earned_on). missed: the deadline passed without it. Leave unset if unknown. Empty string clears it. One of `pending`, `earned`, `missed`, or ``. |
| `bonus_earned_on` | string | No | ISO date YYYY-MM-DD the bonus was earned; empty string clears it. |
| `spend_requirement` | number or string | No | Minimum spend to earn the bonus, in whole currency units (4000 means $4,000). Empty string clears it. |
| `spend_deadline_on` | string | No | ISO date YYYY-MM-DD by which the spend requirement must be met; empty string clears it. |
| `spend_window_months` | integer or string | No | Months from the opened date to meet the spend requirement (1, 2, 3, 6 or 12). The server works out spend_deadline_on from opened_on. Used only when spend_deadline_on is not given; needs an opened date. One of `1`, `2`, `3`, `6`, `12`, `1`, `2`, `3`, `6`, `12`, or ``. |
| `annual_fee` | number or string | No | Annual fee in whole currency units (95 means $95). Empty string clears it. |
| `currency` | string | No | 3-letter currency code for spend_requirement and annual_fee. Defaults to USD. |
| `country` | string | No | 2-letter ISO country code of the card, for example GB, US, CA or AU (UK is accepted for GB). Catalogue cards use the catalogue country when this is not set. Empty string resets it to the catalogue country. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_card",
    "arguments": {
      "card": "<card>"
    }
  }
}
```

## `remove_card`

**Close a credit card**. Plan: Free. Changes or deletes data.

Mark a tracked card as closed so it stays in the history. Pass closed_on with the date the user closed it; without it the date is today. Only set permanent to true if the user explicitly asks to delete the card entirely; that cannot be undone. Confirm with the user first: clients with confirmation dialogs ask them; otherwise the first call changes nothing and you call again with confirm true after the user agrees. Identify the card by id (from list_my_cards) or by name; pass member (name or id) to pick a household member's card.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `card` | string | Yes | Card id from list_my_cards, or its name or nickname. |
| `member` | string | No | Whose items to show: a household member's name or id, 'me' for the account owner, or 'all' for everyone. Defaults to everyone in the household. |
| `closed_on` | string | No | Date the card was closed, YYYY-MM-DD. Defaults to today. |
| `permanent` | boolean | No | Delete the card entirely instead of marking it closed. |
| `confirm` | boolean | No | Set true only after the user agrees. Clients that show confirmation dialogs ask the user themselves. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "remove_card",
    "arguments": {
      "card": "<card>"
    }
  }
}
```

## `list_catalogue_cards`

**Browse credit cards**. Plan: Free. Read-only.

List real credit cards from the catalogue with name, slug, issuer, country, annual fee and currency, points currency and card_url. Filter by country (ISO code such as US, GB, CA, AU; UK is accepted for GB; 'all' lists every country), issuer, a name query, points_currency, lounge_network (lounge network name, for example 'Priority Pass' or 'Centurion'), max_annual_fee and has_lounge_access. Country defaults to the user's primary country. Lounge data is reviewed for only some cards: has_lounge_access false matches reviewed cards with no lounge, and the result says how many cards in scope are reviewed. Welcome bonuses and earning rates are NOT included; use get_catalogue_card for one card's full record, or the cards_* tools for bonuses.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `country` | string | No | ISO country code (US, GB, CA, AU, DE, ...). UK is accepted for GB. 'all' returns every country. Defaults to the user's primary country (US when unknown). |
| `issuer` | string | No | Issuer name or key, for example 'amex', 'American Express' or 'Barclays'. |
| `query` | string | No | Text to match in the card name or slug. |
| `points_currency` | string | No | Points currency to match, for example 'Avios' or 'Qantas Points'. |
| `lounge_network` | string | No | Lounge network or lounge name to match, for example 'Priority Pass' or 'Centurion'. |
| `max_annual_fee` | integer | No | Only cards with an annual fee at or below this amount, in the card's currency. Cards with an unknown fee are left out. Minimum 0. |
| `has_lounge_access` | boolean | No | true for cards that list lounge access, false for cards that list none. |
| `limit` | integer | No | Maximum cards to return. Default 25, maximum 100. Minimum 1. Maximum 100. |

Example prompt: *"Show me the travel cards you track."*

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_catalogue_cards",
    "arguments": {}
  }
}
```

## `get_catalogue_card`

**Get credit card details**. Plan: Free. Read-only.

Get the full catalogue record for one credit card: annual fee, foreign transaction fee, signup bonus and spend, earning rates, perks, transfer partners, lounge access, benefits, eligibility, bonus history, source and review date, and the apply link. Pass slug, or pass query with country. Use list_catalogue_cards to find slugs. data_reviewed_on covers lounge_access, benefits, eligibility and foreign_transaction_fee only; signup_bonus and earning_rates come from a separate feed and can differ.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `slug` | string | No | Catalogue slug, for example 'chase-sapphire-reserve'. Preferred when known. |
| `query` | string | No | Text to match in the card name or slug, for example 'sapphire reserve'. Use with country. Returns the card only when one card matches. |
| `country` | string | No | ISO country code (US, GB, CA, AU, ...). UK is accepted for GB. Defaults to the user's primary country when query is used. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_catalogue_card",
    "arguments": {}
  }
}
```

## `check_bonus_eligibility`

**Check welcome bonus eligibility**. Plan: Free. Read-only.

Estimate if the user can get the welcome bonus on one catalogue card, from the cards they saved (opened and closed dates, bonus status, issuer and country). Covers Amex UK (same rewards currency in 24 months), Amex US (once per lifetime and card families), Chase 5/24 and Sapphire, Capital One Venture family and card limits, and Bank of America 2/3/4. Returns status eligible, not_eligible or unknown, the reasons with the rule and the cards behind each one, and eligible_from when a date can be worked out. These are estimates, not a promise: always tell the user to check with the issuer before they apply. Pass card as a catalogue slug or a card name. Use list_my_cards to see the saved cards and update_card to add missing dates. Pass member (exact name or id from list_household_members) to check a household member's own cards instead of the account owner's.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `member` | string | No | Whose card or balance: a household member's name or id from list_household_members. Leave empty or pass 'me' for the account owner. |
| `card` | string | Yes | Catalogue slug, for example 'amex-gold-uk', or a card name, for example 'Sapphire Preferred'. |
| `country` | string | No | ISO country code (US, GB, ...) to narrow a card name. UK is accepted for GB. Defaults to the user's primary country. |

Example prompt: *"Am I still eligible for the welcome bonus on this card?"*

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "check_bonus_eligibility",
    "arguments": {
      "card": "<card>"
    }
  }
}
```

## `update_bonus_spend`

**Update welcome bonus spend**. Plan: Free. Changes or deletes data.

Record how much the user has spent toward a pending welcome bonus on one of their cards. Pass spent with the total spent so far, or add with an amount to add to the saved total (not both). Money is in whole currency units of the card (1500 means 1,500 in the card currency). Returns the percent of the spend requirement met, the amount left and the days to the spend deadline. The card must have bonus_status pending; use update_card to set the bonus first. Identify the card by id (from list_my_cards) or by name; pass member to pick a household member's card.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `card` | string | Yes | Card id from list_my_cards, or its name or nickname. |
| `spent` | number or string | No | Total spent toward the bonus so far, in whole currency units. |
| `add` | number or string | No | Amount to add to the saved total, in whole currency units. |
| `member` | string | No | Whose items to show: a household member's name or id, 'me' for the account owner, or 'all' for everyone. Defaults to everyone in the household. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_bonus_spend",
    "arguments": {
      "card": "<card>"
    }
  }
}
```

## `compare_card_offers_for_plan`

**Compare card offers for my flights**. Plan: Free. Read-only.

Compare the welcome bonus of 2 or 3 catalogue credit cards against the user's upcoming award flights. For each card it returns the bonus, which saved award bookings the bonus could pay for (using transfer partners at base ratios; for flights in a trip still being planned it adds the user's own balances in the bonus currency and the airline programme; for flights already ticketed it says how much of the points spent the bonus would replace), and the smallest shortfall when it only partly covers them. Pass catalogue slugs from list_catalogue_cards. The bonus comes from the catalogue and can be out of date, so tell the user to check the issuer's current offer.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `slugs` | array of string | Yes | 2 or 3 catalogue card slugs, e.g. ['chase-sapphire-preferred', 'amex-gold']. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "compare_card_offers_for_plan",
    "arguments": {
      "slugs": [
        "<slug>"
      ]
    }
  }
}
```

## `import_cards_from_image`

**Import cards from a screenshot**. Plan: Premium. Changes or deletes data.

Read credit cards and welcome bonuses from a screenshot or PDF of an issuer account page, a card approval email or a bonus tracker. Step 1: pass document_id (a file the user uploaded to their documents) or image_base64 + media_type. This saves nothing. It returns a preview and a preview_id; show the user each card with whether it will be added or updated, the welcome bonus, spend requirement and deadline, and the annual fee. Cards that match several catalogue cards are listed as needing a choice and are not saved. Step 2: after the user confirms, call again with confirm=true (apply=true works too) and that preview_id to save them. Cards the user already tracks are updated, never duplicated. Previews expire after 30 minutes. Images are never stored. Never ask the user for card numbers or passwords. Confirm with the user before it overwrites saved data.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `document_id` | integer | No | Id of a document the user uploaded (image or PDF). |
| `image_base64` | string | No | Base64 image or PDF bytes, or a data URI (data:image/png;base64,...), when there is no document_id. |
| `media_type` | string | No | Media type of image_base64. Optional when image_base64 is a data URI. One of `image/jpeg`, `image/png`, `image/gif`, `image/webp`, or `application/pdf`. |
| `confirm` | boolean | No | false = preview only (default). true = save the cards of preview_id. |
| `apply` | boolean | No | Alias of confirm. Either one set to true saves the cards of preview_id. |
| `preview_id` | string | No | The preview_id from the preview call. Required when confirm is true. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "import_cards_from_image",
    "arguments": {}
  }
}
```

## `list_card_suggestions`

**List card suggestions**. Plan: Free. Read-only.

List credit cards found in the user's forwarded card emails (issuer approval, welcome and statement emails from Amex, Chase, Bank of America and Capital One) that wait for the user to confirm them. Each suggestion has an import_id, the card name, issuer, last 4 or 5 digits, country and an opened date that is only an estimate from the email date. Show them to the user, then call confirm_card_suggestion or dismiss_card_suggestion with the import_id the user picks.

This tool takes no arguments.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_card_suggestions",
    "arguments": {}
  }
}
```

## `confirm_card_suggestion`

**Confirm a card suggestion**. Plan: Free. Changes or deletes data.

Add a card suggestion (from list_card_suggestions or import_booking) to the user's cards. Confirm with the user before you call this. When the suggestion says it updates a card the user already tracks, confirming adds the last digits to that card. The opened date is an estimate from the email date; tell the user so they can correct it with update_card. When the suggestion needs a choice, pass card with the catalogue slug the user picked.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `import_id` | integer | Yes | The import_id of the card suggestion. |
| `card` | string | No | Optional catalogue slug, when the suggestion lists several matching catalogue cards. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "confirm_card_suggestion",
    "arguments": {
      "import_id": 1
    }
  }
}
```

## `dismiss_card_suggestion`

**Dismiss a card suggestion**. Plan: Free. Changes or deletes data.

Dismiss a card suggestion the user does not want, so no card is added. Confirm with the user before you call this. Saved cards are not changed.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `import_id` | integer | Yes | The import_id of the card suggestion. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "dismiss_card_suggestion",
    "arguments": {
      "import_id": 1
    }
  }
}
```

## `get_card_wallet`

**Get my card wallet**. Plan: Free. Read-only.

The My cards page: total annual fees, fees due in the next 60 days, value used this year against those fees (card credits plus recovered missing points), Chase 5/24 status, and each open card's statement credits with what is used and what is left. Shows the account owner's cards by default; pass member (a household member's name or id, or 'all') for someone else. Chase 5/24 is counted per person, so 'all' reports the owner's count. Use list_my_cards for the plain card list.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `member` | string | No | Whose wallet: a household member's name or id, 'me' (the default) or 'all'. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_card_wallet",
    "arguments": {}
  }
}
```

## `log_card_credit_use`

**Log a card credit use**. Plan: Free. Saves data to your account.

Log one use of a card statement credit or perk, for example an Uber credit on an Amex Platinum. It counts toward the value used on the My cards page. Use get_card_wallet to see each card's credits and list_my_cards for the card id.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `card_id` | integer | Yes | Id of the user's card, from list_my_cards. |
| `label` | string | Yes | What the credit was for, e.g. 'Uber Cash' or 'Airline fee credit'. Reuse the label shown in get_card_wallet so uses add up. |
| `amount` | number | Yes | Amount used in the card's currency, e.g. 15 or 15.50. |
| `used_on` | string | No | Date used, YYYY-MM-DD. Defaults to today. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "log_card_credit_use",
    "arguments": {
      "card_id": 1,
      "label": "<label>",
      "amount": 1
    }
  }
}
```

## `delete_card_credit_use`

**Delete a card credit use**. Plan: Free. Changes or deletes data.

Remove a logged card credit use. The id is in the credit_uses list of get_card_wallet. Confirm with the user first: clients with confirmation dialogs ask them; otherwise the first call deletes nothing and you call again with confirm true after the user agrees.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `credit_use_id` | integer | Yes | Id from get_card_wallet. |
| `confirm` | boolean | No | Set true only after the user agrees. Clients that show confirmation dialogs ask the user themselves. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_card_credit_use",
    "arguments": {
      "credit_use_id": 1
    }
  }
}
```

## `find_referral_options`

**Find card referral options**. Plan: Free. Read-only.

For a credit card the user (or someone in their household) wants to get, find which of the user's open cards can refer them to it, what the referrer and the friend get, how to make the referral (method and steps), and the yearly referral cap used and left. Also checks cards with the same points currency, for example the Atmos Rewards Ascent when the Summit has no referral. Returns a side-by-side of the public offer and the top-ranked referral path (household points and annual fee) with a short recommendation, plus Boost tips (relationship bonuses) for the target card. If no referral path exists, it says so and shows the public offer. Each path has status confirmed (the data says it works) or possible (the data does not say; check with the issuer). Never say a referral exists when the data says unknown. Always show the source and review date, and tell the user to check the current offer with the issuer before applying. Pass referee_offer_points when the user knows the offer in their invitation.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `target_card_slug` | string | Yes | Catalogue slug of the card the person wants, for example 'barclays-atmos-summit'. Use list_catalogue_cards to find it. |
| `member` | string | No | Optional: who will apply. A household member name or id, or 'me' for the account owner. Their own cards are not used as referrers. Leave it out when the person is not in the household. |
| `referee_offer_points` | integer | No | Optional points the friend's referral invitation offers, when the user knows it. Used for the side-by-side. Minimum 0. Maximum 10000000. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "find_referral_options",
    "arguments": {
      "target_card_slug": "<target_card_slug>"
    }
  }
}
```

## `list_referral_programmes`

**List card referral programmes**. Plan: Free. Read-only.

List the refer-a-friend programmes and relationship bonuses (Boost tips) we hold for catalogue credit cards: can_refer (yes, no or unknown), referrer bonus, yearly cap, which cards a holder can refer to, method (shareable link, issuer website form or phone), steps, friend's offer notes, source URL, review date and needs_review. Filter by issuer (for example 'amex', 'chase', 'Bank of America') and country. Unknown values are null or 'unknown': do not fill them in. Use find_referral_options to check the user's own wallet for a target card.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `issuer` | string | No | Optional issuer name or key, for example 'amex', 'chase' or 'Bank of America'. |
| `country` | string | No | Optional ISO country code (US, GB, ...). UK is accepted for GB. Default: all countries. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_referral_programmes",
    "arguments": {}
  }
}
```

## `add_referral`

**Add a card referral**. Plan: Free. Saves data to your account.

Log a referral the user made from one of their cards, for example Jack referred Jess to the Sapphire Preferred. Approved and credited referrals count toward the issuer's yearly referral cap. Pass card (id from list_my_cards, or name), referred (a household member name, or any name), status and bonus_amount. Or pass email_text with the text of an issuer email such as 'You earned 15,000 points for referring a friend' and the tool reads the bonus, currency and date (card can then be left out when only one card of that issuer matches). Returns the saved referral and the card's cap status, with a warning when the next referral would go over the cap.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `card` | string | No | The card the user referred from: card id from list_my_cards, or its name or nickname. |
| `referred` | string | No | Who was referred: a household member name or id (see list_household_members), or any name. Optional. |
| `email_text` | string | No | Optional text of the issuer's referral email. Values you pass in other fields win. |
| `member` | string | No | Whose items to show: a household member's name or id, 'me' for the account owner, or 'all' for everyone. Defaults to everyone in the household. |
| `status` | string | No | sent: the friend has the link or invitation. approved: the friend's card is approved. credited: the referral bonus posted. denied: no bonus. One of `sent`, `approved`, `credited`, or `denied`. |
| `sent_on` | string | No | ISO date YYYY-MM-DD the referral was sent. |
| `earned_on` | string | No | ISO date YYYY-MM-DD the friend was approved or the bonus was credited. Defaults to today for approved or credited. |
| `bonus_amount` | integer or string | No | Referral bonus for the referrer, in whole points or miles, e.g. 15000. Leave it out when unknown. |
| `bonus_currency` | string | No | Points currency of the bonus, e.g. 'Membership Rewards points', 'Ultimate Rewards points', 'Avios' or 'Atmos Rewards points'. Defaults to the card's points currency. |
| `notes` | string | No | Optional notes, up to 2000 characters. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "add_referral",
    "arguments": {}
  }
}
```

## `list_referrals`

**List card referrals and caps**. Plan: Free. Read-only.

List the referrals the user logged (who was referred, from which card, bonus, status and date) and, for each card, the yearly referral cap status: earned this period, cap, remaining, reset date, whether the cap is shared by a card family, and a warning when the next referral would go over the cap. Caps that the issuer does not publish show as unknown: do not guess them. Each cap shows its source URL and the date we last checked it.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `member` | string | No | Whose items to show: a household member's name or id, 'me' for the account owner, or 'all' for everyone. Defaults to everyone in the household. |
| `status` | string | No | Optional: only referrals with this status. One of `sent`, `approved`, `credited`, or `denied`. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_referrals",
    "arguments": {}
  }
}
```

## `referral_cap_status`

**Check referral caps**. Plan: Free. Read-only.

Before the user sends a card referral, check the yearly referral cap: for one card (id or name) or one issuer (for example 'amex', 'chase', 'bank_of_america'), or for all the user's cards. Returns earned this period, the cap, remaining, the reset date, a warning when the next referral would earn a partial or zero bonus, and the suggested card to refer from next (the most points for one more referral, then the most room left). Pass target_card_slug (catalogue slug) to suggest only cards that can refer a friend to that card. Unknown caps are 'unknown': never guess a cap. Tell the user to check the issuer terms.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `card` | string | No | Optional card id from list_my_cards, or its name or nickname. |
| `issuer` | string | No | Optional issuer, for example 'amex', 'chase' or 'Bank of America'. |
| `target_card_slug` | string | No | Optional catalogue slug of the card the friend wants, e.g. 'chase-sapphire-preferred'. |
| `member` | string | No | Whose items to show: a household member's name or id, 'me' for the account owner, or 'all' for everyone. Defaults to everyone in the household. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "referral_cap_status",
    "arguments": {}
  }
}
```

## `update_referral`

**Update a card referral**. Plan: Free. Changes or deletes data.

Change a logged referral, for example mark it approved or credited when the bonus posts, or fix the amount or date. Pass id from list_referrals and only the fields to change. An empty string clears a field. Returns the referral and the card's cap status.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer or string | Yes | Referral id from list_referrals. |
| `card` | string | No | Optional: move the referral to another card (id or name). |
| `referred` | string | No | Optional: who was referred (household member name or id, or any name). Empty string clears it. |
| `status` | string | No | sent: the friend has the link or invitation. approved: the friend's card is approved. credited: the referral bonus posted. denied: no bonus. One of `sent`, `approved`, `credited`, or `denied`. |
| `sent_on` | string | No | ISO date YYYY-MM-DD the referral was sent. |
| `earned_on` | string | No | ISO date YYYY-MM-DD the friend was approved or the bonus was credited. Defaults to today for approved or credited. |
| `bonus_amount` | integer or string | No | Referral bonus for the referrer, in whole points or miles, e.g. 15000. Leave it out when unknown. |
| `bonus_currency` | string | No | Points currency of the bonus, e.g. 'Membership Rewards points', 'Ultimate Rewards points', 'Avios' or 'Atmos Rewards points'. Defaults to the card's points currency. |
| `notes` | string | No | Optional notes, up to 2000 characters. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_referral",
    "arguments": {
      "id": "<id>"
    }
  }
}
```

## `delete_referral`

**Delete a card referral**. Plan: Free. Changes or deletes data.

Delete a logged referral by id (from list_referrals). Confirm with the user first.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer or string | Yes | Referral id from list_referrals. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_referral",
    "arguments": {
      "id": "<id>"
    }
  }
}
```

## `get_spending_insights`

**Get spending insights**. Plan: Free. Read-only.

The user's imported card spending: yearly spend per category and monthly average. Where the account's plan includes it, the result also adds the highest-earning card per category, the next card to add with the extra points per year, travel credits that pay for themselves, and a projected points balance by a target date.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `target_date` | string | No | Trip date (YYYY-MM-DD) to project the points balance to. Optional. |
| `starting_balance` | integer | No | Points the user holds now in the target currency. Optional. |

Example prompt: *"Which categories do I spend the most on and which card should I use?"*

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_spending_insights",
    "arguments": {}
  }
}
```

## `import_spending_statement`

**Import a spending statement**. Plan: Free. Changes or deletes data.

Import a credit card statement the user uploaded (CSV from any US bank, or PDF) to learn their monthly spending per category. Pass the uploaded document id. Or pass `transactions` read from the user's card account: this returns a preview and a preview_id; after the user confirms, call again with apply=true and that preview_id within 30 minutes. The file and the raw transactions are deleted after import; only monthly category totals are kept. Then call get_spending_insights.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `document_id` | integer | No | Id of the uploaded document that holds the statement. |
| `transactions` | array of object | No | Posted card transactions, as an alternative to document_id. Purchases are positive amounts; refunds and payments are negative. |
| `apply` | boolean | No | false = preview only (default). true = import the transactions of preview_id. |
| `preview_id` | string | No | The preview_id from the preview call. Required when apply is true. |
| `card_label` | string | No | Name of the card the statement is for, e.g. 'Amex Gold'. Optional. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "import_spending_statement",
    "arguments": {}
  }
}
```

## `delete_spending_data`

**Delete my spending data**. Plan: Free. Changes or deletes data.

Delete all the spending data the user imported: the monthly category totals and the statement fingerprints. The same as Delete my spending data on the spending page. Card recommendations based on spending stop until a new statement is imported. This cannot be undone, so confirm with the user first: clients with confirmation dialogs ask them; otherwise the first call deletes nothing, returns what would be removed, and you call again with confirm true after the user agrees.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `confirm` | boolean | No | Set true only after the user agrees. Clients that show confirmation dialogs ask the user themselves. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_spending_data",
    "arguments": {}
  }
}
```

## `list_points_audits`

**List missing points checks**. Plan: Free. Read-only.

List the user's missing points checks (card statements checked for purchases that earned fewer points than the card promises): points expected, points received, points missing and their value. Plans with the points finder also get the flagged purchases. Statements are uploaded on the website under Dashboard > Missing points, or with import_spending_statement.

This tool takes no arguments.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_points_audits",
    "arguments": {}
  }
}
```

## `delete_points_audit`

**Delete a missing points check**. Plan: Free. Changes or deletes data.

Delete a missing points check and its purchases. Use list_points_audits to find the id. Confirm with the user first: clients with confirmation dialogs ask them; otherwise the first call deletes nothing and you call again with confirm true after the user agrees.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `points_audit_id` | integer | Yes | Id from list_points_audits. |
| `confirm` | boolean | No | Set true only after the user agrees. Clients that show confirmation dialogs ask the user themselves. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_points_audit",
    "arguments": {
      "points_audit_id": 1
    }
  }
}
```
