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

Discord MCP - Discord server management MCP for AI agents

Update member

update_member

Edit a Discord member's nickname or voice state—server mute, deafen, or move channels—with confirmation for sensitive changes.

Instructions

Edit a member's nickname or voice state. Voice changes (server mute, server deafen, move to another voice channel) only apply while the member is connected to voice. Role changes go through assign_role and remove_role. Moving someone into a voice channel they cannot join themselves lets them hear it, and lifting a server mute or deafen undoes what a moderator did, so those need confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Everything else, muting and deafening included, happens at 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": {
      "member": "<member>"
    },
    "name": "update_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
guildNoGuild (server) name or ID. Omit to use the default guild.
memberYesMember name or user ID.
reasonNoThe reason recorded in the server's audit log.
nicknameNoNew nickname, or empty string to clear it.
server_muteNotrue server-mutes the member in voice, false unmutes. Only while they are in a voice channel.
confirm_tokenNoThe token from this exact action's preview. Where the app can show a confirmation dialog, calling with it asks the user there, and it happens only if they agree.
move_to_voiceNoVoice channel name or ID to move the member into.
server_deafenNotrue server-deafens the member in voice, false undeafens. Only while they are in a voice channel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.2
    • addedInput schema / properties / reason / description
      Added value: +"The reason recorded in the server's audit log."
    • addedInput schema / properties / server_deafen / description
      Added value: +"true server-deafens the member in voice, false undeafens. Only while they are in a voice channel."
    • addedInput schema / properties / server_mute / description
      Added value: +"true server-mutes the member in voice, false unmutes. Only while they are in a voice channel."
  2. Changed2 schema fields 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"
    • addedInput schema / properties / confirm_token
      Added value: +{
      +  "description": "The token from this exact action's preview. Where the app can show a confirmation dialog, calling with it asks the user there, and it happens only if they agree.",
      +  "type": "string"
      +}
  3. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observedv1.0.2

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the thin annotations (readOnlyHint=false, destructiveHint=false) by disclosing the two-phase confirmation protocol: the first call changes nothing and returns a preview plus a confirm_token, and the repeat call with the token commits the change. It also explains the real-world side effects (moving someone into a channel lets them hear it; lifting a mute/deafen undoes a moderator action), which is genuine behavioral context not present in the annotations. It stops short of describing the preview payload's structure, keeping this just under 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?

Front-loaded with the core capability, then progressively narrows to exclusions and the confirmation protocol — good information ordering with no filler sentences. The final sentence ("Everything else, muting and deafening included, happens at once") is a bit tangled in its clause order, and the run of three sentences is dense, but 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 an 8-parameter mutation tool with no output schema, the description covers the decisive behaviors: what is editable, what is time-limited (voice state), and the confirmation requirement for the risky subset. The main remaining gap is that the non-confirmed success path returns nothing described, and the interaction between reason/audit logging and the confirmation flow is left implicit, but these are minor against the schema's own 100% coverage.

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 100%, so the baseline is 3, but the description adds real meaning on top: it explains that confirm_token is part of a preview-then-confirm flow and which operations require it, and it clarifies that nickname and voice-state edits are the mutation surface. It does not add format or syntax detail beyond the schema for guild, member, or reason, so a 4 rather than a 5.

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 a specific verb and resource ("Edit a member's nickname or voice state") and immediately scopes out what it does NOT do by naming the siblings that handle role changes (assign_role, remove_role). An agent can distinguish this from ban_member, kick_member, timeout_member, or disconnect_member without opening the 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?

Explicit routing guidance is provided: role changes belong to assign_role/remove_role, and voice changes only take effect while the member is connected. It further splits usage into two cases — actions requiring the preview/confirm_token dance versus actions that apply immediately — which is exactly the when-to-use discrimination an agent needs.

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