Nutshell MCP by usefulapi

v1.2.1
io.usefulapi/nutshell Checked 2 days ago Published 1 day ago

Read leads, contacts and tasks; create leads, notes and tasks, and close leads in Nutshell.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

nutshell_list_accounts List accounts

List accounts (companies and organizations) with their owners, types and custom fields. GET /rest/accounts.

ParameterTypeDescription
filterobjectFilters as key-value pairs, for example {"status": "open"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {"participant": ["5-contacts"]}, sent as filter[key][].
limitintegerResults per page.
pageintegerPage of results, 0-based.
qstringSearch text, matched against related info on the entity.
sortstringSort field. Prefix with '-' for descending, for example -value.

nutshell_get_account Get account

Get one account by its API ID, for example 3-accounts. GET /rest/accounts/{id}.

ParameterTypeDescription
id *stringAPI ID such as 3-contacts.

nutshell_list_contacts List contacts

List contacts (people) with their email, phone, company and custom fields. GET /rest/contacts.

ParameterTypeDescription
emailstringOnly contacts with this email address.
filterobjectFilters as key-value pairs, for example {"status": "open"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {"participant": ["5-contacts"]}, sent as filter[key][].
limitintegerResults per page.
pageintegerPage of results, 0-based.
qstringSearch text, matched against related info on the entity.
sortstringSort field. Prefix with '-' for descending, for example -value.

nutshell_get_contact Get contact

Get one contact by its API ID, for example 3-contacts. GET /rest/contacts/{id}.

ParameterTypeDescription
id *stringAPI ID such as 3-contacts.

nutshell_list_leads List leads

List leads (deals) with their value, status, owner, pipeline stage and confidence. Use filter, for example status or owner. GET /rest/leads.

ParameterTypeDescription
filterobjectFilters as key-value pairs, for example {"status": "open"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {"participant": ["5-contacts"]}, sent as filter[key][].
limitintegerResults per page.
pageintegerPage of results, 0-based.
qstringSearch text, matched against related info on the entity.
sortstringSort field. Prefix with '-' for descending, for example -value.

nutshell_get_lead Get lead

Get one lead by its API ID, for example 1003-leads, with its links to products, contacts and tags. GET /rest/leads/{id}.

ParameterTypeDescription
id *stringAPI ID such as 3-contacts.

nutshell_list_lead_outcomes List lead outcomes

List the outcomes a lead can close with, for example won or lost, with their IDs. Use an ID with nutshell_set_lead_status. GET /rest/outcomes.

nutshell_list_pipelines List pipelines

List pipelines (stagesets) in the instance, including archived ones. GET /rest/stagesets.

nutshell_list_stages List stages

List the active stages of the active pipelines that the authenticated user can see. GET /rest/stages.

nutshell_list_sources List lead sources

List the sources that leads can come from, for example a website form or a referral. GET /rest/sources.

ParameterTypeDescription
qstringSearch text, matched against related info on the entity.

nutshell_list_tags List tags

List tags used to group leads, contacts and accounts. GET /rest/tags.

ParameterTypeDescription
qstringSearch text, matched against related info on the entity.
tagTypestringOnly tags for one entity type, for example leads or contacts.

nutshell_list_users List users

List the users of the Nutshell instance, for example to find a lead owner or task assignee. GET /rest/users.

nutshell_get_user Get user

Get one user by its API ID, for example 1-users. GET /rest/users/{id}.

ParameterTypeDescription
id *stringAPI ID such as 3-contacts.

nutshell_list_activities List activities

List activities (calls, meetings, emails) between users and contacts. Use filter, for example dateMin or dateMax as Unix timestamps. GET /rest/activities.

ParameterTypeDescription
filterobjectFilters as key-value pairs, for example {"status": "open"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {"participant": ["5-contacts"]}, sent as filter[key][].
limitintegerResults per page.
qstringSearch text, matched against related info on the entity.

nutshell_list_tasks List tasks

List tasks. Use filter, for example assignee, relatedEntity, dateMin or dateMax. GET /rest/tasks.

ParameterTypeDescription
filterobjectFilters as key-value pairs, for example {"status": "open"}. Sent as filter[key]=value. Use an array for multi-value keys, for example {"participant": ["5-contacts"]}, sent as filter[key][].
limitintegerResults per page.
pageintegerPage of results, 0-based.
qstringSearch text, matched against related info on the entity.

nutshell_list_notes List notes

List notes attached to leads, contacts and accounts. GET /rest/notes.

ParameterTypeDescription
limitintegerResults per page.
pageintegerPage of results, 0-based.

nutshell_create_lead Create lead

Create one lead. The description becomes the lead name. POST /rest/leads.

ParameterTypeDescription
description *stringLead name. Nutshell stores it as the description.
dueTimestringDue time as an ISO 8601 string.
linksobjectLinked entities, for example {"accounts": ["3-accounts"], "contacts": ["5-contacts"]}.
manualValuestringLead value, for example "999.99". Overrides the value from products.

nutshell_create_note Create note

Add a note to a lead, contact or account. POST /rest/notes.

ParameterTypeDescription
body *stringText of the note.
parent *stringAPI ID of the entity the note belongs to, for example 1003-leads.

nutshell_create_task Create task

Create a task, optionally linked to an entity and assigned to a user. POST /rest/tasks.

ParameterTypeDescription
title *stringTask title.
assigneestringAPI ID of the user to assign, for example 1-users.
descriptionstringTask description.
dueTimestringDue time as a Unix timestamp in seconds.
relatedEntitystringAPI ID of the entity to attach the task to, for example 1003-leads.

nutshell_update_lead Update lead

Change one lead with a JSON Patch list. Each operation is {"op": "replace"|"add"|"remove", "path": "/leads/0/<field>", "value": ...}. PATCH /rest/leads/{id}.

ParameterTypeDescription
id *stringAPI ID such as 3-contacts.
operations *arrayJSON Patch operations. Paths start with /leads/0/, for example /leads/0/description.

nutshell_set_lead_status Set lead status

Close a lead with an outcome, for example won or lost. Get the outcome IDs from nutshell_list_lead_outcomes. POST /rest/leads/{id}/status.

ParameterTypeDescription
id *stringAPI ID such as 3-contacts.
outcomeId *stringOutcome API ID, for example 1-outcomes.