Skip to main content
Glama

discord_remove_thread_member

Idempotent

Removes a member from a Discord thread: private threads revoke access, public threads stop following. Requires Manage Threads unless the bot created the thread.

Instructions

Remove a member from a thread. In a private thread they lose access until someone adds them again; in a public thread they only stop following it and can still open it. Removing someone who is not in the thread changes nothing. If Discord refuses because the thread is archived, it is unarchived and the call retried, and it stays open afterwards. Unarchiving a locked thread needs Manage Threads. Requires the Manage Threads permission, unless the bot created the private thread. Returns a confirmation. Use discord_add_thread_member to add someone back.

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": {
      "thread_id": "<thread_id>",
      "user_id": "<user_id>"
    },
    "name": "discord_remove_thread_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYesDiscord user ID (snowflake) of the member.
thread_idYesID (snowflake) of the thread: public, private, announcement, or a forum post.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.0

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: differing public/private thread effects, silent no-op on non-members, automatic unarchive-and-retry when Discord refuses on an archived thread (and that it stays open afterwards), and layered permission rules (Manage Threads, unless the bot created the private thread). It also discloses the return value ('Returns a confirmation'), which no output schema covers. Nothing here contradicts readOnlyHint=false, idempotentHint=true, or destructiveHint=false.

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 action and its consequence, then escalating detail (no-op, archive retry, permissions, inverse tool). Every sentence carries distinct information, though the archive/permission detail could be tightened into fewer clauses.

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?

Covers permissions, side effects, idempotency, retry behavior, and the return value for a two-parameter mutation that has no output schema. An agent has everything needed to call it correctly and predict the outcome.

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?

Both parameters are fully documented in the schema at 100% coverage, including snowflake patterns and the accepted thread types (public, private, announcement, forum post). The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 and resource ('Remove a member from a thread') and implicitly contrasts with its inverse sibling by naming discord_add_thread_member at the end. An agent can distinguish it from role/ban/kick siblings 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?

Gives explicit situational semantics (private thread = access revoked until re-added; public thread = only unfollows) and a clear no-op case ('Removing someone who is not in the thread changes nothing'). It also names the alternative for the inverse operation. No exclusions on when NOT to use it versus broader moderation tools, so not a 5.

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