Semantic-diff-aware code intelligence layer for AI coding assistants
DeltaLens provides 9 tools with complete input schemas and descriptions. Naming follows verb_noun convention (build_graph, get_delta_context, classify_change). However, descriptions are terse (avg ~80 chars, below the 194-char baseline), lack WHEN-to-use guidance, and omit output schema documentation. Parameters are typed but lack detailed constraints (e.g., token_budget has no min/max bounds). Error handling and recovery guidance are absent. No tool annotations (readOnlyHint/destructiveHint) despite clear risk classifications. The server is functional but lacks LLM-optimization depth expected of production tools.
Build the full code graph for a repository. Parses all supported files and creates the node/edge index.
Classify changes in a file as interface (signature/API) or implementation (body-only). Key for understanding blast radius.
Get past change history for a node, including risk flags.
Get scored, tiered context for a set of changed files. Returns the minimum viable context within the token budget.
Detect entry points in the codebase (functions with in-degree 0 or annotated as routes/main).
Get statistics about the code graph (node/edge counts, last build time).
Output schemas not documented. LLMs cannot infer what fields to expect from tool responses, forcing them to guess at downstream field names and risk broken tool chains.
Descriptions lack WHEN-to-use guidance and prerequisites. E.g., 'Get scored, tiered context' does not explain when to call this vs. other tools or what 'tiered' means to an LLM.
Numeric parameters lack bounds. token_budget (default 8000) has no min/max; top_k (default 10) has no range. LLMs may pass absurd values (e.g., token_budget=999999) causing timeouts or errors.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 54 | <=2025-11-25 | v2 |
Get impact scores for specific nodes given their change classifications.
Get compressed signatures + docstrings for specific nodes.
Search for code nodes by name, signature, or docstring.
No tool annotations despite clear risk classifications. build_graph is WRITE; others are READ_ONLY. Annotations (readOnlyHint, destructiveHint) enable agents to reason about safety and retry logic.
No error handling or recovery guidance. If build_graph fails on a large repo, the LLM has no guidance on retry strategy, partial results, or fallback tools.