Skip to main content
Glama

security_redis_check

Read-only

Redis config security audit — Offline security audit of a redis.conf (text= or url=, GitHub blob links work, max 1 MB): network exposure from bind (loopback / private / public / all interfaces), protected-mode, missing or weak requirepass and ACL users (nopass, weak passwords, +@all on ~*), dangerous commands still available (CONFIG, MODULE, DEBUG, FLUSHALL), enable-protected-configs / enable-debug-command / enable-module-command, dir or dbfilename pointing at .ssh, cron or web roots (classic Redis file-write exploit and compromise indicators), TLS missing or TLS 1.0/1.1 and weak ciphers, plaintext port left open, replica without masterauth, world-writable unix socket, no maxmemory, duplicate directives. Returns verdict PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK, score and grade, findings with line numbers and fixes, and a hardened example. Passwords are never echoed. Example: /v1/security/redis-check?text=bind 0.0.0.0%0Aprotected-mode no Price: $0.006 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "security_redis_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesbind 0.0.0.0 / protected-mode no / port 6379 (one directive per line)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds substantial context beyond them: the full checklist of what is examined, the return shape (verdict tiers PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK plus score, grade, line-numbered findings, fixes, hardened example), the sensitive-data guarantee that passwords are never echoed, and the $0.006 x402 price. That is unusually complete disclosure for a read-only audit.

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?

Purpose and input mode are front-loaded, then a dense parenthetical enumerates the audited directives; every clause maps to a real check, so the length earns its place. It is one long run-on paragraph with heavy slash/parenthesis nesting that could be split for scannability, and the trailing price sentence is a slightly abrupt append.

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 single-input, no-output-schema audit tool, the description covers what is inspected and precisely what comes back (verdict, score, grade, findings, hardened example), so no output schema is needed. The only real omission is the mismatch between the advertised `url` input and the schema.

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

Parameters2/5

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

The description advertises 'text= or url=' input, but the input schema exposes only a required `text` field with no `url` property, so the promised alternative is not reachable and could mislead an agent into passing an unknown argument. Otherwise the schema itself already documents the single parameter at 100% coverage, so the description adds no legitimate parameter meaning.

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?

Opens with a specific verb+resource combo — an offline security audit of a redis.conf — and the sibling set (apache, nginx, sshd, compose, etc.) is clearly differentiated by file type. An agent knows immediately this is the Redis config path and not the nginx/apache equivalents.

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?

Establishes the usage context well: offline (no live host needed), input is a config file up to 1 MB, GitHub blob links work, example call included. It does not explicitly state when to pick a different tool, but the resource constraint (redis.conf only) makes the boundary self-evident for the sibling set of config auditors.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources