Skip to main content
Glama
Soroush Plus MCP

Soroush Plus MCP

by NabuxAi

Soroush Plus (own account): pin/unpin

soroushplus_web_pin_message
Idempotent

Pin or unpin a Soroush Plus chat message after explicit user approval. Requires confirm: true, an allowed chat ID, and enabled sending to apply the change.

Instructions

Pin a message, or unpin it with unpin: true. 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>",
      "confirm": "<confirm>"
    },
    "name": "soroushplus_web_pin_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
unpinNo
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

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false, idempotentHint=true, openWorldHint=true, so the safety profile is covered. The description goes beyond them with a concrete authorization gate (user-approved confirm) and two environment/allowlist requirements that determine whether the call can succeed at all. It stops short of saying whether pinning notifies chat members or what is returned.

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, both front-loaded with the action first and the prerequisites second, with no filler. The second sentence is compressed to the point of being slightly ungrammatical ('Needs confirm: true after the user approves, the chat in ...'), which costs a little readability.

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 simple toggle with four flat parameters, no output schema, and four annotations, the definition covers action, mode inversion, and all preconditions an agent needs before calling. It omits failure behavior and any permission nuances in group chats, which are minor for a non-destructive flag toggle.

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% and chatId, messageId, and confirm are already well documented in the schema, so the baseline of 3 applies. The description does add the one thing the schema omits, namely that 'unpin: true' inverts the operation, but it adds nothing further about identifier formats.

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?

The description names a specific verb+resource pair ('Pin a message') and immediately discloses the inverse mode ('unpin it with unpin: true'), so the agent can tell exactly which operation will occur. No sibling tool in the catalog covers pinning, so no differentiation wording is needed.

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?

It gives clear preconditions for use: 'confirm: true after the user approves', chat must be in SOROUSHPLUS_WEB_ALLOWED_CHATS, and NABU_MESSAGING_ENABLE_SEND=1. It does not name alternative tools or say when pinning should be avoided, but the gating conditions are explicit enough to guide invocation.

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