Skip to main content
Glama
Dmitriusan

mcp-redis-diagnostics

by Dmitriusan

analyze_clients

Analyzes Redis client connections to detect blocked clients, connection pool saturation, large output buffers, and pub/sub subscriber concentration, while ignoring replicas and pub/sub connections to prevent false positives.

Instructions

Analyze Redis client connections. Detects blocked clients, connection pool saturation, large output buffers, and pub/sub subscriber concentration. Idle connection count excludes replica (S flag) and pub/sub subscriber (P flag) connections, which are expected to be persistent — this prevents false positives when the target Redis instance has replicas or pub/sub consumers attached.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses an important behavioral nuance: idle connection counts exclude replica (S flag) and pub/sub (P flag) connections to avoid false positives. This goes beyond a simple 'analyzes connections' statement.

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?

The description is three sentences, front-loaded with the primary purpose, then lists detection targets, and explains a key heuristic. Every sentence provides valuable information without repetition or fluff.

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 parameterless analysis tool with no annotations or output schema, the description covers the core behavior and a critical filtering logic. However, it does not specify the return format or how results are presented, which would be useful for a fully complete description.

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?

The tool has zero parameters, so the schema provides complete coverage. Per the rubric, 0 params baseline is 4. The description adds no parameter information because none exist.

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?

The description clearly states the tool analyzes Redis client connections and lists specific detection targets (blocked clients, connection pool saturation, large output buffers, pub/sub subscriber concentration). This distinguishes it from sibling analysis tools that focus on memory, slowlog, etc.

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?

The context is clear: use this tool when investigating Redis client connections or related issues. It does not explicitly mention alternatives or exclusions, but the specialized purpose is evident from the description and sibling tool names.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dmitriusan/mcp-redis-diagnostics'

If you have feedback or need assistance with the MCP directory API, please join our Discord server