Read-only document awareness MCP server for agent-ready local file context.
file-ai demonstrates solid schema coverage with Zod-based input validation and clear parameter descriptions. All 5 tools have explicit descriptions (194 - 250 chars, within baseline 34 - 392 range) and typed parameters with constraints. However, output schemas are not documented, LLMs cannot predict response structure. Tool names follow verb_noun convention (doc_analyze, doc_read, doc_search, doc_context, doc_list_formats) but lack action clarity for discovery. Error handling is absent, no recovery guidance, retryability classification, or actionable error messages. No tool annotations (readOnlyHint, idempotentHint) despite all tools being read-only. Parameter descriptions are adequate but lack format/range details (e.g., 'path' should specify absolute vs relative, file size limits). Missing dependency hints and mutual exclusivity documentation (e.g., indexId vs path in doc_read, doc_search, doc_context).
Parse a local document into a read-only profile, anchors, outline, blocks, and chunks for agent context.
Return nearby blocks around an anchor or the first anchors matching a query.
List File Viewer core registry formats, supported extensions, renderer capabilities, and File AI extractor coverage.
Read blocks, chunks, or anchors from a cached index without inspecting source document internals.
Search document blocks and return excerpts tied to stable anchors.
Output schemas not documented. LLMs cannot predict response structure (profile, outline, anchors, chunks, resources fields). Breaks downstream tool chaining and forces agents to guess field names.
No error handling or recovery guidance. Tools lack error classification (retryable vs user-fixable vs fatal), actionable error messages, or suggestions for next steps. Agents cannot self-correct on failure.
Mutual exclusivity not documented. doc_read, doc_search, doc_context accept both indexId and path but do not state which takes precedence or if both are required. LLMs will pass both, causing ambiguous behavior.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
No tool annotations. All tools are read-only and idempotent but lack readOnlyHint and idempotentHint annotations. Agents cannot infer safety properties without explicit hints.
Parameter format/range details missing. 'path' parameter lacks guidance on absolute vs relative paths, file size limits, or supported extensions. 'limit' parameters lack min/max bounds (baseline: 1 - 100). Invites invalid input from LLMs.