Token-efficient tools and persistent memory for Claude Code — save 90%+ tokens, smarter agents every session
Five tools with complete input schemas and descriptions, but significant gaps in parameter documentation and output schema clarity. batch_execute and execute have good descriptions (100+ chars) and detailed parameter types, but search, index, and stats lack parameter descriptions entirely. No output schemas documented for any tool. Error handling guidance is absent. Tool names are action-oriented (batch_execute, search, index, execute, stats) but descriptions could better explain WHEN to use each tool vs alternatives. The server targets token efficiency but does not document what fields agents should expect in responses, forcing LLMs to infer structure.
Run multiple shell commands, auto-index all output, search with queries. ONE call replaces many Bash calls. Use this instead of running Bash commands directly.
Run code in a sandboxed subprocess. Modes: (1) Default — returns output directly. (2) intent="..." — auto-indexes large output and returns relevant snippets (token-efficient). (3) raw=true — ALWAYS returns full output, never indexes (use for debugging when you need complete output).
Index content (findings, data, analysis) into the session knowledge base for later retrieval.
Search the session knowledge base. Use after batch_execute to find more details.
Show session context savings: bytes indexed vs bytes returned to context.
No output schemas documented for any tool. LLMs cannot plan downstream calls or extract required fields (e.g., does search() return snippet, source, score?). Agents must guess structure.
search and stats tools lack parameter descriptions. 'queries' in search() has no description; stats() has empty properties object. LLMs cannot infer what values are valid or expected.
No error handling guidance. Tools do not document what errors can occur, whether they are retryable, or what the LLM should do next. E.g., execute() can timeout but does not explain recovery.
batch_execute and execute accept timeout parameters but do not document valid ranges (min/max). LLMs may pass absurd values (0ms, 999999999ms) without constraint feedback.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 52 | 2026-07-28+ | v2 |
execute() description mentions 'intent' and 'raw' modes but does not explain when to use each or what output format differs between modes. Ambiguous guidance invites misuse.