A professional Redis server implementation with MCP (Model Control Protocol) integration
customRedis provides 4 tools with basic schemas and descriptions, but falls short of production quality. All tools have descriptions (10-50 chars, below the 50-200 char baseline for LLM optimization) and input schemas with typed parameters. However, descriptions lack actionable context, they state WHAT but not WHEN or WHY. No output schemas documented. Error handling exists but returns generic exception messages without recovery guidance. No parameter validation constraints (enums, ranges, patterns). Tool names follow verb_noun convention (good), but descriptions are too terse to guide LLM selection. No tool annotations (readOnlyHint, destructiveHint) despite clear risk levels (WRITE, DESTRUCTIVE). Composition is sound, each tool has one responsibility, but responses return unstructured strings instead of structured objects, forcing LLMs to parse text.
Delete a key from Redis.
Retrieve a value from Redis by key.
List all keys in Redis matching the pattern.
Set a key-value pair in Redis.
Descriptions are too terse (10-50 chars vs. 50-200 char baseline). 'Set a key-value pair in Redis' lacks context on when to use this vs. alternatives, prerequisites, or side effects.
No output schemas documented. Tools return unstructured strings ('Key set to value') instead of structured objects. LLMs must parse text, risking extraction errors and wasting tokens.
No tool annotations despite clear risk levels. delete_redis_key is marked DESTRUCTIVE but lacks destructiveHint annotation. set_redis_key (WRITE) and get_redis_key (READ_ONLY) lack corresponding hints.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | <=2025-11-25 | v2 |
Error messages are generic ('Failed to set key: <error>') and do not guide recovery. No distinction between retryable errors (connection timeout) and user-fixable errors (invalid key format).
No parameter constraints. 'key' and 'pattern' accept any string; no validation for Redis key naming rules, pattern syntax, or length limits. LLMs can pass invalid values without guidance.