# MCP tools: interactive reference

> All 18 tools of the Advanzo MCP server with parameters and example questions: read, write, AI, approval queue and more. Filter and search.

The Advanzo [MCP server](https://www.advanzo.ch/docs/sections/mcp) gives an AI assistant such as Claude, ChatGPT or Cursor 18 tools to work with your CRM. This page lists every tool with its parameters and a question you can ask to see it in action. Filter by what a tool does, or search for a word.

> **Info:** You never call these tools yourself. You ask your assistant a question in plain language, and it picks the tools. The assistant works with your permissions: it reads what you can see and nothing else.

## The 18 tools

### `get-context` [Read-only]

**Get workspace context.** Returns the acting user, the workspace with its currency and plan, the user's permissions, the pipelines with their stages, the activity types, call outcomes, lost reasons, lead sources, the connected mail accounts and the resources that can be read. The other tools refer to the ids and names returned here, so assistants usually call it first.

This tool takes no parameters.

**Ask your assistant:**

```
Which pipelines and stages do we have in Advanzo?
```

### `describe-resource` [Read-only]

**Describe a resource.** Lists the fields of a resource, including custom fields: their type, whether they are required or read-only, the options of select fields, the columns that can be filtered and sorted on, the columns full-text search covers, and the resources it can be associated with. The field and column names it returns are the ones `search-records` and `propose-change` accept.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `resource` | string | yes | The resource to describe: contacts, companies, deals, activities, calls, notes, documents, products. |

**Ask your assistant:**

```
Which fields does a deal have, including our custom fields?
```

### `search-records` [Read-only]

**Search records.** Finds records of one resource. Combines a free-text query with structured filters on columns, sorting by a column and paging. Returns the records in the same shape as the REST API, limited to what the user may view.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `resource` | string | yes | The resource to search: contacts, companies, deals, activities, calls, notes, documents, products. |
| `query` | string | no | Free-text search over the searchable columns, for example a name, an email address or a deal name. |
| `filters` | array | no | Structured filters, all combined with AND. Each item has `field`, `operator` (`eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `contains`, `starts_with`, `in`, `not_in`, `is_null`, `not_null`, `between`) and `value`. |
| `sort` | object | no | `field` and `direction` (`asc` or `desc`). Defaults to the resource's own order. |
| `page` | integer | no | Page number, starting at 1. |
| `per_page` | integer | no | Records per page, 1 to 100. Default 25. |

**Ask your assistant:**

```
Show me open deals over CHF 20,000 that are expected to close this month.
```

### `get-records` [Read-only]

**Get records by id.** Loads up to 50 full records of one resource by id, including their associations (for example the contacts and companies of a deal). Ids that do not exist in this workspace or that the user may not view are reported as missing.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `resource` | string | yes | The resource of the records: contacts, companies, deals, activities, calls, notes, documents, products. |
| `ids` | array | yes | Record ids, at most 50. |

**Ask your assistant:**

```
Open the Alpina Bau deal with all its contacts.
```

### `get-timeline` [Read-only]

**Get the interaction timeline of a record.** Returns the interaction history of a contact, company or deal, newest first: activities, logged calls, notes, emails and documents. Each entry has a type, a date, who it was by and a short text. Useful to prepare for a meeting, summarise a relationship or find the last touchpoint.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `resource` | string | yes | contacts, companies, deals. |
| `id` | integer | yes | The record id. |
| `types` | array | no | Restrict to some entry types: activities, calls, notes, emails, documents. Default: all. |
| `limit` | integer | no | Maximum entries, 1 to 100. Default 50. |

**Ask your assistant:**

```
When did we last talk to Lindt Consulting, and what was agreed?
```

### `pipeline-summary` [Read-only]

**Summarise the deal pipeline.** Aggregates the deals the user may view: open deals per stage with count and amount, open deals per owner, and the deals won and lost in a date range (default: the last 30 days).

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `pipeline_id` | integer | no | Limit the summary to this pipeline. Default: every pipeline the user can see. |
| `from` | string | no | Start of the won/lost range, YYYY-MM-DD. Default: 30 days ago. |
| `to` | string | no | End of the won/lost range, YYYY-MM-DD. Default: today. |

**Ask your assistant:**

```
How does our pipeline look, and what did we win and lose last month?
```

### `propose-change` [Writes after confirmation]

**Propose a create, update or unlink.** Stages a create, an update or an unlink for a contact, company, deal, activity or note **without writing it**. The change is validated with the same rules as the Advanzo interface. The result is a field-by-field diff, warnings for unknown or read-only fields that were ignored, and a proposal id. The proposal id is the input of `apply-change` and expires after a while.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `resource` | string | yes | The resource to write: contacts, companies, deals, activities, notes. |
| `operation` | string | yes | `create` a new record, `update` an existing one, or `unlink` records from it (removes links only, deletes nothing). |
| `id` | integer | no | The id of the record to update or unlink from. Required for `update` and `unlink`. |
| `fields` | object | no | Field values keyed by attribute name as listed by `describe-resource`. For notes: `body`, `via_resource` and `via_resource_id`. |
| `associations` | object | no | Records to link or unlink, keyed by resource name with arrays of ids. On update, links are added to the existing ones. |
| `summary` | string | no | One sentence on why this change is made. Shown to the user when the change needs approval. |

**Ask your assistant:**

```
Create a follow-up task for the Nova Digital deal for next Tuesday.
```

### `apply-change` [Writes after confirmation]

**Apply a proposed change.** Writes a change that was staged with `propose-change` and returns the saved record. When the workspace requires approval for agent writes, or when the route `approval` is passed, the proposal goes into the approval queue instead and a team member applies it. A later call with the same proposal id reports whether it was approved. A proposal can only be applied once.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `proposal_id` | string | yes | The proposal id returned by `propose-change`. |
| `route` | string | no | `direct` writes now (default). `approval` hands the change to a human in the approval queue. The workspace setting can force `approval`. |

**Ask your assistant:**

```
Yes, save that change.
```

### `summarize-record` [Uses AI credits]

**Summarise a contact, company or deal.** Uses the workspace's AI to summarise a contact, company or deal from its fields and its full interaction history: what the relationship is, key facts, open items, risks and the suggested next step. Nothing is saved.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `resource` | string | yes | contacts, companies, deals. |
| `id` | integer | yes | The record id. |
| `focus` | string | no | Optional angle, for example "prepare me for tomorrow's call". |
| `language` | string | no | Language to write in. Defaults to the user's locale. |

**Ask your assistant:**

```
Prepare me for tomorrow's call with Helvetia Immo.
```

### `score-deal` [Uses AI credits]

**Score a deal.** Scores how healthy an open deal is (0 to 100) from facts the server computes (stage position, days in stage, days since last touch, open and overdue activities, expected close date, amount) plus the interaction history, and explains the score with reasons, risks and next actions. The facts are returned with the score. Nothing is saved.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer | yes | The deal id. |
| `language` | string | no | Language to write in. Defaults to the user's locale. |

**Ask your assistant:**

```
How healthy is the Bergwerk Studio deal, and what should I do next?
```

### `draft-reply` [Uses AI credits]

**Draft an email.** Drafts an email with the workspace's AI: a reply to an email from the timeline, or a new message to a contact, company or deal. The draft is grounded in the record's history and the company profile. **Nothing is sent and nothing is saved**; you send the text from Advanzo or your mail client.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `email_id` | integer | no | Id of the email to reply to, as returned by `get-timeline`. |
| `resource` | string | no | With `id`: the record the new email is about (contacts, companies, deals), when not replying. |
| `id` | integer | no | The record id, with `resource`. |
| `instructions` | string | yes | What the email should achieve, for example "confirm the demo on Thursday and ask for the number of users". |
| `tone` | string | no | `formal` (default), `friendly` or `brief`. |
| `language` | string | no | Language to write in. Defaults to the language of the email being replied to, else the user's locale. |

**Ask your assistant:**

```
Draft a friendly reply to Anna Weber's last email and confirm Thursday at 10.
```

### `analyze-transcript` [Uses AI credits]

**Analyse a call or meeting transcript for a deal.** Reads a call, meeting or email-thread transcript in the context of a deal and returns a summary, key points and suggested follow-up activities with priorities and due dates. Nothing is saved.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `deal_id` | integer | yes | The deal the transcript belongs to. |
| `transcript` | string | yes | The transcript text, 50 to 50,000 characters. |

**Ask your assistant:**

```
Here is the transcript of today's call with Alpina Bau. What are the follow-ups?
```

### `list-approval-queue` [Approval queue]

**List the approval queue.** Lists the pending items of the workspace's approval queue (the Autopilot inbox): AI-proposed replies, tasks, stage moves, lead intakes, meeting briefs and changes staged by agents. Each item has an id you can pass to `review-queue-item`.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | no | Only items of this type, for example `mcp_change`, `draft_reply`, `create_activity`, `move_stage`, `suggest_deal`, `intake_lead`, `meeting_brief`. |
| `limit` | integer | no | At most this many items. Default 50, maximum 100. |

**Ask your assistant:**

```
What is waiting for my approval in Advanzo?
```

### `review-queue-item` [Approval queue]

**Approve or dismiss an approval queue item.** Approves or dismisses one pending item of the approval queue on behalf of the user. Approving runs the item: it creates the task, moves the deal stage or applies the staged change. Dismissing closes the item without running it. Items of type `draft_reply` are recorded as reviewed; no email is sent.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer | yes | The queue item id from `list-approval-queue`. |
| `decision` | string | yes | `approve` or `dismiss`. |
| `payload` | object | no | Optional edits to the item before approving, for example a new title for a task or a new body for a draft. |

**Ask your assistant:**

```
Approve the task for Lindt Consulting, but call it "Call back on Monday".
```

### `list-lemlist-campaigns` [lemlist]

**List lemlist campaigns.** Lists the lemlist outreach campaigns of the workspace that can take new leads (running, paused or draft). Available when the workspace has connected lemlist. The campaign id is the input of `enrol-in-lemlist-campaign`.

This tool takes no parameters.

**Ask your assistant:**

```
Which lemlist campaigns can I add contacts to?
```

### `enrol-in-lemlist-campaign` [lemlist]

**Enrol contacts in a lemlist campaign.** Adds contacts to a lemlist outreach campaign, which then emails them according to the campaign's sequence. Contacts without an email address, suppressed addresses and contacts already active in the campaign are skipped. The enrolment runs in the background; engagement comes back to the contact timeline. **This tool acts directly**: it is not staged like a record change.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `contact_ids` | array | yes | Ids of the contacts to enrol, 1 to 200. |
| `campaign_id` | string | yes | The lemlist campaign id, from `list-lemlist-campaigns`. |

**Ask your assistant:**

```
Add the five contacts from yesterday&#39;s trade fair to the "Follow-up fair" campaign.
```

### `get-subscription` [Subscription]

**Get the subscription and the available plans.** Returns the plan the workspace is on, the subscription status, the seats, the next billing date, the usage against the plan limits, and the plans that can be bought with their prices in the billing currency of the workspace. Also says whether the acting user may buy a plan.

This tool takes no parameters.

**Ask your assistant:**

```
Which plan are we on, and how close are we to its limits?
```

### `start-plan-checkout` [Subscription]

**Start the checkout for a paid plan.** Creates a Stripe Checkout page for a paid plan and returns its link, the seats and the amount per billing cycle. **Nothing is charged and the plan does not change by calling this**: you open the link and pay on the Stripe page, after which the workspace moves to the plan. Available to the workspace admin while the workspace has no paid subscription.

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `plan` | string | yes | `PLUS` (per seat) or `PRO` (flat price, unlimited users). |
| `billing_period` | string | no | Pay monthly or once a year. Defaults to monthly. |
| `coupon` | string | no | Optional promotion code. Without it you can still enter a code on the Stripe page. |

**Ask your assistant:**

```
We want to upgrade to Plus with yearly billing. Send me the payment link.
```

## How a change is written

An assistant cannot change a record in one step. Every create or update of a contact, company, deal, activity or note goes through two tools:

1. The assistant calls `propose-change`. Advanzo validates the change and returns a diff, but writes nothing.
2. The assistant shows you the diff and asks for confirmation.
3. After you confirm, it calls `apply-change` with the proposal id. Advanzo writes the change, or puts it into the approval queue when your workspace requires a review of agent changes.

There is no delete tool. `unlink` removes a link between two records and deletes neither of them.

Two tools act outside this flow. `enrol-in-lemlist-campaign` adds contacts to a campaign directly, and the campaign then emails them, so read what your assistant is about to do before you allow the call. `start-plan-checkout` only creates a payment link; nothing is charged until you pay on the Stripe page.

## What the tools can reach

| Access | Resources |
| --- | --- |
| Read | contacts, companies, deals, activities, calls, notes, documents, products |
| Create and update | contacts, companies, deals, activities, notes |
| Timeline | contacts, companies, deals |
| Delete | none |

Settings such as users, roles and pipelines are not readable as records; `get-context` returns what an assistant needs from them. The four AI tools use the AI credits of the workspace, or none when the workspace uses its own API key. They need the AI Assistant to be activated or an own API key. See [AI Assistant](https://www.advanzo.ch/docs/sections/ai-assistant).

## Frequently asked questions

Can an assistant change my data without asking?

Not a record. A change to a contact, company, deal, activity or note is first staged with `propose-change` and only written with `apply-change`, which the assistant calls after you confirm. A workspace admin can additionally route every agent change into the approval queue. The lemlist enrolment acts directly, so check the call before you allow it.

Which tools cost AI credits?

Four: `summarize-record`, `score-deal`, `draft-reply` and `analyze-transcript`. The other fourteen use no credits. With your own API key the AI tools use no credits either.

Can an assistant send emails?

No. `draft-reply` returns a text. Nothing is sent and nothing is saved; you send the email yourself.

Do tool calls count towards the API rate limit?

Yes. MCP tool calls share the limit of 90 requests per minute per user with the REST API.
