Access and manage messages, threads, and attachments
The ShingleAI MCP server provides 7 tools for accessing and managing messages. These tools allow you to retrieve messages, search content, manage message status, and view conversation threads.
Get detailed information about a specific message by its ID, including all message type-specific fields (email headers, SMS encoding, WhatsApp media, etc.).Permission:messages:readParameters:
Name
Type
Required
Description
messageId
string (UUID)
Yes
ID of the message to retrieve
Returns: Message object with all type-specific fields.
Search messages using semantic search to find messages containing specific content or related to specific topics. Uses AI-powered search to find relevant messages even if they don’t contain exact keywords.Permission:messages:readParameters:
Get all messages sent to or received from a specific contact. Useful for viewing the complete communication history with a contact.Permission:messages:readParameters:
Name
Type
Required
Default
Description
contactId
string (UUID)
Yes
-
Contact ID to retrieve messages for
limit
number
No
20
Maximum number of messages to return (1-100)
offset
number
No
0
Offset for pagination
sortOrder
string
No
”desc”
Sort order by creation date (“asc” or “desc”)
direction
string
No
-
Filter by direction (“incoming” = from contact, “outgoing” = to contact)
Returns: Array of message objects from/to the specified contact.
List all file attachments associated with a specific message, including details like filename, size, content type, and URL.Permission:messages:readParameters:
Name
Type
Required
Default
Description
messageId
string (UUID)
Yes
-
ID of the message
limit
number
No
20
Maximum number of attachments to return
offset
number
No
0
Offset for pagination
sortOrder
string
No
”asc”
Sort order by creation date (“asc” or “desc”)
Returns: Array of attachment objects with metadata (filename, size, content type, URL).