Skip to main content
Glama
Soroush Plus MCP

Soroush Plus MCP

by NabuxAi

Soroush Plus (own account): remove member

soroushplus_web_remove_member
Destructive

Remove a member from a Soroush Plus group or channel, optionally blocking their account with ban, after explicit confirmation and required allowlist settings.

Instructions

Remove (ban: true also blocks) one member. Changes the user's account: needs confirm: true after the user approves, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 and (for an existing chat) the chat in SOROUSHPLUS_WEB_ALLOWED_CHATS.

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": {
      "chatId": "<chatId>",
      "userId": "<userId>",
      "confirm": "<confirm>"
    },
    "name": "soroushplus_web_remove_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
banNo
chatIdYes"me" for Saved Messages, @username, or a numeric chatId from messaging_web_list_chats (channels and groups are negative)
userIdYesuserId from get_members or get_contacts.
confirmYesMust be true, and only after the user has explicitly approved this exact action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructive/not-idempotent, but the description adds what those hints cannot: the ban flag permanently blocks the account, the call mutates account state, and it is gated behind an explicit human approval plus two environment/allowlist switches. This is exactly the kind of operational and side-effect context an agent needs before a destructive call.

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 action and the ban semantics, then the prerequisites, in roughly two compact clauses. Slightly dense with parenthetical nesting, but every clause carries information an agent needs.

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 destructive, non-idempotent mutation with no output schema, the description covers the action, the optional block side effect, the confirm gate and the environment prerequisites. It does not say what a failed removal looks like or whether the member can be re-added, but nothing essential for a correct call is missing.

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 75%, so the baseline is 3; the description still adds meaning by explaining that ban=true blocks (not just removes) and that confirm must be true only after explicit user approval. chatId and userId are left entirely to the schema text, which is the remaining gap.

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 with explicit scope: 'Remove ... one member', plus a clarifying parenthetical that 'ban: true also blocks'. That single-member scope cleanly separates it from add_members, set_admin and leave_chat without needing to name them.

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 concrete preconditions for invocation: the user must have approved the exact action, confirm must be true, and two environment gates (NABU_WEB_ALLOW_ACCOUNT_CHANGES, SOROUSHPLUS_WEB_ALLOWED_CHATS) must be satisfied. It stops short of naming alternatives such as set_admin or leave_chat for the cases where removal is the wrong action.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.