Skip to main content
Glama

read_graph

Access and interpret the full knowledge graph stored in the MemoryMesh MCP server to retrieve structured data and insights efficiently.

Instructions

Read the entire knowledge graph

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'read_graph' tool, which retrieves the entire knowledge graph via the knowledgeGraphManager and formats the response.
    case "read_graph": const graph = await this.knowledgeGraphManager.readGraph(); return formatToolResponse({ data: graph, actionTaken: "Read complete knowledge graph" });
  • Registration of the 'read_graph' tool including its name, description, and empty input schema.
    { name: "read_graph", description: "Read the entire knowledge graph", inputSchema: { type: "object", properties: {}, }, },
  • Input schema definition for the 'read_graph' tool, which requires no parameters.
    inputSchema: { type: "object", properties: {}, },
  • Routing logic in ToolHandlerFactory that directs 'read_graph' tool calls to the SearchToolHandler.
    if (toolName.match(/^(read_graph|search_nodes|open_nodes)$/)) { return this.searchHandler;

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/CheMiguel23/MemoryMesh'

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