Skip to main content
Glama

Discord MCP Server

discord_list_attachments

Retrieve and filter attachments from a Discord channel by scanning recent messages. Specify channel ID, limit, file size range, or image-only option to extract relevant files efficiently.

Instructions

List all attachments in a Discord channel from recent messages

Input Schema

NameRequiredDescriptionDefault
channelIdYesThe Discord channel ID
imageOnlyNoOnly show image attachments
limitNoNumber of messages to scan for attachments (default: 50)
maxSizeNoMaximum file size in KB
minSizeNoMinimum file size in KB

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "channelId": { "description": "The Discord channel ID", "type": "string" }, "imageOnly": { "description": "Only show image attachments", "type": "boolean" }, "limit": { "description": "Number of messages to scan for attachments (default: 50)", "maximum": 100, "minimum": 1, "type": "number" }, "maxSize": { "description": "Maximum file size in KB", "type": "number" }, "minSize": { "description": "Minimum file size in KB", "type": "number" } }, "required": [ "channelId" ], "type": "object" }

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/RossH121/discord-mcp'

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