MCP server for accessing and searching log files with authentication, rate limiting, RAG capabilities, and database schema introspection
LogMCP provides 10 tools with complete input schemas and descriptions. Naming follows verb_noun convention (list_logs, read_log, search_log, etc.). However, descriptions are inconsistent in depth, some are detailed (read_log: 127 chars), others minimal (list_logs: 95 chars). Parameter descriptions are present but often lack constraint details (e.g., 'lines' accepts a number but no min/max bounds). Output schemas are not documented in the source. Error handling is basic, no recovery guidance or actionable error messages visible. Security is reasonable (no secrets in params), but tool composition could be tighter (query_rag and query_database are separate concerns that might benefit from unified querying). Overall: solid foundation, but lacks the polish and completeness of A-grade tools.
Call an external CLI tool registered via the clitool extension
Get the schema (tables, columns, types) for a configured database
List all configured databases and their connection status
List all accessible log files matching the configured whitelist and blacklist patterns
Get metadata about a log file including size, modification time, and readability status
Send a message to a configured Telegram chat
Execute a read-only SQL query against a configured database
Output schemas not documented. LLMs cannot plan downstream tool calls or extract required fields without knowing what each tool returns. read_log, search_log, query_database, and query_rag lack documented return types.
Numeric parameters lack bounds. 'lines' (read_log, search_log) and 'limit' (query_rag, query_database) accept numbers but specify no min/max. LLMs may pass absurd values (lines=999999) causing timeouts or memory exhaustion.
Error handling lacks recovery guidance. No visible error messages that tell LLMs what to do next (e.g., 'File not found. Try list_logs() to see available files.'). Agents cannot self-correct on failures.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
Query the RAG (Retrieval-Augmented Generation) vector store for semantically similar documents
Read lines from a log file with support for pagination, tail mode, time-based filtering, and regex pattern matching
Search a log file for lines matching a regex pattern with context lines and result limiting
call_clitool is vague. Description does not explain what 'clitool extension' is, when to use it, or what tools are available. 'params' is an untyped object, LLMs cannot infer valid parameter names or types.
query_rag and query_database are separate tools with overlapping intent (search/query). No guidance on when to use each. Agents may waste reasoning cycles choosing between them.