Skip to main content
Glama
discord-mcp

discord-mcp

threads_remove_member

Idempotent

Remove a specified guild user from a Discord thread to clean up private threads and manage thread membership.

Instructions

Purpose: Remove a guild user from a thread.

When to use: - Drop a user out of a private thread; thread cleanup.

When NOT to use: - Removing the bot itself → use threads_leave.

Returns: {removed, thread_id, user_id}.

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

Input Schema

NameRequiredDescriptionDefault
user_idYesUser to remove
thread_idYesThread to remove from

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the mutation/safety profile is covered. The description adds the non-obvious behavioral caveat that bot-removal is out of scope and belongs to threads_leave, which annotations cannot express. It stops short of stating required permissions (e.g. thread management) or what happens to a user who is not a member.

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?

The labeled Purpose / When to use / When NOT to use / Returns layout is scannable and front-loaded with the action. The Returns line restates `{removed, thread_id, user_id}` that the existing output schema already supplies, making it the one non-earning line.

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 two-parameter mutation with full annotation coverage and an output schema, the description covers purpose, exclusions, and outcome. The only material gap is that no authorization or failure-mode context (e.g. what happens if the user is not in the thread, or missing permissions) is given.

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% with two required, well-described string parameters ("User to remove", "Thread to remove from"), so the baseline is 3. The description adds no format, snowflake-ID, or edge-case guidance beyond what the schema already states.

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 and resource: "Remove a guild user from a thread." It scopes the actor (a guild user, not the bot) and the container (a thread), which is exactly what distinguishes it from the sibling threads_leave.

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?

It provides an explicit when-to-use ("Drop a user out of a private thread; thread cleanup") and an explicit when-not-to-use with a named alternative ("Removing the bot itself → use `threads_leave`"). The routing decision is fully resolved without opening either schema.

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