Skip to main content
Glama
Soroush Plus MCP

Soroush Plus MCP

by NabuxAi

Soroush Plus (own account): send file

soroushplus_web_send_file

Send a single file up to 20 MB to a Soroush Plus chat from an HTTPS URL or allowed local path, with images delivered as photos after confirmation.

Instructions

Send ONE file (up to 20 MB) from an https URL or a path inside NABU_MESSAGING_FILE_ROOT; images go as photos. 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>",
      "confirm": "<confirm>"
    },
    "name": "soroushplus_web_send_file"
  }
}

Input Schema

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

A4/5.0
Behavior4/5

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

Annotations already flag a non-read-only, open-world, non-idempotent write, but the description adds genuinely non-derivable behavior: the 20 MB ceiling, the two-host source restriction, automatic photo conversion for images, and the human-approval gate on confirm. It does not state what happens on duplicate sends or what is returned on success, which matters for a non-idempotent send.

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?

A single sentence with the action, size limit, and source rules front-loaded, followed by the gating requirements. Every clause carries operational information; nothing is filler or restatement of the title.

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 write tool with no output schema and no read-only safety net, the definition covers the critical operational facts an agent needs: size cap, permitted sources, approval gate, chat allowlist, and feature flag. The main remaining gap is the caption parameter and any note on duplicate sends or failure behavior.

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 low at 40%, so the description must carry weight; it does explain fileUrl (must be https) and filePath (must live under NABU_MESSAGING_FILE_ROOT) and implies the two are alternatives. However, caption is undocumented in both schema and description, and the either/or relationship between fileUrl and filePath is only implied by "or" rather than stated as a constraint.

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?

"Send ONE file (up to 20 MB)" states a specific verb and resource with a hard size bound, and the source constraint (https URL or path inside NABU_MESSAGING_FILE_ROOT) plus "images go as photos" pins down the exact behavior. It is distinguishable from soroushplus_web_send_message by resource type, though it does not explicitly call out the sibling or the bot-account variant.

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?

Preconditions are explicit: confirm:true only after user approval, the target chat must be in SOROUSHPLUS_WEB_ALLOWED_CHATS, and NABU_MESSAGING_ENABLE_SEND=1 must be set. No exclusion guidance is given for choosing between this and soroushplus_bot_send_file or soroushplus_web_send_message, so it stops short of a full when/when-not rubric.

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