Nectar CRM MCP by usefulapi

v1.2.1
io.usefulapi/nectar-crm Checked 4 days ago Published 1 day ago

Search 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/.

ParameterTypeDescription
constante0 = customer, 1 = prospect, 2 = suspect, 3 = lead, 5 = discarded.
dataFimstringCreated to (dd/MM/yyyy).
dataFimAtualizacaostringUpdated to (dd/MM/yyyy).
dataIniciostringCreated from (dd/MM/yyyy).
dataInicioAtualizacaostringUpdated from (dd/MM/yyyy).
displayLengthintegerItems per page (maximum 50).
exatobooleanMatch the name exactly.
listasIdsarrayList ids (from nectarcrm_list_lookups kind=lists).
nomestringContact name or code.
origemIdintegerOrigin id (from nectarcrm_list_lookups kind=origins).
pageintegerPage number. Use -1 to return the maximum of 200 items.
responsaveisIdarrayOwner user ids (from nectarcrm_list_users).
segmentoIdintegerSegment 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}.

ParameterTypeDescription
by *stringWhich field to search by.
value *stringThe 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}.

ParameterTypeDescription
contact_id *integerThe 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/.

ParameterTypeDescription
dataFimstringCreated to (dd/MM/yyyy).
dataFimAtualizacaostringUpdated to (dd/MM/yyyy).
dataIniciostringCreated from (dd/MM/yyyy).
dataInicioAtualizacaostringUpdated from (dd/MM/yyyy).
displayLengthintegerItems per page (maximum 50).
nomestringOpportunity name.
pageintegerPage number. Use -1 to return the maximum of 200 items.
statusstringStatus filter, as the Nectar API defines it.
usuariosIdarrayOwner 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}.

ParameterTypeDescription
opportunity_id *integerThe 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}.

ParameterTypeDescription
pipeline_id *integerThe pipeline id (from nectarcrm_list_pipelines).

nectarcrm_list_pipelines List pipelines

List sales pipelines (funnels) and their stages. Nectar API: GET /pipeline/.

ParameterTypeDescription
pageintegerPage number. Use -1 to return the maximum of 200 items.
typeintegerFunnel filter type, as the Nectar API defines it.

nectarcrm_list_qualifications List qualifications

List lead qualifications (pre-sales qualification records). Nectar API: GET /qualificacoes/.

ParameterTypeDescription
dataFimstringCreated to (dd/MM/yyyy).
dataFimAtualizacaostringUpdated to (dd/MM/yyyy).
dataIniciostringCreated from (dd/MM/yyyy).
dataInicioAtualizacaostringUpdated from (dd/MM/yyyy).
displayLengthintegerItems per page (maximum 50).
pageintegerPage number. Use -1 to return the maximum of 200 items.
statusstringStatus 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/.

ParameterTypeDescription
assuntostringSubject text.
clienteIdintegerClient (contact) id.
dataCriacaoFimstringCreated to (dd/MM/yyyy).
dataCriacaoIniciostringCreated from (dd/MM/yyyy).
dataFimstringScheduled to (dd/MM/yyyy).
dataIniciostringScheduled from (dd/MM/yyyy).
displayLengthintegerItems per page (maximum 50).
pageintegerPage 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/.

ParameterTypeDescription
autorIdintegerAuthor user id.
clienteIdintegerClient (contact) id.
dataFimstringCreated to (dd/MM/yyyy).
dataFimAtualizacaostringUpdated to (dd/MM/yyyy).
dataFimConclusaostringCompleted to (dd/MM/yyyy).
dataIniciostringCreated from (dd/MM/yyyy).
dataInicioAtualizacaostringUpdated from (dd/MM/yyyy).
dataInicioConclusaostringCompleted from (dd/MM/yyyy).
displayLengthintegerItems per page (maximum 50).
oportunidadeIdintegerOpportunity id.
pageintegerPage number. Use -1 to return the maximum of 200 items.
tipoTarefastringTask type, as the Nectar API defines it.
titulostringTask title.

nectarcrm_list_feed_posts List feed posts

List posts (feedbacks) from the team activity feed. Nectar API: GET /publicacao/.

ParameterTypeDescription
pageintegerPage 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/.

ParameterTypeDescription
categoriaIdintegerCategory id (from nectarcrm_list_lookups kind=product_categories).
codigostringProduct code.
displayLengthintegerItems per page (maximum 50).
nomestringProduct name.
pageintegerPage number. Use -1 to return the maximum of 200 items.
possuiEstoquebooleanOnly products with stock tracking, when true.
subcategoriaIdintegerSubcategory 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/.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) tables.
displayLengthintegerItems per page (maximum 50).
nomestringPrice table name.
pageintegerPage 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/.

ParameterTypeDescription
pageintegerPage 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/.

ParameterTypeDescription
kind *stringWhich reference list to read.
nomestringName filter (segments and categories only).
pageintegerPage 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}.

ParameterTypeDescription
contact_id *integerThe contact id to update.
fields *objectContact 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/.

ParameterTypeDescription
fields *objectContact fields to write, as the Nectar API names them (for example nome, emails, telefones).
cnpjstringCNPJ to match.
cpfstringCPF to match.
mailstringEmail to match.
phonestringPhone to match.