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

Discord MCP - Discord server management MCP for AI agents

Update onboarding

update_onboarding

Configure a Discord Community server's new-member onboarding: set prompts, options that grant channels and roles, default channels, and enabled state. Risky changes return a preview and confirm_token.

Instructions

Configure the new-member onboarding flow on a Community server: prompts with options that grant channels and roles, the default channels every member sees, and the enabled state. Discord's app asks for at least seven default channels when configuring this by hand; the API has been observed to accept fewer. Members pick these options themselves, so offering a role that gives moderator or admin powers, or opens channels hidden from everyone, needs confirming: the first call changes nothing and returns a preview and a confirm_token, and repeating the call with the token saves it.

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_onboarding"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNodefault counts only default channels toward the constraints; advanced counts prompt option channels too.
guildNoGuild (server) name or ID. Omit to use the default guild.
enabledNotrue turns onboarding on, false turns it off.
promptsNoThe questions new members answer; each option grants channels and roles. Replaces the current prompts.
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.
default_channelsNoChannel names or IDs every new member gets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.2.2
    • addedInput schema / properties / enabled / description
      Added value: +"true turns onboarding on, false turns it off."
    • addedInput schema / properties / prompts / description
      Added value: +"The questions new members answer; each option grants channels and roles. Replaces the current prompts."
  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. Changed3 schema fields changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / prompts / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / prompts / items / properties / options / items / additionalProperties
      Removed value: -false
  4. First observedv1.0.2

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds the crucial non-obvious behavior that the first invocation writes nothing and returns a preview plus token, so a tokenless call is safe to make. It also discloses an environment quirk (the API accepts fewer than the seven default channels the client requires) and the hidden consequence of granting privileged roles. That is substantial context beyond structured fields.

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?

Purpose is front-loaded in the first clause with operational detail following, and no sentence is pure filler. The aside about Discord's client requiring seven default channels is a slightly tangential parenthetical, but it carries real constraint information. Three dense sentences for a six-parameter mutation tool is reasonable.

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 six-parameter mutation with nested prompt objects and no output schema, the description covers the write semantics, the confirmation flow, and the shape of the preview response. It leaves open what happens to prompts or default_channels when those parameters are omitted, and does not state permission requirements for the guild. These are meaningful but secondary gaps.

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 mode, guild, enabled, prompts, confirm_token, and default_channels are already fully documented in the schema, including that prompts replaces current prompts and how mode affects constraint counting. The description restates the same concepts at a higher level without adding syntax, limits, or default semantics beyond it. Baseline 3 is appropriate.

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?

States a specific verb ('Configure') and resource ('the new-member onboarding flow on a Community server'), then enumerates the three things it controls: prompts with options, default channels, and enabled state. The read sibling get_onboarding is implicitly the counterpart, and an agent can tell this is the mutating settings tool 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 Guidelines4/5

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

Explains the operative workflow clearly: first call previews and returns a confirm_token, repeating with the token persists. It also flags the risky case (grants of moderator/admin roles or channels hidden from everyone) that requires confirmation. It stops short of explicitly naming when to use get_onboarding or which sibling to prefer for role-only edits, so it is clear context rather than full alternative routing.

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