MCP JSON-RPC stdio server exposing Search-Mesh's scan, ast_probe, squeeze, and patch tools.
search-mesh provides 4 tools with complete JSON schemas and basic descriptions. However, descriptions are minimal (10-20 chars), parameter descriptions are absent, and error handling lacks recovery guidance. Tools follow verb_noun naming (scan, ast_probe, squeeze, patch) but descriptions do not explain WHEN to use each tool or what distinguishes them. No parameter-level documentation exists, LLMs cannot infer what 'nodeType' means or what values are valid. Output schemas are not documented. The patch tool modifies state but the description does not warn of irreversibility. Overall structure is present but falls short of production quality.
Validate whether a pattern appears inside a requested syntax node type.
Apply a patch to a source file by replacing text in a specified range.
Scan target directories for multiple keywords.
Return the AST-bounded source block around a matched pattern.
Parameter descriptions missing entirely. 'nodeType', 'queryPattern', 'targetDirs', 'keywords' have no documentation. LLMs cannot infer valid values or format constraints.
Tool descriptions are 10-20 characters, below the 34-char p10 baseline. 'Scan target directories for multiple keywords' lacks context on WHEN to use scan vs ast_probe vs squeeze, and does not explain output structure.
Output schemas not documented. Callers cannot plan downstream tool calls or extract required fields (e.g., does scan return file paths, line numbers, context snippets?).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | 2026-07-28+ | v2 |
patch tool modifies state (WRITE risk) but description does not warn of irreversibility or suggest confirmation/dry-run patterns. Agents may apply patches without understanding consequences.
No enum constraints on parameters. 'nodeType' accepts free-form strings, LLMs will hallucinate invalid syntax node types. Should enumerate supported types (function_declaration, class_declaration, etc.).