Skip to main content
Glama
Redis MCP Server

Redis MCP Server

by minivv

redis_execute

Execute Redis write, delete, and admin commands while validating them against environment permissions and blocking forbidden command categories before dispatch.

Instructions

执行写入 / 删除 / 管理 / 高危命令(SET / HSET / DEL / EXPIRE / CONFIG / FLUSHALL 等)。这些命令会按当前连接的环境标识(测试库 / 正式库)对应的权限模板逐类校验,被禁类别在命令下发前就被拦下。返回包含 connection / env / envLabel / readOnly / allowedOps / operation / result。

Input Schema

NameRequiredDescriptionDefault
limitNo返回条目上限,默认 200,最大 2000
commandYesRedis 命令,如 'SET key value EX 60'、'HSET hash f v'、'DEL key1 key2'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does well: it discloses that commands are validated against an env-specific permission template and that forbidden categories are blocked before dispatch. It also enumerates the return fields including readOnly and allowedOps, giving the agent strong operational context, though it doesn't detail reversibility of individual destructive commands beyond the high-risk label.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: purpose and examples first, then the permission-validation behavior, then return shape. No wasted text and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating tool with no annotations and no output schema, the description covers the key behavioral risks (permission gating, blocked categories) and lists the return fields, leaving only per-command reversibility unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds value by showing concrete command-string syntax examples ('SET key value EX 60', 'HSET hash f v') that map to the command param, and the limit default is already documented in schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb set (write/delete/manage/high-risk) and resource (Redis commands) with concrete examples (SET/HSET/DEL/FLUSHALL). The mutating scope implicitly contrasts with the redis_query sibling, but the alternative is never named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the command categories – use this for writes/management rather than reads – but there is no explicit 'when to use vs redis_query' statement or prerequisite guidance beyond the general permission-template note.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools