Skip to main content
Glama
lm203688

redis-mcp-server

Redis MCP Server

让AI安全地查看和操作你的Redis

✨ 特性

  • 🔒 安全优先 — 默认只读模式,写操作需显式开启

  • 🔍 智能识别 — 自动识别键类型(string/list/set/hash/zset)

  • 🇨🇳 中文优先 — 文档和提示全部中文化

  • 🔌 即插即用 — 支持Claude Desktop、Cursor等MCP客户端

  • 🛡️ 访问控制 — 键前缀过滤 + 黑名单模式

  • 📊 内存分析 — 查看键的内存占用

Related MCP server: Redis MCP

🚀 快速开始

Claude Desktop配置

{
  "mcpServers": {
    "redis": {
      "command": "python",
      "args": ["-m", "redis_mcp_server"],
      "env": {
        "REDIS_MCP_HOST": "localhost",
        "REDIS_MCP_PORT": "6379",
        "REDIS_MCP_PASSWORD": "",
        "REDIS_MCP_READ_ONLY": "true"
      }
    }
  }
}

🛠️ 工具列表

工具

功能

安全级别

ping

测试连接

🟢 只读

server_info

服务器信息

🟢 只读

db_size

键数量

🟢 只读

scan_keys

扫描键

🟢 只读

get_key_type

键类型+TTL

🟢 只读

get_key_value

自动读取值

🟢 只读

get_hash

哈希详情

🟢 只读

get_memory_usage

内存占用

🟢 只读

set_string

设置字符串

🔴 需关闭只读

delete_keys

删除键

🔴 需关闭只读

set_expire

设置过期

🔴 需关闭只读

📄 License

MIT License

Available Tools

11 tools
db_sizeA

获取当前数据库的键数量

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. While it implies a read-only operation, it does not specify performance characteristics, such as whether it scans all keys or uses an internal counter. The description is minimal but sufficient for a simple counting operation.

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 a single sentence that conveys the entire purpose without any unnecessary words. It is appropriately brief and front-loaded, earning a high score for conciseness.

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?

Given that the tool has no parameters and an output schema exists to describe the return format, the description is sufficient for a simple key count operation. It covers the essential purpose and is complete in the context of the sibling tools and the database domain.

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 no parameters, and the input schema is empty with 100% coverage, so the description does not need to explain parameters. The baseline for 0 parameters is 4, and the description meets that by not overcomplicating.

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 that the tool retrieves the number of keys in the current database. It uses a specific verb (获取/get) and resource (键数量/key count), and is distinctly different from sibling tools like delete_keys or get_hash.

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?

The description does not provide any guidance on when to use this tool versus alternatives. For example, it doesn't mention that server_info might provide more detailed statistics or that this tool is a lightweight alternative. The usage context is implied but not explicitly stated.

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

delete_keysC

删除键(需要关闭只读模式)

ParametersJSON Schema
NameRequiredDescriptionDefault
keysYes要删除的键名列表

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries full burden. It implies data modification but does not disclose irreversibility, error behavior, or any side effects. The mention of read-only mode is helpful but insufficient.

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?

The description is a single, front-loaded sentence. It is concise but could benefit from slightly more detail about what the tool returns.

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

Completeness2/5

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

For a delete tool with an output schema, the description is incomplete. It does not explain the return format or any side effects, leaving the agent with insufficient context for correct invocation.

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 description coverage is 100%, so baseline is 3. The description adds no additional parameter information beyond what the schema provides.

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?

The description clearly states the tool deletes keys and mentions a prerequisite. It uses a specific verb and resource, but does not differentiate from sibling mutation tools like set_string or set_expire.

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

Usage Guidelines2/5

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

Only mentions a prerequisite (turning off read-only mode), but provides no guidance on when to use this tool versus alternatives or when not to use it.

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

get_hashB

获取哈希类型的所有字段和值

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYesRedis键名

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description must cover behavioral traits. It correctly identifies the operation as reading all fields/values but omits details like error handling for non-hash keys or permission requirements.

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?

The description is a single concise sentence with no unnecessary words, but is slightly too terse to fully inform.

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

Completeness3/5

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

Given the presence of an output schema and a simple tool, the description is adequate but lacks mention of preconditions (e.g., key must be a hash type) or error scenarios.

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?

The input schema has 100% description coverage for the 'key' parameter, and the description does not add additional semantics beyond what the schema already provides.

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 it retrieves all fields and values of a hash type, using a specific verb and resource. It distinguishes itself from siblings like get_key_type and get_key_value.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, such as when to choose get_hash over get_key_value for hash keys.

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

get_key_typeB

获取键的类型和TTL

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYesRedis键名

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.4/5.0
Behavior2/5

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

