Skip to main content
Glama
Soroush Plus MCP

Soroush Plus MCP

by NabuxAi

Soroush Plus (own account): leave

soroushplus_web_leave_chat
Destructive

Leave a Soroush Plus group or channel by chat ID after explicit approval; confirm=true and account-change permissions are required.

Instructions

Leave one group or channel. 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>",
      "confirm": "<confirm>"
    },
    "name": "soroushplus_web_leave_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatIdYes"me" for Saved Messages, @username, or a numeric chatId from messaging_web_list_chats (channels and groups are negative)
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

A3.9/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, but the description adds real value by disclosing that the action mutates the user's own account and is gated behind environment flags and an allowlist. It does not say what happens to the agent's membership state or message history, nor that a repeated leave (idempotentHint=false) will fail.

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 sentences, front-loaded with the action and followed by the gating conditions, with no filler. The second sentence is a dense run-on of environment-variable names that is harder to parse than it needs to be, but every clause carries information.

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 destructive tool with full annotation coverage and no output schema, the description covers the action, the confirmation protocol, and the environment gating. Gaps are modest: no statement about error behavior, idempotency, or whether leaving is reversible.

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 both chatId and confirm are already fully documented in the schema, including the "me"/@username/numeric forms and the approval requirement. The description largely restates the confirm contract and adds no new meaning to chatId beyond implying an existing chat.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Leave one group or channel" names a specific verb and resource, and the singular "one" scopes it to a single chat per call. It is distinguishable from siblings like join_chat, create_chat or remove_member without opening the schema, though it never names those alternatives explicitly.

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?

The description states concrete preconditions for invocation: confirm: true only after explicit user approval, plus the NABU_WEB_ALLOW_ACCOUNT_CHANGES=1 gate and the SOROUSHPLUS_WEB_ALLOWED_CHATS allowlist for existing chats. What is missing is routing guidance, such as how this differs from removing a member from a chat the agent administers.

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