Skip to main content
Glama
AgentWong

Knowledge Graph Memory Server

by AgentWong

read_graph

Retrieve the complete knowledge graph to access stored user information across conversations for persistent memory.

Instructions

Read the entire knowledge graph

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the read_graph tool in the KnowledgeGraphManager class. It retrieves the knowledge graph by calling the _check_cache helper method, which handles loading from a file and caching.
    async def read_graph(self) -> KnowledgeGraph:
        """
        Read the entire knowledge graph using the cached version if available.
        """
        return await self._check_cache()

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/AgentWong/optimized-memory-mcp-server'

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