Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

attachments_download

Read-onlyIdempotent

Download a message's attachments to a destination folder so you can open screenshots, logs, or videos locally.

Instructions

Save a message's attachments (screenshots, logs, videos) to dest_dir so they can be opened locally.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "message": "<message>",
      "dest_dir": "<dest_dir>"
    },
    "name": "attachments_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
guildNo
channelNo
messageYes
dest_dirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world; the description adds the useful fact that this writes files into a local directory, which is behavior the annotations do not convey. It stops short of stating overwrite behavior on filename collisions, what happens when a message has no attachments, or permission requirements.

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

Conciseness4/5

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

A single front-loaded sentence with no filler; the parenthetical examples earn their place by clarifying what an 'attachment' is. Slightly terse given how much is left undocumented, but nothing is wasted.

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

Completeness2/5

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

For a 5-parameter tool with 0% schema coverage and no output schema, the description is thin: it does not say what is returned (file paths? count?), how files are named, or how the three optional resolution parameters affect behavior. An agent could call it but could not predict the result or troubleshoot failures.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, so the description carries the full burden, yet it only explains 'message' and 'dest_dir' implicitly. The 'bot', 'guild' and 'channel' parameters, which appear to be resolution context, are left entirely unexplained in both schema and description.

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?

Names a specific verb ('Save') and resource ('attachments') plus the destination parameter, with concrete examples (screenshots, logs, videos) that make the intent unambiguous. It does not differentiate itself from any sibling, but no sibling name obviously overlaps with attachment downloading.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no prerequisites (e.g. whether the message must be in a channel the bot can read), and no mention of alternatives. The only implied usage cue is the phrase 'so they can be opened locally'.

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

Deploy Server

Other Tools