Skip to main content
Glama
Rubika MCP
by NabuxAi

Rubika (own account): remove member

rubika_web_remove_member
Destructive

Removes or bans a single member from a Rubika chat after explicit approval, requiring a confirm flag to apply the account change.

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 RUBIKA_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": "rubika_web_remove_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
banNo
chatIdYes"me" for Saved Messages, @username, or an object guid from messaging_web_list_chats
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.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, yet the description adds real value beyond them: ban:true also blocks the user, the action requires explicit user approval before confirm:true, and two environment/allowlist gates must be satisfied. It does not state whether a plain removal is reversible or whether the user can be re-added, which is the one gap for a destructive mutation.

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?

Two short sentences, front-loaded with the action and the ban modifier, then the prerequisites. The env-var parenthetical is dense but every clause carries actionable information; nothing is padding.

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, open-world mutation with no output schema, the definition covers the action, the ban modifier, the approval/confirm gate, and the environment allowlist requirements. Only the reversibility/re-add question is left unstated, which is minor given annotations already flag destructiveness.

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 earns above that by explaining the 'ban' parameter's effect (true also blocks), which the schema leaves undocumented. The confirm guidance largely restates the schema's own description, so it adds little on that parameter.

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 ... one member') and immediately clarifies the scope of the optional 'ban' flag. An agent can distinguish this from rubika_web_add_members, rubika_web_leave_chat, and rubika_web_set_admin 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 concrete preconditions for use: user approval first, confirm: true, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1, and the chat must be in RUBIKA_WEB_ALLOWED_CHATS. It stops short of naming alternatives or exclusions (e.g., when to demote via set_admin rather than remove), so it is clear context without full routing guidance.

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