Skip to main content
Glama

Redis MCP Server

Official
by redis

get_vector_from_hash

Retrieve and convert a vector stored as a binary blob in a Redis hash into a list of floats using the specified hash key and field.

Instructions

Retrieve a vector from a Redis hash and convert it back from binary blob.

Args: name: The Redis hash key. vector_field: The field name inside the hash. Unless specifically required, use the default field name

Returns: The vector as a list of floats, or an error message if retrieval fails.

Input Schema

NameRequiredDescriptionDefault
nameYes
vector_fieldNovector

Input Schema (JSON Schema)

{ "properties": { "name": { "title": "Name", "type": "string" }, "vector_field": { "default": "vector", "title": "Vector Field", "type": "string" } }, "required": [ "name" ], "title": "get_vector_from_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