Skip to main content
Glama

open_nodes

Retrieve and open specific nodes in a knowledge graph by their names using MemoryMesh's MCP server solution.

Instructions

Open specific nodes in the knowledge graph by their names

Input Schema

NameRequiredDescriptionDefault
namesYesAn array of node names to retrieve

Input Schema (JSON Schema)

{ "properties": { "names": { "description": "An array of node names to retrieve", "items": { "description": "Node name to open", "type": "string" }, "type": "array" } }, "required": [ "names" ], "type": "object" }

Implementation Reference

  • Executes the 'open_nodes' tool by calling openNodes on the knowledge graph manager and formatting the response.
    case "open_nodes": const nodes = await this.knowledgeGraphManager.openNodes(args.names); return formatToolResponse({ data: nodes, actionTaken: `Retrieved nodes: ${args.names.join(', ')}` });
  • Defines the input schema for the 'open_nodes' tool: requires an object with 'names' array of strings.
    { name: "open_nodes", description: "Open specific nodes in the knowledge graph by their names", inputSchema: { type: "object", properties: { names: { type: "array", items: {type: "string", description: "Node name to open"}, description: "An array of node names to retrieve", }, }, required: ["names"], }, } ];
  • Registers 'open_nodes' tool to be handled by SearchToolHandler.
    if (toolName.match(/^(read_graph|search_nodes|open_nodes)$/)) { return this.searchHandler;
  • Registers all static tools from staticTools.ts (including 'open_nodes') into the central ToolsRegistry.
    // Register static tools allStaticTools.forEach(tool => { this.tools.set(tool.name, tool); });

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