Skip to main content
Glama
Soroush Plus MCP

Soroush Plus MCP

by NabuxAi

Soroush Plus (own account): edit

soroushplus_web_edit_message
Idempotent

Edit the text or caption of an existing Soroush Plus message, requiring explicit user approval and allowed-chat/environment checks before applying the change.

Instructions

Replace the text or caption of one of the user's messages. Needs confirm: true after the user approves, the chat in SOROUSHPLUS_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.

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>",
      "messageId": "<messageId>",
      "text": "<text>",
      "confirm": "<confirm>"
    },
    "name": "soroushplus_web_edit_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
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.
messageIdYesmessageId from read_chat.

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 idempotentHint=true and destructiveHint=false, so the description doesn't need to re-establish safety; instead it adds genuinely new context about the gated allow-list, the environment flag, and the explicit-approval confirmation protocol. It does not describe what happens when validation fails or what the response contains, but the added operational gating is substantial.

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?

Very short and front-loaded, with the purpose stated before the gating requirements; no sentence is padding. The second sentence is grammatically run-on ('Needs confirm: true after the user approves, the chat in ... and ...=1'), which slightly blurs the two distinct preconditions.

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 mutating, no-output-schema tool, the definition covers the preconditions an agent most needs: an allowed chat, an enabled send flag, and an explicit post-approval confirm. It leaves unstated whether only the user's own messages can be edited and what error surfaces on an invalid messageId, but annotations and schema cover the remaining safety profile.

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%, with chatId, confirm, and messageId already documented inline, so the schema carries most of the burden. The description adds the useful nuance that the supplied text overwrites a caption when the target message carries media, but says nothing about the 'text' length limit or format expectations at the description level; baseline 3 applies.

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?

Uses a specific verb plus resource: 'Replace the text or caption of one of the user's messages', which tells an agent exactly what is mutated and clarifies that caption-bearing media messages are in scope. It does not differentiate itself from the sibling soroushplus_bot_edit_message (own account vs. bot account), so an agent must infer that distinction from the title alone.

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: the user must approve first, confirm must be true afterwards, the target chat must be in SOROUSHPLUS_WEB_ALLOWED_CHATS, and NABU_MESSAGING_ENABLE_SEND=1. It stops short of naming an alternative for the bot-account case or saying when to choose delete-and-resend instead of edit.

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