Skip to main content
Glama
bssth

telegram-mcp

by bssth

download_media

Download a Telegram message attachment to a local file and get its saved path. Uses the default download directory unless another is specified.

Instructions

Скачать вложение сообщения в локальный файл. Возвращает путь. По умолчанию — в TELEGRAM_MCP_DOWNLOAD_DIR.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
out_dirNo
message_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

B3.4/5.0
Behavior3/5

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

The description usefully discloses the default download directory and that the tool returns a path, which goes beyond the bare schema. However, with no annotations available, it omits important behavioral details such as error handling for missing attachments, overwrite behavior, and whether directories are created.

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 compact and front-loaded with the core action. Every sentence contributes meaningful information: what it does, what it returns, and where files go by default.

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?

The basics are present: required parameters are indicated by the schema, and the return value is noted. Still, the lack of annotations and absence of failure-mode or precondition information leaves the description only minimally viable for correct invocation in edge cases.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, but it only clarifies the out_dir default via TELEGRAM_MCP_DOWNLOAD_DIR. The semantics of chat and message_id are left entirely to their schema titles, with no format, resolution, or usage context provided.

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 clearly states the operation: download a message attachment to a local file and return the path. This distinguishes it from siblings like send_file (uploading) and get_message (retrieving message data).

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

Usage Guidelines2/5

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

No guidance is given about when to use this tool versus alternatives such as get_message or send_file. Prerequisites like the message actually containing an attachment are not mentioned.

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