Skip to main content
Glama

Mnemex

create_relation

Link two memories with a typed relationship to establish connections and organize information within the Mnemex memory system.

Instructions

Create an explicit relation between two memories. Links two memories with a typed relationship (e.g., "references", "follows_from", "similar_to"). Args: from_memory_id: Source memory ID. to_memory_id: Target memory ID. relation_type: Type of relation. strength: Strength of the relation (0.0-1.0). metadata: Additional metadata about the relation. Returns: Created relation ID and confirmation.

Input Schema

NameRequiredDescriptionDefault
from_memory_idYes
metadataNo
relation_typeYes
strengthNo
to_memory_idYes

Input Schema (JSON Schema)

{ "properties": { "from_memory_id": { "title": "From Memory Id", "type": "string" }, "metadata": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null, "title": "Metadata" }, "relation_type": { "title": "Relation Type", "type": "string" }, "strength": { "default": 1, "title": "Strength", "type": "number" }, "to_memory_id": { "title": "To Memory Id", "type": "string" } }, "required": [ "from_memory_id", "to_memory_id", "relation_type" ], "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/simplemindedbot/mnemex'

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