Skip to main content
Glama
daffaroffi

Telegram Drive MCP Server

by daffaroffi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TG_API_IDYesYour Telegram API ID from my.telegram.org
TG_SESSIONYesYour Telegram session string obtained after the first login
TG_API_HASHYesYour Telegram API hash from my.telegram.org

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
td_list_filesC

List files in a Telegram dialog (Saved Messages, channel, etc.)

td_search_filesA

Search for files by filename in a dialog

td_get_file_infoC

Get detailed info about a specific file (message with media)

td_upload_fileB

Upload a local file to a Telegram dialog

td_download_fileB

Download a file from Telegram to a local path

td_delete_fileB

Delete a file (message) from a dialog

td_forward_fileC

Copy/forward a file from one dialog to another

td_bulk_deleteC

Delete multiple files at once

td_bulk_forwardB

Forward multiple files to another dialog

td_send_messageB

Send a text message to a dialog

td_edit_messageC

Edit an existing message

td_delete_messagesC

Delete multiple messages at once

td_search_messagesB

Search for messages in a dialog

td_get_message_historyC

Get message history from a dialog

td_list_dialogsA

List all Telegram dialogs (chats, channels, saved messages)

td_join_channelA

Join a public Telegram channel or via invite link

td_leave_channelB

Leave a Telegram channel

td_storage_overviewA

Get storage overview: file counts and sizes per dialog

td_get_media_infoB

Get detailed media info (duration, resolution, file type)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

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