Nectar CRM MCP by usefulapi
v1.2.1Search contacts and opportunities, and update or create contacts in Nectar CRM.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
nectarcrm_list_contacts List contacts
List CRM contacts (customers, prospects, suspects, leads). Filter by name, status (constante), creation or update dates, origin, segment, lists or owners. Nectar API: GET /contatos/.
| Parameter | Type | Description |
|---|---|---|
constante | 0 = customer, 1 = prospect, 2 = suspect, 3 = lead, 5 = discarded. | |
dataFim | string | Created to (dd/MM/yyyy). |
dataFimAtualizacao | string | Updated to (dd/MM/yyyy). |
dataInicio | string | Created from (dd/MM/yyyy). |
dataInicioAtualizacao | string | Updated from (dd/MM/yyyy). |
displayLength | integer | Items per page (maximum 50). |
exato | boolean | Match the name exactly. |
listasIds | array | List ids (from nectarcrm_list_lookups kind=lists). |
nome | string | Contact name or code. |
origemId | integer | Origin id (from nectarcrm_list_lookups kind=origins). |
page | integer | Page number. Use -1 to return the maximum of 200 items. |
responsaveisId | array | Owner user ids (from nectarcrm_list_users). |
segmentoId | integer | Segment id (from nectarcrm_list_lookups kind=segments). |
nectarcrm_find_contact Find a contact
Find one contact by email, phone, CNPJ or CPF. Nectar API: GET /contatos/email/{email}, /contatos/telefone/{telefone}, /contatos/cnpj/{cnpj}, /contatos/cpf/{cpf}.
| Parameter | Type | Description |
|---|---|---|
by * | string | Which field to search by. |
value * | string | The email, phone, CNPJ or CPF to find. |
nectarcrm_get_contact_statistics Get contact statistics
Get activity statistics for one contact by its id. Nectar API: GET /contatos/statistics/{id}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | The contact id. |
nectarcrm_list_opportunities List opportunities
List sales opportunities (deals) with their stage, value, owner and dates. Filter by name, status, dates or owner. Nectar API: GET /oportunidades/.
| Parameter | Type | Description |
|---|---|---|
dataFim | string | Created to (dd/MM/yyyy). |
dataFimAtualizacao | string | Updated to (dd/MM/yyyy). |
dataInicio | string | Created from (dd/MM/yyyy). |
dataInicioAtualizacao | string | Updated from (dd/MM/yyyy). |
displayLength | integer | Items per page (maximum 50). |
nome | string | Opportunity name. |
page | integer | Page number. Use -1 to return the maximum of 200 items. |
status | string | Status filter, as the Nectar API defines it. |
usuariosId | array | Owner user ids (from nectarcrm_list_users). |
nectarcrm_get_opportunity_statistics Get opportunity statistics
Get statistics for one opportunity by its id. Nectar API: GET /oportunidades/statistics/{oportunidadeId}.
| Parameter | Type | Description |
|---|---|---|
opportunity_id * | integer | The opportunity id. |
nectarcrm_get_pipeline_totals Get pipeline totals
Get total values and counts for one sales pipeline (funnel). Nectar API: GET /oportunidades/statistics/total/{pipelineId}.
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | integer | The pipeline id (from nectarcrm_list_pipelines). |
nectarcrm_list_pipelines List pipelines
List sales pipelines (funnels) and their stages. Nectar API: GET /pipeline/.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number. Use -1 to return the maximum of 200 items. |
type | integer | Funnel filter type, as the Nectar API defines it. |
nectarcrm_list_qualifications List qualifications
List lead qualifications (pre-sales qualification records). Nectar API: GET /qualificacoes/.
| Parameter | Type | Description |
|---|---|---|
dataFim | string | Created to (dd/MM/yyyy). |
dataFimAtualizacao | string | Updated to (dd/MM/yyyy). |
dataInicio | string | Created from (dd/MM/yyyy). |
dataInicioAtualizacao | string | Updated from (dd/MM/yyyy). |
displayLength | integer | Items per page (maximum 50). |
page | integer | Page number. Use -1 to return the maximum of 200 items. |
status | string | Status filter, as the Nectar API defines it. |
nectarcrm_list_appointments List appointments
List calendar appointments (compromissos) with their dates, subject and linked client. Nectar API: GET /compromissos/.
| Parameter | Type | Description |
|---|---|---|
assunto | string | Subject text. |
clienteId | integer | Client (contact) id. |
dataCriacaoFim | string | Created to (dd/MM/yyyy). |
dataCriacaoInicio | string | Created from (dd/MM/yyyy). |
dataFim | string | Scheduled to (dd/MM/yyyy). |
dataInicio | string | Scheduled from (dd/MM/yyyy). |
displayLength | integer | Items per page (maximum 50). |
page | integer | Page number. Use -1 to return the maximum of 200 items. |
nectarcrm_list_tasks List tasks
List tasks (tarefas) with due and completion dates, title, linked client or opportunity, and owner. Nectar API: GET /tarefas/.
| Parameter | Type | Description |
|---|---|---|
autorId | integer | Author user id. |
clienteId | integer | Client (contact) id. |
dataFim | string | Created to (dd/MM/yyyy). |
dataFimAtualizacao | string | Updated to (dd/MM/yyyy). |
dataFimConclusao | string | Completed to (dd/MM/yyyy). |
dataInicio | string | Created from (dd/MM/yyyy). |
dataInicioAtualizacao | string | Updated from (dd/MM/yyyy). |
dataInicioConclusao | string | Completed from (dd/MM/yyyy). |
displayLength | integer | Items per page (maximum 50). |
oportunidadeId | integer | Opportunity id. |
page | integer | Page number. Use -1 to return the maximum of 200 items. |
tipoTarefa | string | Task type, as the Nectar API defines it. |
titulo | string | Task title. |
nectarcrm_list_feed_posts List feed posts
List posts (feedbacks) from the team activity feed. Nectar API: GET /publicacao/.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number. Use -1 to return the maximum of 200 items. |
nectarcrm_list_products List products
List products and services in the product catalogue, with code, category and stock. Nectar API: GET /produto/.
| Parameter | Type | Description |
|---|---|---|
categoriaId | integer | Category id (from nectarcrm_list_lookups kind=product_categories). |
codigo | string | Product code. |
displayLength | integer | Items per page (maximum 50). |
nome | string | Product name. |
page | integer | Page number. Use -1 to return the maximum of 200 items. |
possuiEstoque | boolean | Only products with stock tracking, when true. |
subcategoriaId | integer | Subcategory id. |
nectarcrm_list_price_tables List price tables
List price tables (tabelas de preço) with their name and active flag. Nectar API: GET /tabelaPreco/.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Only active (true) or inactive (false) tables. |
displayLength | integer | Items per page (maximum 50). |
nome | string | Price table name. |
page | integer | Page number. Use -1 to return the maximum of 200 items. |
nectarcrm_list_users List users
List the users (sellers and admins) of the Nectar account, with their status and team. Nectar API: GET /usuarios/.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number. Use -1 to return the maximum of 200 items. |
nectarcrm_list_lookups List lookup values
List reference values used in filters: origins, segments, teams, lists, custom_fields, forms, product_categories or categories. Nectar API: GET /origem/, /segmento/, /equipe/, /lista/, /campoPersonalizado/, /formulario/, /produtoCategoria/, /categoria/.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Which reference list to read. |
nome | string | Name filter (segments and categories only). |
page | integer | Page number. Ignored for teams, which the Nectar API does not page. |
nectarcrm_update_contact Update a contact
Change fields of one existing contact. Only the fields you pass change. Setting a field to null, "", {} or [] clears it. This writes to live CRM data. Nectar API: PUT /contatos/{id}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | The contact id to update. |
fields * | object | Contact fields to change, as the Nectar API names them (for example nome, telefones, emails). |
nectarcrm_upsert_contact Create or update a contact
Update the contact that matches the email, phone, CNPJ or CPF, or create it when none matches. Email has priority over phone, then CNPJ, then CPF. This writes to live CRM data. Nectar API: POST /contatos/upsert/.
| Parameter | Type | Description |
|---|---|---|
fields * | object | Contact fields to write, as the Nectar API names them (for example nome, emails, telefones). |
cnpj | string | CNPJ to match. |
cpf | string | CPF to match. |
mail | string | Email to match. |
phone | string | Phone to match. |