Salesmsg MCP by usefulapi

v1.2.1
io.usefulapi/salesmsg Checked 4 days ago Published 1 day ago

Read contacts, conversations and messages, and update contact details in Salesmsg.

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

salesmsg_list_contacts List contacts

List contacts with optional search, sorting and pagination (10 per page by default). Needs the contacts:read scope. Salesmsg API: GET /contacts.

ParameterTypeDescription
lengthintegerResults per page.
pageintegerPage number for pagination.
searchstringSearch text (name, email or number).
sortBystringField to sort by.
sortOrderstringSort direction: asc or desc.

salesmsg_get_contact Get a contact

Get one contact by id, with its properties. Needs the contacts:read scope. Salesmsg API: GET /contacts/{id}.

ParameterTypeDescription
contact_id *stringThe contact id (from salesmsg_list_contacts).

salesmsg_update_contact Update a contact

Replace a contact's first name, last name, email and number. Send all four: a field you leave out may be cleared. Needs the contacts:write scope. Salesmsg API: PUT /contacts/{id}.

ParameterTypeDescription
contact_id *stringThe contact id to change.
email *stringEmail address to save.
first_name *stringFirst name to save.
last_name *stringLast name to save.
number *stringPhone number to save.

salesmsg_list_conversations List conversations

List conversations (threads with contacts) with pagination. Needs the conversations:read scope. Salesmsg API: GET /conversations.

ParameterTypeDescription
lengthintegerResults per page.
pageintegerPage number for pagination.

salesmsg_list_conversation_messages List messages in a conversation

List the messages in one conversation, with status and timestamps. Needs the messages:read scope. Salesmsg API: GET /conversations/{id}/messages.

ParameterTypeDescription
conversation_id *stringThe conversation id (from salesmsg_list_conversations).
limitintegerNumber of messages to return.