MCP server for DiceDB providing tools to interact with a DiceDB database server via standard DiceDB commands
This is a basic STDIO-only MCP server with 7 tools for DiceDB operations. Tool definitions are present with schemas and descriptions, but lack depth for LLM-optimal selection. Naming is inconsistent (ping, echo are not action-verb patterns for what they do). Descriptions are adequate but generic. Parameter descriptions exist but lack constraints, format specifications, and guidance. No output schemas documented. Error handling is minimal (raw DiceDB errors without recovery guidance). Security concerns: no visible permission gating on destructive operations (del, set, incr, decr). No tool annotations (readOnlyHint, destructiveHint) despite clear risk levels. Overall execution is functional but well below production-grade quality, typical of early-stage community tooling.
Decrement the integer value of a key by one
Delete one or more keys from DiceDB
Echo a message through the DiceDB server
Get a value from DiceDB by key
Increment the integer value of a key by one
Ping the DiceDB server to check connectivity
Set a key-value pair in DiceDB
Tool names 'ping' and 'echo' violate verb_noun convention. These are low-level protocol operations, not semantic actions on DiceDB. Consider 'check_server_health' and 'send_server_message' for clarity. LLMs may confuse these with general networking tools.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. 'del' is DESTRUCTIVE, 'set' is WRITE, 'incr'/'decr' are WRITE, LLMs cannot infer safety without explicit hints. This violates pattern:tool-annotation.
Parameter descriptions lack format constraints and validation guidance. E.g., 'url' param says 'host:port' but no regex pattern, example valid value, or error handling for malformed URLs. 'key' lacks min/max length, charset restrictions. LLMs will pass invalid values without guidance.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-21 | D | 54 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 11 | - | v1 |
No output schemas documented. Handlers return text results (e.g., 'Deleted 1 key', 'Value for key: xyz') but structure is inconsistent and opaque to LLMs. No documented response format, field names, or data types. Violates pattern:response-shaper.
Error responses are raw DiceDB errors (e.g., 'DiceDB error: %s'). No recovery guidance, actionable hints, or error classification. LLMs cannot determine if error is retryable, user-fixable, or fatal. Violates pattern:recovery-guide.
No permission gating or auditing. Destructive operations (del) and state-modifying ops (set, incr, decr) execute unconditionally. No checks for user/agent authorization, no audit trail of who called what. Violates pattern:permission-gate and pattern:audit-trail.
Parameter 'ex', 'px', 'exat', 'pxat' in 'set' tool are underdocumented. Description only states unit (seconds vs milliseconds vs epoch) but lacks format, interaction rules (which are mutually exclusive?), or examples. LLMs will struggle with correct usage.
No idempotency guarantees documented. Tools like 'set' may be idempotent on retry, but 'incr'/'decr' are clearly non-idempotent, repeated calls increment multiple times. LLMs need explicit guidance on retry safety.