Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoOpenAI API key for embeddings (alternative to TELEGRAM_EMBEDDINGS_API_KEY).
TELEGRAM_SESSIONYesThe Telegram session string generated by the setup script.
TELEGRAM_SEND_ENABLEDNoSet to 'false' to disable sending messages (dry run mode).true
TELEGRAM_EMBEDDINGS_API_KEYNoAPI key for embeddings (alternative to OPENAI_API_KEY).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_configB

Return redacted Telegram Parilka MCP configuration and safety state.

resolve_chatC

Resolve the configured or provided Telegram chat and cache its input peer.

get_chat_infoC

Resolve chat info plus local cache statistics.

sync_historyB

Sync Telegram history into local SQLite cache. Use this manually; normally run sync-daemon in the background.

read_historyC

Read messages from the local SQLite cache.

search_messagesB

Search cached Telegram messages with keyword FTS, vector cosine search, and hybrid candidates.

semantic_search_messagesB

Vector/cosine search over indexed cached Telegram message chunks.

index_embeddingsB

Index cached Telegram messages into vector chunks for semantic search.

get_thread_contextC

Return cached messages around a message ID.

preview_messageA

Validate a Telegram send without sending anything.

send_messageB

Send or dry-run a Telegram message with allowlist, dedupe, and throttling.

reply_to_messageC

Convenience wrapper around send_message with required reply_to_message_id.

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/billyhargroveofficial/tggroupMCP'

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