CLI-first context engine for agentic AI: local code search, evidence packs, MCP runtime context, and memory for Claude Code, Codex, Cursor, Windsurf, and Copilot.
Contextful has well-structured tool definitions with complete Zod schemas and descriptions for all 7 tools. Naming follows verb_noun convention (context_pack, search_code, trace_path, impact_analysis, why_changed, recall_memory, write_lesson). However, descriptions are terse (avg ~80 chars, below the 194-char baseline), parameter descriptions lack actionable constraints (e.g., no enum for search mode, no range for limit/budget), and output schemas are not documented, responses are wrapped in generic jsonContent() with no field-level documentation. Error handling is absent: no recovery guidance, no validation messages, no categorization of retryable vs fatal errors. The write_lesson tool accepts evidence_refs array but provides no guidance on format or validation. Missing: pagination guidance for search_code/recall_memory, idempotency hints, and per-parameter constraints.
Return a ranked, cited, token-budgeted context pack so the agent can avoid broad file reads.
Find likely dependents and tests for a file, symbol, or module.
Search the evidence-backed memory ledger for lessons that survived previous agent sessions.
Search code, docs, symbols, and stored context with lexical, symbol, and graph-aware ranking.
Trace graph relationships between files, symbols, modules, and config nodes.
Explain why a file or symbol may have changed by combining current evidence with git history.
Write an evidence-backed lesson to the memory ledger. Loose remember-this notes are rejected.
Output schemas not documented. All tools return jsonContent() with no field-level documentation. LLMs cannot plan downstream calls or extract structured data without knowing response shape.
Parameter descriptions lack actionable constraints. 'limit' has no range (should be 1 - 100 or similar). 'budget' has no unit or range. 'mode' enum is present but not described in the parameter annotation. 'filters' object has no schema or examples.
No error handling or recovery guidance. Tools provide no error messages, validation feedback, or next-step hints. An LLM receiving a failure has no way to self-correct or retry intelligently.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 55 | 2026-07-28+ | v2 |
Tool descriptions are terse (avg 80 chars vs 194-char baseline). Missing WHEN to use each tool and how it differs from similar tools. E.g., trace_path vs impact_analysis distinction is unclear.
write_lesson requires evidence_refs array but provides no format guidance. Are these file paths, line numbers, git commits, or memory IDs? No validation or examples.