updatedAt: 2026-12-01

# Account and integrations tools

Profile and settings, prompt library, integrations, advisor client portfolios and feedback. Arguments, plans and example calls for each tool.

Profile and settings, prompt library, integrations, advisor client portfolios and feedback. 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.

## `get_profile`

**Get my profile**. Plan: Free. Read-only.

Get the signed-in user's profile: name, email, plan tier, country of residence (used to pick card offers and region-specific recommendations), the offer country in effect, leaderboard handle, and the airlines the user excluded from results. Use set_country to change the country and set_airline_exclusions to change the excluded airlines.

This tool takes no arguments.

Example prompt: *"What does my Award Travel Finder profile look like?"*

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

## `set_country`

**Set my country**. Plan: Free. Changes or deletes data.

Set the user's country of residence. It decides which card offers and regional recommendations the assistant uses, the same setting as the country field on the account settings page. Accepts an ISO 3166 two-letter code or a country name; UK is accepted for GB. Pass an empty string to clear it. Confirm with the user before it overwrites saved data.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `country` | string | Yes | Two-letter country code (US, GB, AU) or country name. UK maps to GB. Empty string clears the setting. |

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

## `set_airline_exclusions`

**Set airlines to avoid**. Plan: Free. Changes or deletes data.

Set the airlines the user does not want to fly, as IATA codes or airline names (for example MS, Royal Jordanian, AT). Results on these airlines (program, operating or marketing carrier) are hidden from search_all_airlines, search_availability, recommend_redemption and route monitor alerts. It is the same list as the excluded airlines field on the account settings page. mode replace (default) sets the whole list, add and remove change it. Pass an empty list with mode replace to clear it. Confirm with the user before it overwrites saved data.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `airlines` | array of string | No | IATA codes or airline names, e.g. ["MS", "RJ", "Royal Air Maroc"]. |
| `programs` | array of string | No | Loyalty programs to hide, without hiding the airline, e.g. ["Etihad Guest"]. The airline's flights still show when another program sells them (Etihad flights via Flying Blue). Same mode applies. |
| `mode` | string | No | One of `replace`, `add`, or `remove`. Default `replace`. |

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

## `set_leaderboard_membership`

**Join or leave the leaderboard**. Plan: Free. Changes or deletes data.

Join the public travel leaderboard under a handle, change the handle, or leave it. Joining makes the handle and logged-trip totals public, so 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. Leaving keeps the handle for a later rejoin.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `listed` | boolean | Yes | true joins or renames, false leaves. |
| `handle` | string | No | Public handle. Required when listed is true. |
| `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": "set_leaderboard_membership",
    "arguments": {
      "listed": true
    }
  }
}
```

## `list_prompt_templates`

**List prompt templates**. Plan: Free. Read-only.

List the prompt library: the curated travel prompt templates plus the user's own saved ones. Templates use {name} tokens for the parts the user fills in. Same list as Dashboard > Prompts on the website.

This tool takes no arguments.

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

## `save_prompt_template`

**Save a prompt template**. Plan: Free. Changes or deletes data.

Save a new prompt template to the user's library, or update one of their own (pass template_id). Use {name} tokens in the body for variables. Set shared true to publish a share link. Needs a plan that includes custom prompts. Confirm with the user before it overwrites an existing template.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `template_id` | integer | No | Id of one of the user's templates to update. Omit to create a new one. |
| `title` | string | No | Template title. Required for a new template. |
| `body` | string | No | Prompt text with optional {name} variables. Required for a new template. |
| `category` | string | No | Category. One of `search`, `audit`, `monitor`, `transfer`, `planning`, `status`, or `other`. |
| `tags` | array of string | No | Up to 10 tags. |
| `shared` | boolean | No | True to publish a public share link, false to make it private. |

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

## `delete_prompt_template`

**Delete a prompt template**. Plan: Free. Changes or deletes data.

Delete one of the user's saved prompt templates. Use list_prompt_templates to find the id. Needs a plan that includes custom prompts. 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 |
| --- | --- | --- | --- |
| `template_id` | integer | Yes | Id from list_prompt_templates. |
| `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_prompt_template",
    "arguments": {
      "template_id": 1
    }
  }
}
```

## `list_integrations`

**List integrations**. Plan: Free. Read-only.

List the external services the user can connect (such as a connected search account, loyalty account tracker or spreadsheet) and their current connection status. Call this before any flight/hotel search if you suspect a connection is missing.

This tool takes no arguments.

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

## `connect_integration`

**Connect an integration**. Plan: Free. Saves data to your account.

Initiate the OAuth flow to connect an external integration. Clients that support URL elicitation offer to open the sign-in page for the user; otherwise this returns the authorize URL, which the user must open in a browser to grant access. Use this when a tool returns connection_required.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `provider` | string | Yes | Which integration to connect. One of `award_wallet`, `google_sheets`, `tripit`, or `autopilot`. |

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

