Skip to main content
Glama
bcharleson

Slack MCP Server

get_dm_history

Retrieve message history from Slack direct message conversations by specifying a channel ID, with options to filter by time range and limit results.

Instructions

    Fetch message history from a DM or group DM conversation.

    Args:
        channel_id: The ID of the DM conversation (e.g., "D01234567")
        limit: Maximum number of messages to return (1-1000). Default: 20
        oldest: Unix timestamp of oldest message to include (optional)
        latest: Unix timestamp of latest message to include (optional)

    Returns:
        Dictionary containing list of messages
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_idYes
limitNo
oldestNo
latestNo

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/bcharleson/slack-mcp-server'

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