Skip to main content
Glama

gn_add_node

Adds a geometry node to a specified Blender node tree using its class name, with optional properties, input socket defaults, location, and name.

Instructions

Add a node to a tree. node_type is a class name from gn_node_types (e.g. GeometryNodeDistributePointsOnFaces). properties: node attributes (e.g. {"distribute_method": "POISSON"}). inputs: socket defaults by name (object-valued sockets accept an object name).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tree": "<tree>",
      "node_type": "<node_type>"
    },
    "name": "gn_add_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
treeYes
inputsNo
locationNo
node_typeYes
propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations and no output schema, the description carries the full behavioral burden, and it leaves the most operationally important facts unstated: what the call returns (node name/index needed for subsequent gn_link calls), whether the node is auto-placed or auto-connected, and what happens on an invalid node_type or unknown socket name. It does disclose the meaningful properties-vs-inputs distinction, which prevents some misuse.

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?

The core action is front-loaded and the two follow-on clauses map cleanly to parameters with inline examples. Dense but not padded; the only cost is that the terse, fragment-style phrasing for properties and inputs takes a second read.

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

Completeness2/5

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

For a six-parameter mutation tool with zero annotation coverage, zero schema descriptions, and no output schema, the description is too thin: it never says what identifier comes back, which an agent needs to chain into gn_link or gn_set_input, and it omits half the parameters including the ambiguous location field. It is a good start on parameter semantics but not a complete calling contract.

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

Parameters3/5

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

Schema description coverage is 0% across six parameters, so the description is the only source of meaning, and it explains three well: node_type (class name sourced from gn_node_types, with example), properties (with a literal JSON example), and inputs (socket defaults by name, plus the object-name convention for object sockets). The remaining parameters — name, tree, and location — get no explanation at all, notably location, whose units and coordinate space are non-obvious.

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

Purpose4/5

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

The description gives a specific verb and resource ("Add a node to a tree") and names the sibling that supplies valid node types (gn_node_types) with a concrete example. It stops short of distinguishing itself from adjacent tools like gn_link or gn_set_input, so an agent still has to infer where adding ends and wiring begins.

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?

Usage is only implied: the agent learns it must look up node_type via gn_node_types, which is genuinely useful routing. There is no statement of preconditions (tree must already exist via gn_new), no guidance on when to set inputs here versus calling gn_set_input afterwards, and no exclusions.

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