Skip to main content
Glama
bssth

telegram-mcp

by bssth

send_file

Send a local file to a Telegram chat as photo, video, document, audio, voice, or video note. Specify caption and parse mode for formatted messages.

Instructions

Отправить локальный файл (фото/видео/документ/аудио). caption — подпись (parse_mode: md|html|none). as_voice — как голосовое, as_video_note — как «кружок», force_document — как файл без предпросмотра. Для видео при наличии ffprobe проставляются размеры/длительность для нормального воспроизведения.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
pathYes
captionNo
as_voiceNo
parse_modeNomd
as_video_noteNo
force_documentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4/5.0
Behavior3/5

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

There are no annotations, so the description carries the burden of behavioral disclosure. It does add useful behavior beyond the schema: parse_mode values, the as_voice/as_video_note/force_document transformation modes, and ffprobe-based video dimension/duration enrichment. However, it does not mention side effects, permission requirements, file-size/format restrictions, or error behavior.

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?

The description is one compact sentence with parameter semantics delivered in dash-separated clauses. The main action and file types are front-loaded, and every phrase earns its place without filler or repetition.

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?

Given that an output schema exists and the description already covers all optional-mode flags and a subtle video-enrichment behavior, the tool is reasonably complete for an agent to invoke. The remaining gaps, such as chat identifier format, path requirements, and failure modes, are minor compared with the covered aspects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema_description_coverage at 0%, the description compensates by explaining caption, parse_mode, as_voice, as_video_note, and force_document with concrete effects. The two required parameters, chat and path, are only named in the schema, but their meaning is largely self-evident from the 'local file' context and common API conventions.

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 opens with a specific verb and resource: 'send local file (photo/video/document/audio)'. This clearly separates it from sibling tools like send_message (text) and download_media (retrieve files), so an agent can select it by purpose.

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?

The intended use is implied by the name and the 'local file' wording, and the parameter explanations clarify modes, but the description does not explicitly state when to prefer send_file over send_message or other siblings, nor does it give exclusions or preconditions.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bssth/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server