No annotations provided, and the description lacks details on behavior for missing keys, TTL units (seconds vs milliseconds), or any side effects.

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?

The description is a single concise sentence, but it could be slightly more informative without adding length.

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

Completeness3/5

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

Given the output schema exists and the tool is simple, the description is adequate but does not cover edge cases or return format details.

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 description coverage is 100% for the single parameter 'key', and the description does not add meaning beyond what the schema already provides.

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 retrieves key type and TTL, distinguishing it from sibling tools like get_key_value (value retrieval) and get_hash (hash fields).

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?

The description implies usage for checking key metadata but provides no explicit guidance on when to prefer this over alternatives or any prerequisites.

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

get_key_valueB

自动识别键类型并获取值(支持string/list/set/hash/zset)

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYesRedis键名

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the burden. It describes a read operation ('get value') but does not explicitly state safety, idempotency, side effects, or required permissions. With an agent needing this info, the description is insufficient.

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?

The description is a single concise sentence that conveys the core functionality and supported types. Every word adds value, though it could be slightly expanded for completeness.

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

Completeness3/5

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

The description covers the main purpose and supported types, but lacks details on error scenarios (e.g., non-existent key) and whether the tool is read-only. An output schema exists, which may mitigate some gaps, but overall completeness is average.

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 100% with a brief parameter description. The tool description adds context about type handling but does not enhance the parameter's meaning beyond the schema. Baseline 3 is appropriate.

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 that the tool automatically identifies the key type and retrieves the value, listing supported types (string/list/set/hash/zset). This distinguishes it from sibling tools like get_hash (specific to hash) and get_key_type (only returns type).

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?

The description implies usage for any Redis key when the type is unknown, but it does not explicitly state when to use this tool versus alternatives like get_hash or set_string. No exclusions or context are provided.

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

get_memory_usageC

获取键的内存使用量

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYesRedis键名

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.9/5.0
Behavior1/5

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

No annotations are provided, and the description does not disclose any behavioral traits such as whether it's read-only, impact on server, or error handling.

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?

A single short sentence, no redundancy. However, it is very minimal.

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

Completeness2/5

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

Given the simplicity of the tool, the description lacks context about usage conditions and behavior for missing keys, even though an output schema exists.

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 100%, and the description does not add meaning beyond the schema. Baseline 3 applies.

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 retrieves memory usage for a key. It is specific and distinguishes from siblings like get_key_value or get_key_type.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. No mention of conditions or exclusions.

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

pingA

测试Redis连接是否正常

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. It only states the tool tests connection, but does not disclose any behavioral traits such as non-destructiveness, latency, or error handling. For a simple ping, this may be sufficient, but additional context would be helpful.

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?

Single sentence in Chinese, front-loaded with the action. No wasted words, appropriate for tool simplicity.

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?

Given zero parameters and likely straightforward return (e.g., status), the description is adequately complete. An output schema exists, so return details are covered elsewhere.

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?

No parameters in schema; baseline for zero parameters is 4. Description does not need to add parameter information.

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 tests Redis connection health, with a specific verb 'test' and resource 'Redis connection'. It distinguishes itself from sibling tools which perform operations like get, set, scan, etc.

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?

No explicit guidance on when to use this tool versus alternatives; however, the purpose is intuitive as a basic health check. Lacks mention of prerequisites or exclusions.

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

scan_keysC

扫描匹配的键

ParametersJSON Schema
NameRequiredDescriptionDefault
patternNo匹配模式(如 user:* 、session:* ),默认 **
countNo最多返回键数量,默认100

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, description fails to disclose behavioral traits like performance impact (scanning can be slow on large datasets), whether it is read-only or blocking, or any side effects. The simple verb 'scan' implies non-destructive but lacks explicit clarification.

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?

Single sentence is concise and front-loaded with the core action. However, it lacks any additional structure or context, which would be beneficial.

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

Completeness3/5

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

Given full schema coverage and presence of an output schema, the description does not need to explain return values. However, it omits usage context and behavioral details, making it minimally adequate for a simple 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 has 100% coverage with descriptions for both parameters. The tool description adds no extra meaning beyond what the schema already provides, so baseline score of 3 applies.

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?

Description '扫描匹配的键' clearly states verb ('scan') and resource ('matching keys'), making purpose understandable despite being minimal. It distinguishes from siblings like 'get_key_value' by indicating pattern-based scanning.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives such as 'get_key_value' or 'delete_keys'. No mention of prerequisites or scenarios where scanning is appropriate.

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

server_infoB

获取Redis服务器信息

ParametersJSON Schema
NameRequiredDescriptionDefault
sectionNo信息分区(server/clients/memory/persistence/stats/replication/cpu/keyspace),不填则返回全部

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It does not state that this is a read-only operation, nor does it mention potential performance impact or any side effects. The parameter description in the schema provides some detail, but the tool description itself lacks behavioral transparency.

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?