## `disconnect_integration`

**Disconnect an integration**. Plan: Free. Changes or deletes data.

Revoke a previously connected integration. The OAuth tokens are deleted from ATF storage, so the user must sign in again to reconnect. 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.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `provider` | string | Yes | One of `award_wallet`, `google_sheets`, `tripit`, or `autopilot`. |
| `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": "disconnect_integration",
    "arguments": {
      "provider": "award_wallet"
    }
  }
}
```

## `sync_now`

**Refresh connected accounts**. Plan: Free. Saves data to your account.

Trigger an immediate refresh of the user's connected integrations (your connected loyalty accounts, spreadsheets, …) so balances/bookings are current before you answer. Use when the user asks to refresh, or when list_integrations shows stale data. Returns which connections are syncing. In clients that support MCP tasks it runs as a background task and returns when the refresh is done.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `provider` | string | No | Optional — sync just this provider. Omit to sync all connected integrations. One of `award_wallet`, `google_sheets`, `tripit`, or `autopilot`. |

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

## `create_client_portfolio`

**Create a client portfolio**. Plan: Pro. Saves data to your account.

Create a client portfolio (advisor mode). Tracks an end-client's points balances + cabin/airline preferences so the advisor's tools see the right context.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `client_name` | string | Yes |  |
| `client_email` | string | No |  |
| `phone` | string | No |  |
| `balances` | object | No | Map of program → points balance (e.g. { 'Avios': 240000 }). |
| `preferences` | object | No | Free-form prefs: cabin, preferred airlines, anchor airports, etc. |
| `notes` | string | No |  |

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

## `list_client_portfolios`

**List client portfolios**. Plan: Pro. Read-only.

List the advisor's client portfolios with summary balances.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | No | One of `all`, `active`, or `archived`. |
| `page` | integer | No | Page number (1-indexed). Defaults to 1. Minimum 1. |
| `per_page` | integer | No | Items per page (default 20, max 100). Minimum 1. Maximum 100. |

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

## `get_client_portfolio`

**Get a client portfolio**. Plan: Pro. Read-only.

Fetch a single client portfolio by ID.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `portfolio_id` | integer | Yes |  |

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

## `update_client_portfolio`

**Update a client portfolio**. Plan: Pro. Changes or deletes data.

Update a client portfolio — name, balances (full replace), preferences, notes, or status.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `portfolio_id` | integer | Yes |  |
| `client_name` | string | No |  |
| `client_email` | string | No |  |
| `phone` | string | No |  |
| `balances` | object | No |  |
| `preferences` | object | No |  |
| `notes` | string | No |  |
| `status` | string | No | One of `active` or `archived`. |

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

## `delete_client_portfolio`

**Delete a client portfolio**. Plan: Pro. Changes or deletes data.

Permanently delete a client portfolio. 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 |
| --- | --- | --- | --- |
| `portfolio_id` | integer | Yes |  |
| `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_client_portfolio",
    "arguments": {
      "portfolio_id": 1
    }
  }
}
```

## `generate_branded_pdf`

**Create a branded travel document**. Plan: Pro. Saves data to your account.

Generate a branded leave-behind for an advisor: combines a flight-search result + (optional) client portfolio into a print-ready document. Returns a public URL that anyone holding the link can open, so the advisor should share it only with that client. The link stops working after 30 days. The document shows the title, summary, the flight rows passed in, the advisor brand, the advisor's email address, and, only if client_portfolio_id is set, the client name and their program balances. To end a link before it expires, call revoke_branded_pdf with the link, or use the Revoke link button on the page while signed in.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `title` | string | No | Document title (default: 'Award Travel Recommendation'). |
| `summary` | string | No | Lead paragraph the advisor wants on the cover. |
| `flights` | array of values | No | Array of flight rows from a prior search tool result. |
| `client_portfolio_id` | integer | No | Optional ClientPortfolio ID to embed balance summary. |
| `advisor_brand` | object | No | Optional brand overrides: name, tagline, logo_url, accent_color. |

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

## `revoke_branded_pdf`

**Revoke a branded document link**. Plan: Free. Changes or deletes data.

End a branded document link made with generate_branded_pdf. The link stops working at once for everyone who has it. Pass the `url` that generate_branded_pdf returned. Only the advisor who made the link can end it. 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.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | Yes | The link from generate_branded_pdf, for example /branded-pdfs/abc123. |
| `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": "revoke_branded_pdf",
    "arguments": {
      "url": "<url>"
    }
  }
}
```

## `create_concierge_request`

**Request a booking from our team**. Plan: Premium. Saves data to your account.

