Skip to main content
Glama
discord-mcp

discord-mcp

app_emojis_create

Upload a custom emoji to a Discord application so it works wherever the bot is, independent of any guild. Omit application_id to attach it to the authenticated bot application.

Instructions

Purpose: Upload a new application-scoped custom emoji (applications can own up to 2,000).

When to use: - Register an emoji available wherever the bot is - independent of guild. - Omit application_id to register it on the authenticated bot application.

When NOT to use: - Guild-only emoji → use emojis_create.

Upload requirements: JPEG, PNG, GIF, WEBP, or AVIF; decoded image ≤ 256 KiB; 128×128 is recommended; name is 2-32 ASCII letters, digits, or underscores.

Example: {name:"spark", image:"data:image/png;base64,…"} (application_id is optional for the current bot)

Returns: {id, name, animated}.

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": {
      "name": "<name>",
      "image": "<image>"
    },
    "name": "app_emojis_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesEmoji name (2-32 ASCII letters, digits, or underscores)
imageYesEmoji image as a JPEG, PNG, GIF, WEBP, or AVIF base64 data URI (max 256 KiB decoded)
application_idNoApplication to attach the emoji to (omit to use the authenticated bot application)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.28.0
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": {},
      -    "properties": {
      -      "animated": {
      -        "type": "boolean"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "Discord custom emoji ID",
      -            "pattern": "^\\d{17,20}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "animated"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "category": {
      -        "enum": [
      -          "client",
      -          "server"
      -        ],
      -        "type": "string"
      -      },
      -      "code": {
      -        "type": "string"
      -      },
      -      "recovery_hint": {
      -        "type": "string"
      -      },
      -      "retriable": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "retriable",
      -      "category",
      -      "recovery_hint"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": {},
      +    "properties": {
      +      "animated": {
      +        "type": "boolean"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "Discord custom emoji ID",
      +            "pattern": "^\\d{17,20}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "animated"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "client",
      +          "server"
      +        ],
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "recovery_hint": {
      +        "type": "string"
      +      },
      +      "retriable": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "retriable",
      +      "category",
      +      "recovery_hint"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed6 schema fields changedv0.26.0
    • changedInput schema / properties / application_id / description
      Previous value: -"Application to attach the emoji to"New value: +"Application to attach the emoji to (omit to use the authenticated bot application)"
    • changedInput schema / properties / image / description
      Previous value: -"Emoji image as a base64 data URI (e.g. \"data:image/png;base64,…\")"New value: +"Emoji image as a JPEG, PNG, GIF, WEBP, or AVIF base64 data URI (max 256 KiB decoded)"
    • addedInput schema / properties / image / pattern
      Added value: +"^data:image\\/(jpeg|png|gif|webp|avif);base64,([A-Za-z0-9+/=]+)$"
    • changedInput schema / properties / name / description
      Previous value: -"Emoji name (2-32 chars)"New value: +"Emoji name (2-32 ASCII letters, digits, or underscores)"
    • addedInput schema / properties / name / pattern
      Added value: +"^[A-Za-z0-9_]{2,32}$"
    • changedInput schema / required
      Previous value: -[
      -  "application_id",
      -  "name",
      -  "image"
      -]New value: +[
      +  "name",
      +  "image"
      +]
  3. First observedv0.22.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the description correctly doesn't re-litigate safety. It does add non-obvious context the annotations cannot carry: the 2,000 emoji quota, accepted formats, the 256 KiB decoded limit, and the 128×128 recommendation. The "Returns" line is redundant with the output schema, and no rate-limit or failure behavior is mentioned, keeping it below a 5.

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?

Well front-loaded with labeled sections, and each block (purpose, routing, upload constraints, example) is scannable and earns its place. The trailing "Returns: {id, name, animated}" duplicates the existing output schema and is the one line that could be dropped.

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 3-parameter mutation with an output schema and full annotation coverage, this is close to complete: it covers scope, routing, validation constraints, and a concrete call example. The only gaps an agent might still hit are rate-limit behavior and what error surfaces on a rejected image, which are not addressed.

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 all three parameters (including the omit-for-current-bot semantics of `application_id` and the name pattern) are already documented in structured data. The description largely restates those constraints; the inline example is the only genuinely additive piece. Baseline 3 applies when the schema does the heavy lifting.

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?

Opens with an explicit verb+resource+scope: "Upload a new application-scoped custom emoji" and pins the scope with the 2,000-emoji cap. It explicitly distinguishes itself from the guild-scoped sibling `emojis_create`, so an agent can route 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?

Provides an explicit "When to use" / "When NOT to use" pair, naming the alternative (`emojis_create`) and the condition that selects it (guild-only emoji). It also states the default behavior when `application_id` is omitted, removing the main routing ambiguity.

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