Query-aware semantic chunk selection under LLM context-window budgets. Provides tools for packing local files/folders into LLM-ready TokenPack Markdown context and reading packed context artifacts.
Two tools with complete input schemas and descriptions, but significant gaps in parameter documentation and output schema clarity. pack_context has 10 parameters with minimal descriptions (many under 20 chars); read_packed_context is simpler but lacks output schema documentation. No error handling guidance, no tool annotations. Naming is clear (verb_noun pattern), but parameter descriptions are sparse and do not explain constraints, formats, or dependencies. Output structure is returned as dict but not formally documented for LLM consumption.
Pack a local file or folder into an LLM-ready TokenPack Markdown context.
Read a packed context artifact, optionally in chunks for very large files.
Parameter descriptions are minimal and lack constraint documentation. E.g., 'budget_ratio' has no explanation of valid range, default behavior, or when to use it. 'compress' accepts string but no enum of valid values documented. LLMs cannot infer valid inputs.
Output schemas are not formally documented. pack_context returns a dict with fields like 'markdown', 'markdown_chars', 'markdown_truncated', 'next_offset', but LLMs have no schema reference to understand structure. read_packed_context returns 'text', 'total_chars', 'next_offset', 'truncated', also undocumented.
No error handling guidance. FileExistsError, ValueError, and other exceptions are raised but LLMs receive no recovery hints. E.g., 'Output already exists' should suggest 'Set overwrite=True or choose a different out path.'
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
Parameter dependencies undocumented. 'budget', 'budget_ratio', 'max_budget', and 'reserve_output' interact in complex ways (AUTO_BUDGET_RATIO, AUTO_MAX_BUDGET constants) but no description explains when to use which or how they interact.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). pack_context has WRITE risk and should be marked destructive; read_packed_context is READ_ONLY but not annotated. Agents cannot infer safety properties.