Skip to main content
Glama

add_node

Add nodes to knowledge graphs for organizing components, events, requirements, or concepts. Supports multiple graph types including topology, timelines, and knowledge bases.

Instructions

Add a node to the knowledge graph. Nodes are the basic units of the graph, and different types of graphs support different types of nodes. Use cases:

  1. Create component or module nodes in topology graphs

  2. Add event or decision nodes in timeline graphs

  3. Create requirement or feature nodes in requirement documents

  4. Build concept hierarchies in knowledge bases

Usage recommendations:

  1. First create the graph using create_graph

  2. Select the appropriate node type based on graph type

  3. Provide meaningful names and descriptions

  4. Link related files when applicable

  5. Add metadata for additional structured information

Return data:

  • data: Created node information

    • id: Node ID

    • type: Node type

    • name: Node name

    • description: Node description

    • createdAt: Creation time

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graphIdYes
typeYesNode type. Topology graph:component/module/service/data/api/concept/resource, Timeline graph:event/decision/iteration/person, Changelog:change/feature/component/iteration/person, Requirement doc:requirement/feature/component/iteration/person/decision
nameYes
descriptionNo
filePathNo
metadataNo

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/aiuluna/knowledge-graph-mcp'

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