Skip to main content
Glama

Redis MCP Server

Official
by redis

set_vector_in_hash

Store a vector as a field in a Redis hash by specifying the hash key, field name, and vector data. Manage and organize vector data efficiently within Redis using this tool.

Instructions

Store a vector as a field in a Redis hash.

Args: name: The Redis hash key. vector_field: The field name inside the hash. Unless specifically required, use the default field name vector: The vector (list of numbers) to store in the hash.

Returns: True if the vector was successfully stored, False otherwise.

Input Schema

NameRequiredDescriptionDefault
nameYes
vectorYes
vector_fieldNovector

Input Schema (JSON Schema)

{ "properties": { "name": { "title": "Name", "type": "string" }, "vector": { "items": {}, "title": "Vector", "type": "array" }, "vector_field": { "default": "vector", "title": "Vector Field", "type": "string" } }, "required": [ "name", "vector" ], "title": "set_vector_in_hashArguments", "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/redis/mcp-redis'

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