MCP server for searching and retrieving Telegram chat messages from a PostgreSQL database
Server has 4 tools with basic schemas and descriptions in Chinese. All tools are READ_ONLY and properly registered with Zod schemas. However, descriptions are minimal (10-30 chars), lack context on WHEN to use each tool, and do not explain dependencies between tools. Parameters lack detailed constraints (e.g., chat_id format, date format validation). Output schemas are not documented, responses are free-text JSON strings rather than structured objects. No error handling guidance. Tool names are clear (verb_noun pattern) but descriptions fall short of the 50-200 char LLM-optimized baseline. Missing pagination documentation for list_chats and search_messages despite returning potentially large result sets.
获取群的消息统计摘要(时间范围、活跃成员、消息数)
获取指定群的消息记录
列出所有已同步的 Telegram 群/频道及消息数量
在指定群中搜索关键词
Descriptions are too brief (10-30 chars) and lack LLM-optimized context. 'Get messages' does not explain when to use it vs search_messages, what format chat_id should be, or what the output structure contains.
Output schemas are not documented. Tools return free-text JSON strings (e.g., 'JSON.stringify(result.rows)') rather than structured objects with typed fields. LLMs cannot plan downstream calls or extract specific fields reliably.
Parameter descriptions lack format constraints. 'chat_id' is described as '群 ID,如 3695601502' (example value) but does not specify format, length, or validation rules. Dates are described as 'YYYY-MM-DD' but not validated. LLMs may pass invalid values.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | 2026-07-28+ | v2 |
No pagination documentation or result limits. list_chats and search_messages may return unbounded result sets. No mention of max results, offset/limit behavior, or when to call list_chats vs search_messages.
No error handling guidance. Tools return raw JSON or plain text on success but do not document what happens on failure (invalid chat_id, database error, no results). LLMs have no recovery path.