BlueSuite Developers
MCPTool reference

Contacts

BlueSuite MCP tools for contacts

See connection and authentication and workflow rules before calling these tools.

Related REST API and behavior.

list_contacts

List contacts with optional pagination and search

Parameters

FieldType / accepted valuesRequiredDetails
pageintegerNoPage number (default: 1)
per_pageintegerNoResults per page (default: 25) minimum: 1. maximum: 100.
searchstringNoSearch by name, email, phone, or company
sort_by"id", "first_name", "last_name", "email", "phone", "company", "type", "created_at", "modified_at"NoField to sort by. There is no "name" field, use first_name or last_name. Unknown values fall back to the default sort.
sort_direction"asc", "desc"NoSort direction
type"none", "customer", "lead", "former_customer", "contractor", "partner", "vendor", "other"NoFilter by contact type
owner_idstringNoFilter by owner user UUID. Use list_users to resolve names. Format: uuid.
tag_idsarray of integerNoFilter to records carrying ANY of these tag IDs (not all). Use list_tags with the matching taggable_type to resolve tag names to IDs first.

Result

FieldType / accepted valuesRequiredDetails
dataarray of objectYesThe matching records for this page.
paginationobjectNoHow many more pages of results exist. Absent when the API returned an unpaged result.
pagination.pageintegerWhen parent suppliedCurrent page number, 1-based.
pagination.per_pageintegerWhen parent suppliedNumber of results per page.
pagination.total_pagesintegerWhen parent suppliedTotal number of pages available.

create_contact

Create a new contact

Parameters

FieldType / accepted valuesRequiredDetails
first_namestringYesFirst name (required)
last_namestringYesLast name (required)
emailstringNoPrimary email address
phonestringNoPrimary phone number
secondary_emailstringNoSecondary email address
secondary_phonestringNoSecondary phone number
companystringNoCompany name
company_departmentstringNoDepartment within company
company_positionstringNoPosition/title at company
title"mr", "mrs", "miss", "ms", "dr", "prof", "rev"NoHonorific title
type"none", "customer", "lead", "former_customer", "contractor", "partner", "vendor", "other"NoContact type (default: none)
owner_idstringNoUUID of the contact owner. Use list_users to resolve names. Format: uuid.
custom_fieldsobjectNoCustom field values

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

get_contact

Get a single contact by ID with expanded details (properties, activity)

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesContact ID

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

update_contact

Update an existing contact

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesContact ID
first_namestringNoFirst name
last_namestringNoLast name
emailstringNoPrimary email address
phonestringNoPrimary phone number
secondary_emailstringNoSecondary email address
secondary_phonestringNoSecondary phone number
companystringNoCompany name
company_departmentstringNoDepartment within company
company_positionstringNoPosition/title at company
title"mr", "mrs", "miss", "ms", "dr", "prof", "rev"NoHonorific title
type"none", "customer", "lead", "former_customer", "contractor", "partner", "vendor", "other"NoContact type
owner_idstringNoUUID of the contact owner. Use list_users to resolve names. Format: uuid.
custom_fieldsobjectNoCustom field values

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

delete_contact

Delete a client. Their properties, follow-up tasks, notes and saved payment methods cascade away with them. Jobs, quotes and invoices remain but are left without a client. Confirm with the user first, especially when the client has live work, there is no undo.

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesContact ID

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

The downloadable tool schemas include the full input and output contracts. Tables describe schema-level required fields; cross-field rules still apply.

On this page