Skip to main content
Glama

Redis MCP

zset_add

Add members to a sorted set in Redis with specified scores. Use this tool to manage and update sorted sets efficiently, ensuring data is organized by scores for quick retrieval and operations.

Instructions

添加有序集合成员

Input Schema

NameRequiredDescriptionDefault
keyYes有序集合键名
membersYes要添加的成员或成员数组

Input Schema (JSON Schema)

{ "properties": { "key": { "description": "有序集合键名", "type": "string" }, "members": { "description": "要添加的成员或成员数组", "oneOf": [ { "description": "单个成员", "properties": { "member": { "description": "成员", "type": "string" }, "score": { "description": "分数", "type": "number" } }, "required": [ "member", "score" ], "type": "object" }, { "description": "成员数组", "items": { "properties": { "member": { "description": "成员", "type": "string" }, "score": { "description": "分数", "type": "number" } }, "required": [ "member", "score" ], "type": "object" }, "type": "array" } ] } }, "required": [ "key", "members" ], "type": "object" }

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/pickstar-2002/redis-mcp'

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