Skip to main content
Glama

link_memories

Connect related memories with named relationships to build knowledge graphs, such as linking bug fixes to architecture decisions or connecting preferences to resulting patterns.

Instructions

Connect two related memories with a named relationship. Use this to build a knowledge graph — e.g., linking a bug fix to the architecture decision that caused it, or connecting a preference to the pattern it led to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYesThe source memory ID
related_memory_idYesThe target memory ID to link to
relationshipYesHow the memories relate: led_to (A caused B), contradicts (A conflicts with B), extends (A builds on B), related (general connection)

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/hifriendbot/cogmemai-mcp'

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