read_discord_messages
Read recent messages from a Discord channel by ID or name. Filters like limit, author, and time range help narrow results to specific messages.
Instructions
Read recent messages from a specific Discord channel by channel ID. Use this when the user asks what is happening in a Discord channel or wants context from recent Discord messages. This is a read-only action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | No | Discord channel ID to read messages from. If omitted, provide channel_name and a configured or explicit guild_id. | |
| channel_name | No | Discord channel name, such as general. Used when channel_id is not provided. | |
| guild_id | No | Optional Discord server/guild ID used to resolve channel_name. If omitted, uses DISCORD_GUILD_IDS from the MCP environment. | |
| limit | No | Number of recent messages to fetch. Maximum is 100. | |
| before | No | Optional Discord message ID. Fetch messages before this message. | |
| after | No | Optional Discord message ID. Fetch messages after this message. | |
| around | No | Optional Discord message ID. Fetch messages around this message. | |
| author_filter | No | Optional author filter. Matches Discord user ID, username, or display name in the fetched messages. |