Skip to main content
Glama

redis_setup_sessions

Configure Redis-backed session management with secure storage, expiration TTL, and sliding refresh for Express, Fastify, Koa, or NestJS.

Instructions

Set up Redis-backed session management with secure storage and expiration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
frameworkNoServer frameworkexpress
session_ttlNoSession TTL in seconds (default 24 hours)
include_refreshNoWhether to include sliding window refresh
Behavior2/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 of behavioral disclosure. 'Secure storage and expiration' hints at TTL behavior but does not disclose side effects (file modifications, dependencies installed), prerequisites (a running Redis instance), whether the operation is idempotent, or what happens if the api_key is invalid. For a setup/mutation tool, this is a significant gap.

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?

One sentence with no filler words, front-loaded with the action verb and core resource. It earns its length, though the brevity leaves behavioral gaps covered under other dimensions.

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?

This is a setup tool with 4 parameters, no annotations, and no output schema. The description omits what the tool generates or modifies, how framework choice affects output, and how it differs from the nearly identical-sounding sibling session_add_redis. An agent cannot fully predict the tool's effects from this definition.

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%, and each parameter is already well-documented in the schema (api_key, framework with enum and default, session_ttl with default, include_refresh). The description adds only tangential context ('expiration' maps loosely to session_ttl, 'secure storage' to api_key), so the baseline 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?

The description states a specific verb ('Set up'), a resource ('Redis-backed session management'), and key features ('secure storage and expiration'). This distinguishes it from caching/pubsub siblings like redis_setup_caching and redis_setup_pubsub, but it does not differentiate from the closely named sibling session_add_redis, which plausibly overlaps in scope.

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?

There is no guidance on when to use this tool versus alternatives such as session_add_redis (adding Redis to existing sessions) or auth_generate_session (generating sessions generally). No exclusions, prerequisites, or decision conditions are stated, so an agent must guess which sibling applies.

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/barnburner121/claude-plugin-marketplace'

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