Skip to main content
Glama

get_conversation_messages

Retrieve messages from a specific iMessage conversation using chat ID or contact details, with enriched sender information and pagination controls.

Instructions

Get messages from a specific conversation.

You can specify the conversation by either chat_id or contact identifier. If contact is provided, it will be normalized and used to find the chat. Messages are enriched with contact names for senders.

Args: chat_id: Database row ID of the chat (from list_conversations) contact: Phone number or email to find the conversation limit: Maximum number of messages to return (default: 50) offset: Number of messages to skip (default: 0)

Returns: Dictionary with messages list, conversation info, and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idNo
contactNo
limitNo
offsetNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonmmease/jons-mcp-imessage'

If you have feedback or need assistance with the MCP directory API, please join our Discord server