The description is a single concise phrase with no superfluous words. It is front-loaded with the core purpose. It could be slightly more structured but is appropriately sized.

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

Completeness3/5

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

Given the presence of an output schema (indicated by flag), the description does not need to detail return values. However, the description is minimal and does not mention that the tool is safe or that it provides comprehensive info. It is adequate but lacks additional context that could aid an agent.

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 for the single parameter 'section' is 100%, with a description in Chinese enumerating valid values. The tool description adds no extra meaning beyond what the schema already provides. Per guidelines, baseline 3 is appropriate when schema coverage is high.

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?

The description '获取Redis服务器信息' clearly states the tool retrieves Redis server information. The verb '获取' (get) and resource 'Redis服务器信息' (Redis server info) make the purpose obvious. It distinguishes from siblings like db_size or get_hash by being a general info call.

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?

No explicit when-to-use or when-not-to-use guidance is provided. The tool's purpose is implied as the general server info retrieval tool among siblings, but the description does not specify when to prefer it over other tools or mention any usage context.

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

set_expireA

设置键的过期时间(需要关闭只读模式)

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYesRedis键名
secondsYes过期时间(秒)

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description indicates this is a write operation requiring read-only mode to be closed, but does not disclose behavior when read-only mode is on or other side effects like overwriting existing TTL.

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 a single, focused sentence that conveys the core purpose and a key constraint, with no wasted words.

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 simple mutation tool with two well-documented parameters and an implied output schema, the description provides essential context (prerequisite) and purpose, though it could mention behavior like overwriting existing expiration.

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?

The input schema has 100% coverage with descriptions for both parameters (key name and seconds). The tool description adds minimal meaning beyond the schema, so a baseline score of 3 is appropriate.

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 sets a key's expiration time using the verb 'set' and the resource 'expiration time of key'. It distinguishes itself from siblings like set_string, get_key_value, and delete_keys, which have different purposes.

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 description mentions a prerequisite (read-only mode must be off), which guides usage context, but does not explicitly state when to use this tool versus alternatives like delete_keys or set_string for other operations.

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

set_stringA

设置字符串值(需要关闭只读模式)

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYesRedis键名
valueYes要设置的值
exNo过期时间(秒),不填则永不过期

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.5/5.0
Behavior2/5

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

No annotations exist, so the description shoulders full responsibility. It only mentions a prerequisite but fails to disclose mutation effects (e.g., overwrites existing keys) or consequences of not following the condition.

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?

The description is a single concise sentence that front-loads the action, though it could usefully include more detail.

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

Completeness2/5

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

Despite having an output schema, the description lacks crucial behavioral context for a mutating tool (e.g., idempotency, side effects), making it incomplete.

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 100%, so the description adds no extra meaning beyond the schema. Baseline 3 is appropriate.

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 action ('设置字符串值' - set string value) and the resource, distinguishing it from sibling tools like get_key_value or delete_keys.

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?

It provides a usage condition ('需要关闭只读模式' - requires turning off read-only mode), but does not explicitly exclude cases or mention alternatives.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 11 tool updatesv0.1.0
    • First observeddb_size
    • First observeddelete_keys
    • First observedget_hash
    • First observedget_key_type
    • First observedget_key_value
    • First observedget_memory_usage
    • First observedping
    • First observedscan_keys
    • First observedserver_info
    • First observedset_expire
    • First observedset_string

TDQS

A3.5/5.0

Scored across 11 tools

Disambiguation5/5

Each tool has a clearly distinct purpose, such as pinging, scanning keys, retrieving specific data types, or managing server info. No overlapping functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (e.g., get_key_type, set_string, scan_keys), making them predictable.

Tool Count5/5

11 tools cover essential Redis operations like connection checking, key management, memory/type info, and basic CRUD, without being excessive or sparse.

Completeness2/5

Missing write operations for non-string types (hash, list, set, zset) and no update/delete for those types. Only set_string and delete_keys exist, leaving significant gaps for typical Redis interaction.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    Provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
    138 npm
    30
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to perform comprehensive Redis database operations including managing strings, hashes, lists, sets, sorted sets, TTL management, and data backup/restore. Supports secure connections and provides batch operations for efficient Redis interaction through natural language.
    34
    12 npm
    2
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Provides comprehensive Redis database operations supporting all major data types (strings, lists, sets, hashes, sorted sets) with full CRUD functionality through natural language commands.
    9
    2 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to manage and search data in Redis using natural language. Supports hashes, lists, sets, sorted sets, streams, JSON, and vector search.
    44
    MIT