MCP Server for Telegram Chat Database. Provides Claude Code with conversation context management for Telegram bot interactions. Stores messages in SQLite and retrieves context for intelligent, context-aware responses.
Server has 5 tools with complete schemas and descriptions, but quality is uneven. Tool names follow verb_noun convention (store_, get_, search_, cleanup_, get_). Descriptions are present (avg ~150 chars) but lack actionable context for LLM selection. Parameters have types and descriptions, but several lack constraints (enums, ranges). Output schemas are not documented. Error handling is minimal, no recovery guidance or categorization. Security concern: cleanup_old_sessions is destructive but has no confirmation pattern. Overall: functional but below production baseline.
Delete messages from sessions older than the specified number of days. Used for maintenance and privacy.
Get recent conversation history for a specific chat session. Returns messages in chronological order.
Get database statistics including total messages, sessions, date range, and database size.
Search past conversations by keyword/phrase across ALL channels (Telegram, Web UI, Voice) for a bot. Use this to recall what you and the user discussed before, regardless of which channel was used. Scope to your own bot with bot_prefix.
Store a message (user or bot) in the conversation history database.
Output schemas not documented. LLMs cannot plan downstream calls or extract fields without knowing what each tool returns. store_message, get_conversation_context, search_history, cleanup_old_sessions, and get_database_status all lack return type documentation.
cleanup_old_sessions is destructive (deletes messages) but lacks confirmation pattern or dry-run mode. Agents can accidentally purge data without safeguards.
Error handling is absent. No recovery guidance, error categorization, or actionable messages. If a tool fails, the LLM has no direction on retry, user input, or fallback.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 54 | 2026-07-28+ | v2 |
search_history description mentions 'Armory room sessions' and 'bot_prefix' but does not explain when to use this tool vs get_conversation_context. LLM cannot disambiguate.
get_conversation_context has optional chat_id but required session_id. Description notes 'omit for Armory room sessions' but does not explain the session_id format or when chat_id is needed. Ambiguous for LLM.