AI-powered code intelligence MCP server with Memgraph. Your codebase's local brain.
CodeSense has 6 tools with complete input schemas and descriptions, but quality is inconsistent. Tool names follow verb_noun convention (search_, generate_, investigate_, validate_, get_, list_) which is good. However, descriptions are generic and lack LLM-optimization guidance. Most critically, output schemas are completely undocumented, LLMs cannot infer what fields to expect from responses, breaking downstream tool chaining. Parameters lack detailed constraints (ranges, formats, dependencies). Error handling is absent from tool definitions. The server reads code and generates plans, but the interface doesn't guide agents on when to use each tool or how results chain together.
Generate an implementation plan for a task.
Retrieve a previously generated plan.
Investigate a bug using a stack trace. Parses stack, finds relevant code, and generates hypotheses.
List recent implementation plans.
Search the codebase using natural language or regex. Available methods: semantic, grep, structural
Validate a diff against a generated plan.
Output schemas completely undocumented. No tool specifies what fields are returned, their types, or structure. LLMs cannot plan downstream calls or extract required data (e.g., planId from generate_plan to pass to validate_diff).
Descriptions are generic and lack LLM-optimization. 'Generate an implementation plan for a task' (40 chars) doesn't explain WHEN to use this vs investigate_bug, what 'fast' vs 'thorough' mode means, or what the output contains. Descriptions should be 50-200 chars with clear intent and prerequisites.
Parameter constraints missing. 'limit' in search_codebase and list_plans have no min/max bounds. 'method' enum in search_codebase lacks description of what each method does (semantic vs grep vs structural). 'mode' in generate_plan lacks explanation of fast vs thorough tradeoffs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
No error handling guidance in tool definitions. If search_codebase returns no results, or generate_plan fails due to missing context, LLMs have no recovery path. Definitions should include 'If X fails, try Y' hints.
Tool composition unclear. validate_diff requires a planId, but generate_plan's output schema is undocumented, LLM cannot confirm planId is returned. Similarly, investigate_bug and generate_plan both analyze code but lack clear differentiation in descriptions.