Skip to main content
Glama
el-el-san

Discord MCP Server

by el-el-san

discord_get_attachments

Retrieve media attachments from a Discord channel, including images, videos, audio, and documents, with filtering options for specific content types.

Instructions

Retrieve all types of media attachments from a Discord channel (images, videos, audio, documents, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_idYesDiscord channel ID
limitNoNumber of messages to search for attachments (default: 50, max: 100)
content_type_filterNoFilter by content type prefix (e.g., "image/", "video/", "audio/", "application/"). Leave empty for all types
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but lacks behavioral details. It doesn't disclose whether this is a read-only operation, what permissions are required, rate limits, pagination behavior, or error conditions. The description only states what it retrieves, not how it behaves, leaving significant gaps for an agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It front-loads the core purpose and includes helpful examples (images, videos, etc.). Every word earns its place, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is incomplete for a tool with 3 parameters. It covers the basic purpose but lacks behavioral context, return value explanation, and usage nuances. For a retrieval tool with moderate complexity, this is minimally adequate but has clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents parameters. The description adds no additional meaning beyond what's in the schema (e.g., no extra context on channel_id format or content_type_filter usage). Baseline 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'retrieve' and the resource 'media attachments from a Discord channel', with examples of attachment types. It distinguishes from siblings like discord_get_messages (which retrieves messages) and discord_send_file (which sends files). However, it doesn't explicitly contrast with discord_get_messages_advanced, which might also retrieve attachments, making it a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when needing attachments rather than messages, but doesn't explicitly state when to use this tool versus alternatives like discord_get_messages_advanced. It provides no guidance on prerequisites (e.g., channel access) or exclusions, leaving usage context partially inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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

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