A deterministic tree-sitter + SQLite/FTS5 code knowledge graph CLI and MCP server for code analysis, symbol resolution, and graph traversal.
Single tool 'codegraph_search' has minimal definition quality. Description is present (67 chars) but lacks actionable context for LLM selection. Input schema exists but contains only one parameter with minimal description (18 chars). No output schema documented. No error handling guidance. No parameter constraints (enum, range, format). Tool name lacks clarity on what 'codegraph' means to an unfamiliar LLM. No indication of prerequisites, return structure, or when to use this vs. alternatives. Baseline: A+ tools average 194 chars description + 72 chars per param; this tool is 67 + 18 = well below threshold.
Search the code graph for symbols, definitions, and references matching a query.
No output schema documented. LLM cannot infer what fields to expect from search results, blocking downstream tool chaining and data extraction.
Input parameter 'query' has only 18-char description ('Search query string'). Does not explain format, constraints, example queries, or what 'codegraph' searches (symbols? files? definitions?). Baseline: A+ tools average 72 chars per param.
Tool description (67 chars) lacks WHEN to use it, WHAT it returns, and prerequisites. Does not explain what 'codegraph' is or how results are structured. Baseline: A+ tools average 194 chars.
No error handling guidance. If search returns no results, or query is malformed, LLM has no recovery path. No actionable error messages defined.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 40 | <=2025-11-25 | v2 |
Tool name 'codegraph_search' is domain-specific jargon. LLM unfamiliar with 'codegraph' cannot infer intent from name alone. Recommend 'search_code_symbols' or 'search_definitions' with clearer verb_noun structure.