Cortex - AI Agent local knowledge base engine. A local knowledge indexing and vector search system with MCP (Model Context Protocol) support.
Single tool 'index' has a complete input schema with 4 parameters (path, force, timeout, workers), each with type and description. However, the tool description is only 34 characters ('Index documents from a directory'), falling below the 50-character minimum for LLM clarity. No output schema is documented. The tool name lacks a clear action verb prefix (should be 'index_documents' or 'index_directory'). Parameter descriptions are minimal (e.g., 'Force re-index from scratch (ignore checkpoint)' lacks guidance on when to use this flag). No error handling guidance, recovery paths, or examples of expected output structure are provided. The tool appears to be a write operation (WRITE risk declared) but the description does not explicitly state this, violating the pattern:command-tool requirement.
Index documents from a directory
Tool description is only 34 characters, below the 50-character minimum for LLM clarity. Lacks context on WHEN to use the tool and what it returns.
No output schema documented. LLMs cannot plan downstream operations or extract results without knowing the response structure (e.g., indexed_count, errors, checkpoint_path).
Tool name 'index' is a bare verb without object. Should be 'index_documents' or 'index_directory' to clarify the action and resource. Current name is ambiguous.
Destructive/write operation (WRITE risk) not reflected in description. Must explicitly state 'This tool modifies state by indexing documents' to help agents understand retry safety.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 39 | 2026-07-28+ | v2 |
Parameter 'timeout' uses custom 'duration' type not in JSON Schema standard. Should use 'string' with format 'duration' or 'integer' (milliseconds) with min/max bounds.