Local-only stdio MCP server over the weighted-compact substrate. Read-only query surface exposing substrate operations (search_pairs, compact_session, substrate_info) to MCP-speaking clients via stdio.
Three tools with reasonable naming (verb_noun pattern) and descriptions, but critical gaps in schema documentation and parameter descriptions. All tools lack explicit input parameter type definitions and descriptions in the visible code. Descriptions are adequate (100-200 chars) but parameters are underdocumented. No output schemas documented. Error handling and recovery guidance absent. Tools appear to be READ_ONLY (good for safety) but lack formal annotations.
Build a compacted markdown view of the source pair's session. Hides the source pair (ground-truth reservation) and returns the remaining session pairs ranked by the chosen scoring source, truncated to (1 - k_drop) of the session. Honors REM-decay multiplier when rem_decay=True and rem_decay.npz exists.
Cosine-rank pairs against the query and return top-k previews. Uses the existing CosineRanker (e5 dense over the windowed feature matrix). Lazy-loaded so we don't pay model-load cost until the first search call.
Cheap diagnostic — counts and presence flags for substrate artefacts. Returns pair_count, session_count, has_importance, has_rem_decay, rem_decay_ref_iso, signals_present.
Input parameter schemas lack type definitions and descriptions. 'query' and 'top_k' in search_pairs have no visible type constraints or validation rules in the source code. Parameters like 'ranker' in compact_session lack enum constraints despite accepting only 'importance'.
No output schemas documented. Tools return unstructured results (e.g., 'top-k previews', 'compacted markdown view', 'counts and presence flags') without specifying field names, types, or structure. LLMs cannot plan downstream calls or extract data reliably.
No error handling or recovery guidance. Descriptions do not explain failure modes, retryability, or what the LLM should do if a call fails (e.g., if substrate files are missing or corrupted).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | 2026-07-28+ | v2 |
Missing tool annotations. Tools are READ_ONLY but lack formal readOnlyHint annotations. No idempotentHint or destructiveHint declarations, limiting agent reasoning about retry safety and side effects.
Parameter descriptions are minimal or missing context. 'k_drop' lacks explanation of what 'drop' means (remove lowest-ranked?). 'ranker' description says 'only supported option' but does not explain why or what alternatives might exist. 'honor_manifesto' lacks any explanation of what manifesto constraints are.