Skip to main content
Glama

Execute non-production Redis command

redis_execute
Destructive

Execute one allowlisted Redis mutation on non-production connections, rejecting production, scripts, transactions, admin, pub/sub, flush, and arbitrary commands.

Instructions

Execute one explicitly allowlisted Redis mutation on a non-production connection. Production, scripts, transactions, administration, pub/sub, flush, and arbitrary commands are rejected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argumentsYesRedis command name followed by already-tokenized arguments. Do not pass one shell-style command string.
connection_idYes
response_formatNomarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-alpha.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds real value beyond that: only allowlisted mutations run, the connection must be non-production, and specific command classes are refused. It still doesn't say what gets destroyed on success, whether failures leave partial state, or how errors surface.

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

Conciseness5/5

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

Two sentences, zero filler, with the core capability and the hard safety scoping front-loaded. Every clause earns its place by either defining the action or eliminating errant uses.

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 destructive, open-world mutation tool with annotations covering the safety profile and no output schema, the description supplies the critical constraints (non-production only, allowlist only, rejections). The remaining gap is operational setup: how an agent obtains a valid connection_id via the sibling list tool.

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

Parameters3/5

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

Schema coverage is only 33%, with connection_id (required) and response_format carrying no descriptions. The description's 'Execute one ... command' constrains the arguments parameter to a single allowlisted command rather than a pipeline, which is useful, but it says nothing about where connection_id comes from or what response_format controls, so it only partially compensates for the coverage gap.

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

Purpose5/5

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

States a specific verb (Execute), resource (Redis command), and narrows scope to a single allowlisted mutation on a non-production connection. The rejection list (production, scripts, transactions, admin, pub/sub, flush, arbitrary) makes it clearly distinguishable from a general redis_command sibling.

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

Usage Guidelines4/5

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

Explicit when-not conditions: production connections, scripts, transactions, administration, pub/sub, flush, and arbitrary commands are all rejected. What's missing is naming the alternative tool to use (e.g., redis_command for reads or redis_list_connections to obtain a connection), so the routing is implied rather than stated.

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