MCP Server for Prefix Caching KV State Reuse Skill - Implements a radix tree prefix cache to simulate KV-cache state reuse and calculate time-to-first-token (TTFT) latency reductions
Two tools with minimal descriptions (both under 100 chars) and incomplete parameter documentation. insert_prefix and lookup_prompt lack descriptions of what values are expected, valid ranges, or error conditions. No output schema documented. Parameter descriptions are absent entirely, 'prompt' and 'kv_cache_id' have no guidance on format, length, or constraints. No error handling guidance. Tool names are verb-based but descriptions do not explain WHEN to use each tool or what distinguishes them. No mention of idempotency, side effects, or recovery paths.
Insert system prompt or template prefix into the radix cache
Check prefix cache hit and compute TTFT latency reduction
Parameter descriptions missing entirely. 'prompt' and 'kv_cache_id' have no guidance on format, length, encoding, or constraints. LLMs cannot infer whether 'prompt' expects raw text, tokens, or encoded strings.
Tool descriptions are too brief (25 - 30 chars) and lack context. 'Insert system prompt or template prefix into the radix cache' does not explain WHEN to call this vs lookup_prompt, what happens on duplicate kv_cache_id, or whether the operation is idempotent.
No output schema documented. Callers cannot plan downstream operations or extract required fields. insert_prefix returns {status: 'prefix_cached'} but this is inferred from code, not declared in tool metadata.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | 2026-07-28+ | v2 |
No error handling guidance. What happens if kv_cache_id is empty, prompt is null, or a duplicate kv_cache_id is inserted? No recovery hints for LLMs.
insert_prefix modifies state (caches data) but description does not declare this. LLMs need to know which calls are safe to retry and which have side effects.