KC-RAG — servidor MCP de contexto de código con grafo estructural verificado (0 alucinación en where/who_calls/impact/trace/guard). Structural code retrieval with deterministic call graph analysis.
Two tools with partial schemas and descriptions. get_context has a complete input schema with 4 parameters (query, repo_path, task_type, budget_tokens) and a 180-char description in Spanish. graph has 5 parameters with enum constraint on 'op' and a 165-char description. However, NEITHER tool documents output schemas, critical gap per pattern:tool. Descriptions are present but lack English clarity and actionable guidance for LLM selection. No error handling guidance visible. Parameters lack type validation hints (e.g., budget_tokens unbounded). No tool annotations (readOnlyHint, destructiveHint). Both tools are READ_ONLY but this is not formally declared in schema.
PRIMERA ACCION OBLIGATORIA para cualquier tarea sobre este codigo: devuelve el subgrafo relevante del AST con los cuerpos ya incluidos. Sustituye a read/grep/glob para entender codigo — no releas lo que ya devuelve.
Consulta DETERMINISTA al grafo real del codigo, citada archivo:linea, 0 alucinacion. op: where=donde se define | who_calls=callers directos | impact=que se rompe si lo cambias (transitivo) | trace=camino de llamadas src->dst | guard=antes de editar, afectados con/sin test.
No output schemas documented for either tool. LLMs cannot plan downstream calls or extract required fields without knowing response structure.
Descriptions are in Spanish and lack English clarity. 'PRIMERA ACCION OBLIGATORIA' and 'DETERMINISTA' are not actionable for English-speaking LLMs. Descriptions should state WHAT, WHEN, and WHY in clear English.
Parameter 'budget_tokens' (integer, default 0) is unbounded. No min/max constraints. LLMs could pass absurd values. Should specify range (e.g., 0 - 1000000).
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Both tools are READ_ONLY but this is not formally declared in schema, forcing LLMs to infer safety from descriptions.
Inferred effective spec: 2025-06-18+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 45 | 2025-06-18+ | v2 |
No error handling guidance. If 'symbol' not found in graph, or 'query' is malformed, what should the LLM do? No recovery hints provided.