Skip to main content
Glama

memory_relate_tool

Establish relationships between stored memories by linking source and target memories with defined relation types and weights for enhanced context tracking.

Instructions

Create a relationship between two memories.

Args: source_id: ID of the source memory target_id: ID of the target memory relation: Type of relationship (relates_to, supersedes, caused_by, contradicts) weight: Edge weight (default: 1.0)

Returns: Result dictionary with success status and edge_id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_idYes
target_idYes
relationYes
weightNo

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/blueman82/recall'

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