Skip to main content
Glama
vkruglikov

telegram-mcp

by vkruglikov

download_media

Idempotent

Download media files attached to a specific chat message. Provide chat identifier and message ID to save the media locally.

Instructions

Download the media attached to one message. Returns the saved path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYesChat identifier from list_chats or search_chats: a numeric chat_id, a @username, or "me" for Saved Messages. Do not invent one.
dest_dirNoDefaults to /root/.telegram-mcp/downloads
message_idYes
Behavior2/5

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

Annotations indicate readOnlyHint=false and idempotentHint=true, but description does not disclose side effects (e.g., writing to disk, network usage) beyond stating it downloads and returns a path. With annotations present, the description should add context about file system writes or permissions.

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?

Single sentence of 8 words, front-loaded with the key action and result. No extraneous information; every word earns its place.

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 download tool, the description covers the essential purpose and return value. However, it could mention that the message must contain media or that the tool requires network access, but these are implicit. It is complete enough for its complexity.

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 description coverage is 67%, and the main description does not add any additional meaning about parameters beyond what the schema provides. It is a baseline score since description adds no extra clarity.

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?

Description clearly states the verb 'download' and resource 'media attached to one message', and mentions return value 'Returns the saved path'. It distinguishes from siblings like send_file (upload) and search_messages (search) by specifying a focused download action.

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 on when to use this tool versus alternatives like send_file or get_history. The description does not mention prerequisites (e.g., needing a message with media) or conditions for use.

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

Install Server

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/vkruglikov/telegram-mcp'

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