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

Discord MCP - Discord server management MCP for AI agents

Clone role

clone_role

Copy a Discord role’s permissions, color, and settings into a new role to duplicate access and appearance without manual setup.

Instructions

Copy a role's permissions, color, and settings into a new role.

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": {
      "role": "<role>"
    },
    "name": "clone_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesRole name or ID to copy.
guildNoGuild (server) name or ID. Omit to use the default guild.
new_nameNoName for the copy. Default: the original's name followed by "copy".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.2
    • addedInput schema / properties / new_name / description
      Added value: +"Name for the copy. Default: the original's name followed by \"copy\"."
  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

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the agent knows this is a non-destructive write. The description adds the useful detail of what is carried over (permissions, color, settings) but leaves open whether role members are copied — a critical distinction for a tool named 'clone' — and says nothing about required permissions or hierarchy/position constraints on the copy.

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?

A single tight sentence with the verb and the resource front-loaded and zero filler. Nothing could be removed without losing meaning.

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?

Wait — assessed strictly: for a simple three-parameter creation tool with full schema coverage, no output schema needed, and annotations covering the safety profile, the description supplies the one thing structured fields cannot, namely what gets copied. The only real gap is member copying, which is moderate rather than fatal.

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 (role, guild, new_name) including the default-naming behavior are already documented in the schema. The description adds no parameter-level guidance beyond restating what gets copied, so baseline 3 applies.

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?

The description gives a specific verb ('Copy') and resource ('a role') plus exactly what is transferred: permissions, color, and settings, creating a new role. That clearly separates it from create_role (build from scratch) and update_role (modify in place), though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the word 'Copy' plus 'into a new role' suggests using this when duplicating an existing role rather than defining one. There is no explicit when-to-use statement, no mention of prerequisites like the Manage Roles permission, and no exclusion telling the agent to prefer create_role for new configurations.

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