Skip to main content
Glama
Soroush Plus MCP

Soroush Plus MCP

by NabuxAi

Soroush Plus (own account): admin rights

soroushplus_web_set_admin
Idempotent

Promotes or demotes a chat member to admin through the signed-in Soroush Plus web account, requiring explicit confirmation before applying the account change.

Instructions

Promote one member to admin (isAdmin: true) or demote them. 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_set_admin"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
isAdminNo

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 non-read-only, non-destructive, idempotent. The description adds genuinely new behavioral context: this mutates a user's account, requires an explicit confirm token, and is gated behind two environment/allowlist controls. It stops short of disclosing failure modes such as demoting the last admin or whether the change is reversible.

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 compact sentences, front-loaded with the action and then the preconditions; nothing is redundant. The environment-variable clause is dense but each element is load-bearing for correct invocation.

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 mutation tool with no output schema, the definition covers action, direction flag, mandatory confirmation, and environment prerequisites. Missing pieces are error/permission behavior and what happens if the target is not a member, which are minor against the supplied annotations.

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 coverage is 75%, so the schema carries most of the load. The description does add the key semantic for the undocumented isAdmin parameter (true = promote, otherwise demote) and reinforces the confirm gating, but chatId and userId handling is left entirely to the schema. Baseline 3 is appropriate given the description only partially compensates for the remaining gap.

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?

States a specific verb pair and resource: promote a member to admin (isAdmin: true) or demote them. An agent can tell this is an admin-rights mutation rather than a membership mutation. It does not explicitly contrast with siblings like remove_member or add_members, so it stops just short of full differentiation.

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 clear preconditions for use: confirm: true only after explicit user approval, NABU_WEB_ALLOW_ACCOUNT_CHANGES=1, and the chat must appear in SOROUSHPLUS_WEB_ALLOWED_CHATS when it already exists. It does not name alternatives or state when not to use it (e.g., role changes on channels vs groups), but the gating conditions are unusually well specified.

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