MCP server for searching and reading files in directories using ripgrep and grep
Two tools with basic schemas and descriptions, but significant gaps in parameter documentation and output structure. read_file_content has a single string parameter with minimal description. search has two parameters with descriptions but lacks output schema documentation. No error handling guidance for LLM recovery. Descriptions are present but generic (10-50 chars baseline vs 194 char production average). No tool annotations (readOnlyHint, etc.). Parameter descriptions exist but are minimal, 'Path to the directory to search' lacks format constraints, depth limits, or file type filters. Output is unstructured string concatenation rather than typed objects. No pagination support despite search potentially returning many results.
Read the content of a file from the specified path
Search for keywords in text files within the specified directory
Output schema not documented. Both tools return unstructured strings. LLMs cannot parse results reliably or chain to downstream tools. search returns 'Search results:\n...' as free text; read_file_content returns raw file content. No structured fields, no pagination metadata, no result count.
Parameter descriptions lack actionable constraints. 'Path to the directory to search' does not specify: max depth (code hardcodes 10), file type filters, size limits, or symlink handling. 'Keyword to search for' lacks regex support documentation or length limits. LLMs cannot infer valid inputs.
No error recovery guidance. Errors like 'The specified path does not exist' are bare statements. No suggestion to call a discovery tool or list available paths. LLM has no next step.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 43 | <=2025-11-25 | v2 |
No pagination or result limits documented in tool description. search hardcodes --max-count=10 per file but description does not mention this limit. If 100 files match, result string could be very large. No next_cursor or offset/limit parameters.
No tool annotations. Neither tool declares readOnlyHint=true, even though both are read-only operations. Agents cannot distinguish safe tools from destructive ones without explicit hints.