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

Discord MCP - Discord server management MCP for AI agents

Update server

update_server

Edit Discord server settings such as name, description, icon, banner, AFK behavior, verification level, and notifications; only supplied fields change, with preview-confirmation for safety.

Instructions

Edit server settings: name, description, icon, banner, invite background, AFK behavior, system and rules channels, verification level, explicit media filter, and default notifications. Images come from public URLs. Only passed fields change. Descriptions need a Community server; the banner and invite background need boosts. A lower verification level, a weaker media filter, or turning Community off lowers the server's protection, so that needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token makes the change. Raising them, and every other setting, happens at once.

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

Input Schema

NameRequiredDescriptionDefault
nameNoNew server name.
guildNoGuild (server) name or ID. Omit to use the default guild.
dry_runNoIf true, nothing is changed: the result shows what this call would do.
icon_urlNoPublic URL of the new server icon (png, jpeg, gif, webp), or none to remove it. A gif needs the animated icon feature.
communityNoEnable or disable the Community feature. Enabling needs rules_channel and public_updates_channel.
icon_fileNoThe new icon from the local files folder (DISCORD_MCP_FILES_DIR), by name, instead of icon_url.
banner_urlNoPublic URL of the banner shown at the top of the channel list, or none. Needs boost level 2.
afk_channelNoVoice channel name or ID, or none to clear.
banner_fileNoThe banner from the local files folder, by name, instead of banner_url. Needs boost level 2.
descriptionNoThe server's description, shown in Server Discovery and on invites (Community servers).
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.
rules_channelNoText channel for the rules, when enabling Community.
system_channelNoChannel for join notices, or none to clear.
verification_levelNoWhat members need before they can talk: none; low, a verified email; medium, also registered for 5 minutes; high, also a member for 10 minutes; very_high, a verified phone.
afk_timeout_secondsNoHow long a member can be idle in voice before being moved to the AFK channel.
default_notificationsNoWhat new members are notified of by default.
explicit_media_filterNoWhich members' images Discord scans for explicit content.
invite_background_urlNoPublic URL of the invite page background (the splash), or none. Needs boost level 1.
public_updates_channelNoText channel for Discord's mod updates, when enabling Community.
discovery_background_urlNoPublic URL of the Server Discovery background, or none. Needs a discoverable server.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv2.2.2
    • addedInput schema / properties / afk_timeout_seconds / description
      Added value: +"How long a member can be idle in voice before being moved to the AFK channel."
    • addedInput schema / properties / banner_file
      Added value: +{
      +  "description": "The banner from the local files folder, by name, instead of banner_url. Needs boost level 2.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / description / description
      Added value: +"The server's description, shown in Server Discovery and on invites (Community servers)."
    • addedInput schema / properties / dry_run / description
      Added value: +"If true, nothing is changed: the result shows what this call would do."
    • addedInput schema / properties / icon_file
      Added value: +{
      +  "description": "The new icon from the local files folder (DISCORD_MCP_FILES_DIR), by name, instead of icon_url.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / name / description
      Added value: +"New server name."
    • addedInput schema / properties / verification_level / description
      Added value: +"What members need before they can talk: none; low, a verified email; medium, also registered for 5 minutes; high, also a member for 10 minutes; very_high, a verified phone."
  2. Changed8 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 / banner_url
      Added value: +{
      +  "description": "Public URL of the banner shown at the top of the channel list, or none. Needs boost level 2.",
      +  "type": "string"
      +}
    • 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"
      +}
    • addedInput schema / properties / default_notifications
      Added value: +{
      +  "description": "What new members are notified of by default.",
      +  "enum": [
      +    "all_messages",
      +    "only_mentions"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / discovery_background_url
      Added value: +{
      +  "description": "Public URL of the Server Discovery background, or none. Needs a discoverable server.",
      +  "type": "string"
      +}
    • addedInput schema / properties / explicit_media_filter
      Added value: +{
      +  "description": "Which members' images Discord scans for explicit content.",
      +  "enum": [
      +    "off",
      +    "members_without_roles",
      +    "all_members"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / icon_url
      Added value: +{
      +  "description": "Public URL of the new server icon (png, jpeg, gif, webp), or none to remove it. A gif needs the animated icon feature.",
      +  "type": "string"
      +}
    • addedInput schema / properties / invite_background_url
      Added value: +{
      +  "description": "Public URL of the invite page background (the splash), or none. Needs boost level 1.",
      +  "type": "string"
      +}
  3. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observedv1.0.2

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the annotations, it discloses the two-phase confirm flow (first call is a no-op returning a preview and confirm_token, repeat with the token to commit), an in-app confirmation dialog variant, and exactly which downgrades count as protection-lowering versus which apply immediately. This is the kind of context annotations cannot 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 scope, then conditional constraints, then the commit/confirm mechanics. Dense but every sentence carries information; the final long sentence packing the confirmation flow is slightly harder to parse than the rest.

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?

For a 20-parameter mutation tool with no output schema, it covers the prerequisites, the partial-update semantics, the dry_run escape hatch, and the exact return contract of the preview call (preview plus confirm_token), which is everything an agent needs to invoke it safely.

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 baseline is 3, but the description adds real meaning: image parameters take public URLs, afk-related and channel parameters accept "none" to clear, and boost/Community/discoverability prerequisites are attached to the relevant fields rather than the tool as a whole.

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 opens with a specific verb+resource ("Edit server settings") and enumerates exactly which fields are in scope, so an agent can tell this apart from siblings like update_channel, update_role, or update_server_widget without consulting 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 Guidelines4/5

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

It states patch semantics ("Only passed fields change") and lays out the conditions that gate specific edits: Community required for descriptions, boost levels 1 and 2 for invite background and banner, and a confirmation flow for protection-lowering changes. It does not explicitly say when to prefer this over a sibling, but the enumerated field set effectively draws the boundary.

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