Ask a person at Award Travel Finder to book an award ticket for the user. A person finds the seats and books the ticket. The user gets a quote by email. A fee applies per passenger and the result states it. Calling this tool does not charge the user: it only sends a booking request, and the user pays only after receiving the emailed quote, using the payment link or details in that email, before booking starts. Confirm the route, cabin and passengers with the user before you call this. Do not pass airline account numbers, loyalty numbers or passwords.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `origin` | string | Yes | 3-letter origin airport code, for example LHR. |
| `destination` | string | Yes | 3-letter destination airport code, for example JFK. |
| `cabin` | string | Yes | One of `economy`, `premium_economy`, `business`, or `first`. |
| `earliest_date` | string | No | Earliest travel date, YYYY-MM-DD. |
| `latest_date` | string | No | Latest travel date, YYYY-MM-DD. |
| `passengers` | integer | No | Minimum 1. Maximum 9. |
| `notes` | string | No | Optional trip notes. Do not include loyalty numbers or passwords. |
| `route_monitor_id` | integer | No | Optional ID of one of the user's route monitors to link. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_concierge_request",
    "arguments": {
      "origin": "JFK",
      "destination": "LHR",
      "cabin": "business"
    }
  }
}
```

## `get_concierge_request`

**Get a booking request**. Plan: Premium. Read-only.

Get the status of one of the user's booking requests by ID. Returns the route, cabin, dates, passengers, status, the quote when there is one, and the airline confirmation once a person has booked the ticket.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer | Yes | The booking request ID returned by create_concierge_request. |

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

## `submit_feedback`

**Send feedback**. Plan: Free. Saves data to your account.

Send a bug report, blocker, feature idea or general feedback to the Award Travel Finder team. Use it when a tool errors or returns clearly wrong results, when you are blocked, or when the user wants to share feedback, request a feature or report an incorrect AI result. Collect a concise summary and details first; for bugs, include reproduction steps and expected/actual behaviour when possible. Bugs and blockers (type "bug") are sent right away, with no confirmation. Feature ideas and general feedback come from the user, so show them the summary and send only once they confirm (confirmed=true). Never include personal data (names, emails, booking references, loyalty numbers or card details). Never use this for ordinary travel questions.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | Yes | Whether this is a bug report, a feature request or general feedback. One of `bug`, `feature_request`, or `feedback`. |
| `summary` | string | Yes | A concise title for the feedback or bug. |
| `details` | string | Yes | What the user wants the Award Travel Finder team to know. |
| `steps_to_reproduce` | string | No | For bugs, the steps that reproduce the problem, if known. |
| `expected_behavior` | string | No | For bugs, what the user expected to happen. |
| `actual_behavior` | string | No | For bugs, what actually happened. |
| `page_url` | string | No | The current Award Travel Finder path or URL, when known. |
| `confirmed` | boolean | No | Required for feature_request and feedback: true only once the user has confirmed the report should be sent. Not needed for bug reports. |

Example prompt: *"Report that a search returned an unexpected result."*

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "submit_feedback",
    "arguments": {
      "type": "bug",
      "summary": "<summary>",
      "details": "<details>"
    }
  }
}
```

## `render_ui`

**Render a visual card**. Plan: Free. Read-only.

Render a visual card in the chat instead of writing a markdown table or a long list of numbers. Use it for comparisons, cost breakdowns, transfer paths, plans, rankings, and any answer with more than ~3 numbers in it. Compose the card from blocks; every block is optional and you can repeat kinds. Block kinds: - stats — headline numbers. items: [{label, value, sub}] - table — columns: ["Program","Points"], rows: [["Aeroplan","60,000"]] - bars — visual comparison. unit: "pts", items: [{label, value (number), note}] - steps — an ordered path or plan. items: [{label, detail}] - list — rows with an optional right-hand value and link. items: [{title, subtitle, meta, value, url}] - note — a callout. tone: info|warn|success|danger, text Plain text only in every field — no markdown, no HTML. Keep your written reply to a sentence or two; the card carries the detail, so do not restate it. Do NOT call this after a search/hotel/transfer tool that already returned its own card.

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `title` | string | No | Card heading, e.g. "SFO → NRT in business". |
| `subtitle` | string | No | One-line context under the heading. |
| `blocks` | array of object | Yes | Blocks to render, in order. Max 10. |

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "render_ui",
    "arguments": {
      "blocks": [
        {}
      ]
    }
  }
}
```

## `open_award_travel_finder`

**Award Travel Finder**. Plan: Free. Read-only.

Open the Award Travel Finder home card: the signed-in user's points balances, upcoming trips and active route monitors, or a sign-in prompt and a quick award search form for anonymous users. Takes no arguments.

This tool takes no arguments.

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