Skip to main content
Glama
Soroush Plus MCP

Soroush Plus MCP

by NabuxAi

Soroush Plus bot: send file

soroushplus_bot_send_file

Send a single file to a Soroush Plus chat, group, or channel from an HTTPS URL or allowed local path after explicit confirmation.

Instructions

Send ONE file from an https URL or a path inside NABU_MESSAGING_FILE_ROOT. Needs confirm: true, the chat in SOROUSHPLUS_ALLOWED_CHAT_IDS 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>",
      "confirm": "<confirm>"
    },
    "name": "soroushplus_bot_send_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
chatIdYesSoroush Plus chat, group or channel id for the bot.
captionNo
confirmYesMust be true, and only after the user has explicitly approved this exact action.
fileUrlNo
filePathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare the generic read-only/open-world/non-idempotent profile, so the description adds real value: confirmation is mandatory and only after explicit user approval, the target chat must be on an allowlist, and a global send switch must be enabled. It still omits the consequence of the non-idempotent flag (repeated calls re-send the same file) and any size or media-type limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and its input sources, followed by the gating requirements. No filler, no repetition of schema wording that adds nothing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent outbound media mutation with six parameters and no output schema, the description covers access gating and source selection but leaves return value, the fileUrl/filePath relationship, kind semantics, and size limits unaddressed. Adequate to invoke correctly in the common case, not complete.

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?

With schema coverage at 33%, the description compensates for some parameters by explaining the confirm gate, the chat allowlist, and the two source modes for the file. It does not state that fileUrl and filePath are alternative (likely mutually exclusive) inputs, nor explain the kind enum or caption, leaving half the parameters to the schema alone.

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 and resource ("Send ONE file") and names the two accepted sources (https URL or a path under NABU_MESSAGING_FILE_ROOT). It is clear what the tool does, though it never explicitly distinguishes itself from soroushplus_bot_send_message (text) or soroushplus_web_send_file, leaving that routing to name inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete preconditions for invocation — confirm: true, chat present in SOROUSHPLUS_ALLOWED_CHAT_IDS, and NABU_MESSAGING_ENABLE_SEND=1 — which is stronger than most. However, it offers no explicit when-to-use vs. when-not guidance and does not point at a sibling for related operations, so alternatives remain implied.

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