Skip to main content
Glama

AGI MCP Server

get_memory_relationships

Retrieve memory relationships in a specified direction (incoming, outgoing, or both) by memory UUID, optionally filtered by type. Facilitates AI contextual understanding and continuity on the AGI MCP Server.

Instructions

Get relationships for a specific memory

Input Schema

NameRequiredDescriptionDefault
directionNoDirection of relationships to retrieveboth
memory_idYesUUID of the memory
relationship_typeNoFilter by relationship type (optional)

Input Schema (JSON Schema)

{ "properties": { "direction": { "default": "both", "description": "Direction of relationships to retrieve", "enum": [ "incoming", "outgoing", "both" ], "type": "string" }, "memory_id": { "description": "UUID of the memory", "type": "string" }, "relationship_type": { "description": "Filter by relationship type (optional)", "type": "string" } }, "required": [ "memory_id" ], "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/cognitivecomputations/agi-mcp-server'

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