Skip to main content
Glama
Discord MCP - Discord server management MCP for AI agents

Discord MCP - Discord server management MCP for AI agents

Create emoji

create_emoji

Upload custom Discord emojis from image URLs or local files, including multiple at once; images are validated and resized when needed before adding to a server.

Instructions

Upload a custom emoji from an image URL, or from a file in the local files folder when one is set, or several at once with emojis. Discord's limit for emoji files is 256 KB; png, jpeg, gif, and webp work, and a still png or jpeg over the limit is made smaller (128 pixels on its longer side). Several are all checked first (pictures, free slots) and nothing is uploaded unless all of them can be.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_emoji"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe emoji's name: letters, digits and underscores. Needed for one upload with image_url or image_file; with emojis, each item has its own name.
guildNoGuild (server) name or ID. Omit to use the default guild.
emojisNoSeveral emoji to upload together, each with a name and an image_url or image_file, instead of name and one image.
image_urlNoPublic http or https link to the image file itself.
image_fileNoAn image file in the local files folder (DISCORD_MCP_FILES_DIR), by name, instead of a link. Only that folder is read, and only when it is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.2.2
    • addedInput schema / properties / emojis
      Added value: +{
      +  "description": "Several emoji to upload together, each with a name and an image_url or image_file, instead of name and one image.",
      +  "items": {
      +    "properties": {
      +      "image_file": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "image_url": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 32,
      +        "minLength": 2,
      +        "pattern": "^[A-Za-z0-9_]+$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / image_file
      Added value: +{
      +  "description": "An image file in the local files folder (DISCORD_MCP_FILES_DIR), by name, instead of a link. Only that folder is read, and only when it is set.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / image_url / description
      Added value: +"Public http or https link to the image file itself."
    • addedInput schema / properties / name / description
      Added value: +"The emoji's name: letters, digits and underscores. Needed for one upload with image_url or image_file; with emojis, each item has its own name."
    • removedInput schema / required
      Removed value: -[
      -  "name",
      -  "image_url"
      -]
  2. Changed1 schema field changedv1.4.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observedv1.0.2

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description supplies substantial extra behavior an agent could not guess: the 256 KB Discord limit, accepted formats (png/jpeg/gif/webp), silent downscaling of oversized still images to 128px, and all-or-nothing batch semantics ('nothing is uploaded unless all of them can be'). That is exactly the operational context annotations do not carry.

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?

Front-loaded with the action and its input modes, with constraints in a following sentence, so no scanning is needed to find the core capability. The first sentence is a long chain of 'or' clauses that takes a second read, but every clause carries distinct information and nothing is redundant.

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

Completeness4/5

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

For a five-parameter mutation tool with no output schema, the description covers limits, formats, downscaling, folder constraints, default guild behavior, and batch atomicity. The notable gaps are permission requirements (manage-emoji) and what happens on a name collision or slot exhaustion beyond the pre-check mention.

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 already 100%, so the baseline is 3, but the description adds real meaning about how parameters interact: 'name' is needed for a single upload while batch items each carry their own name, and the local-folder source only works when DISCORD_MCP_FILES_DIR is set. Given required parameters are empty in the schema, this mode/parameter interplay is a genuine clarification rather than a restatement.

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?

States a specific verb and resource ('Upload a custom emoji') and enumerates its three distinct input modes: a URL, a file from the local files folder, or a batch via 'emojis'. The name/title pair plus the mode enumeration makes it unmistakably distinct from delete_emoji and update_emoji, which act on existing emoji.

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

Usage Guidelines4/5

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

Gives clear conditional guidance for choosing between the modes ('from a file in the local files folder when one is set', 'or several at once with emojis'), and the atomicity note tells the agent that batch mode is pre-validated. It stops short of explicit when-not or naming the sibling to use when updating an existing emoji, so it is strong context without full alternatives coverage.

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