Skip to main content
Glama
daedalus

mcp-redis-server

redis_type

Check the data type of a given Redis key.

Instructions

Get the type of a key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe key to check.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

The description does not disclose what happens when the key does not exist (e.g., returns 'none' or throws an error). Since no annotations are present, the description carries full burden for behavioral disclosure, and it falls short.

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 short sentence conveying the core action without any unnecessary words, achieving maximum conciseness while being front-loaded.

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?

For a simple tool with one parameter and an output schema, the description is adequate but could be improved by mentioning return values (e.g., 'returns string type or none if key missing'). The existence of an output schema partially compensates, but the description remains minimal.

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 single parameter 'key' is already described in the schema as 'The key to check.' with 100% coverage. The tool description adds no additional meaning, so the baseline 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 verb 'Get' and the resource 'type of a key', making the tool's purpose immediately obvious. It distinguishes itself from siblings like redis_get (which returns the value) and redis_exists (which checks existence) by focusing solely on type retrieval.

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 is provided on when to use this tool versus alternatives like redis_exists or redis_get. An agent is left to infer that checking type is useful before type-specific operations, but no explicit context is given.

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/daedalus/mcp-redis-server'

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