Skip to main content
Glama
Discord MCP

Discord MCP

by 3xjn

discord_create_upload

Create a one-time upload URL to attach a local file to a Discord message; PUT the file, then pass the returned upload_id in the message attachments list.

Instructions

Get a one-time link for uploading a file to attach with discord_send_message. Upload the raw file with an HTTP PUT from your computer, for example: curl --fail -T file.zip "<upload_url>". Then pass upload_id in the attachments list of discord_send_message. The link expires in 15 minutes and works once.

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": {
      "filename": "<filename>"
    },
    "name": "discord_create_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, openWorldHint=false, destructiveHint=false, which leaves the two-step upload protocol and link lifetime unexplained. The description adds genuinely new behavioral facts: the link is single-use, expires in 15 minutes, and must be used with an external HTTP PUT, plus a concrete curl example.

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?

Four short sentences in workflow order: what you get, how to use it, what to do next, and the expiry constraint. No filler, and the critical 15-minute/one-use caveat is placed where it cannot be missed.

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

Completeness5/5

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

For a one-parameter preparation tool with no output schema, the description covers everything an agent needs: the call sequence, the external PUT mechanics, the upload_id handoff to discord_send_message, and the expiry/one-use limits.

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

Parameters4/5

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

Schema coverage is 0% for the single 'filename' parameter, so the description must carry the load; it demonstrates the file being uploaded via the curl example and by naming the raw file, though it never states that 'filename' is a required argument or how it relates to the PUT payload.

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

Purpose5/5

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

The description names a specific verb and resource ('Get a one-time link for uploading a file') and explicitly ties it to a sibling, discord_send_message, so an agent can distinguish the prepare-upload step from the send step without opening either schema.

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

Usage Guidelines5/5

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

It states the full workflow: call this to get a link, PUT the raw file to that URL, then pass the returned upload_id in the attachments list of discord_send_message. It effectively defines when to use this tool versus going straight to discord_send_message.

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