Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TELEGRAM_ARCHIVE_URL | Yes | Telegram Archive URL |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_chat_stats | Get statistics for a specific Telegram chat |
| get_messages | Get messages from a Telegram chat with pagination |
| get_messages_by_date | Get messages from a Telegram chat on a specific date |
| get_pinned_messages | Get pinned messages from a Telegram chat |
| get_topics | Get topics (forum threads) from a Telegram chat |
| refresh_stats | Force recalculation of global telegram-archive statistics |
| search_messages | Search messages in a Telegram chat by keyword |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Chat folders | List of Telegram chat folders |
| Chat list | List of all archived chats with basic info |
| Global backup statistics | Chat count, message count, media count, total size |
| Health check | Health status of the telegram-archive instance |