Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

command_set

Register, edit, delete, or replace Discord slash commands globally or per server, including bulk overwriting the entire command set.

Instructions

Register (definition), edit (command_id + definition), delete (command_id + delete=True) or replace the whole set (overwrite_all=[...]) of slash commands, globally or per server. Note: answering a command needs code that runs when it is used (this server only auto-acknowledges buttons with custom_id 'mcp:').

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": "command_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
guildNo
deleteNo
global_No
command_idNo
definitionNo
overwrite_allNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false, yet the description adds genuinely new behavior: the four distinct modes, global vs per-server scoping, and the operational caveat that the server only auto-acknowledges buttons with custom_id 'mcp:'. One tension worth noting is that overwrite_all replaces the entire command set, which is effectively destructive even though the annotation says destructiveHint=false; the description's disclosure is what protects the agent here.

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?

The definition is two sentences, front-loaded with the operation-to-parameter mapping, and every clause carries information. The parenthetical encoding ('definition', 'command_id + delete=True', 'overwrite_all=[...]') is dense to parse but not padded.

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?

For a seven-parameter mutation tool with zero schema coverage, no output schema and no required parameters, the description covers the mode selection and scoping question well but leaves gaps: which bot/guild is targeted, whether unspecified fields are preserved on edit, and what a call returns or how it fails. Those omissions keep it at adequate rather than complete.

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 0%, so the description must carry parameter meaning, and it does explain the four mode-selecting parameters (definition, command_id, delete, overwrite_all). However, bot, guild and global_ are never explained by name, and 'globally or per server' only hints at global_/guild without mapping them, leaving three of seven parameters undocumented anywhere.

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 resource (slash commands) and enumerates the four concrete operations this single tool performs: register via definition, edit via command_id + definition, delete via command_id + delete=True, and full replacement via overwrite_all. An agent can immediately distinguish it from the read-only commands_list sibling without opening any schema.

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?

It gives per-mode usage guidance by binding each operation to the parameter combination that selects it, which is exactly what an agent needs for a multi-mode setter. It stops short of stating when NOT to use it (e.g., to inspect existing commands use commands_list) and gives no warning that overwrite_all wipes all existing commands rather than merging.

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