Skip to main content
Glama
mcasdfgf

MCP Roo Memory

graph_add_node

Add nodes to a knowledge graph with 13 types including entities, facts, decisions, and more. Text content is automatically indexed for vector search, enabling semantic retrieval.

Instructions

Add a node to the knowledge graph. Supports 13 types (entity, fact, decision, thought, chunk, question, hypothesis, action, error, note, pattern, goal, constraint — all vectorized; session, task, subtask, fileref — graph only). Text in data.text or data.title is automatically indexed into Qdrant vector search for vectorizable types. For fileref nodes, pass path in data.path.

workspace_id is OPTIONAL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parent_idNoParent node ID (can be null for roots under session)
typeYesNode type: entity|fact|decision|chunk|thought|question|hypothesis|action|error|note|pattern|goal|constraint|session|task|subtask|fileref
workspace_idNoOptional. Falls back to env/CWD folder name / 'default'
dataYesJSON data: text/title/content for semantic content, path/filetype/description for fileref, plus tags array and any custom metadata
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description discloses key behaviors: automatic vector indexing for text in data.text/data.title, optional workspace_id with fallback, and special handling for fileref nodes. However, it does not mention return type, idempotency, or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences plus a note, covering purpose and key details efficiently. Could be structured with bullet points for the type list for easier scanning, but still concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Lacks output schema and does not describe return values (e.g., node ID). For a creation tool, this is a significant gap. Also does not clarify if parent_id is required or optional despite being nullable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, baseline 3. The description adds value by explaining how data.text and data.title trigger vector indexing, and that data.path is used for fileref nodes, going beyond the schema's generic descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states 'Add a node to the knowledge graph' with specific verb and resource. Lists supported types, distinguishing it from sibling tools like graph_add_relation and graph_delete_node.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides some context like automatic indexing for vectorizable types and path for fileref, but lacks explicit when-to-use or when-not-to-use guidance compared to alternatives like graph_update_node or graph_decompose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

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/mcasdfgf/mcp-roo-memory'

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