Skip to main content
Glama

add_node

Add a node to a terrain graph file with specified type, position, and initial properties for automated terrain generation.

Instructions

Add a node to the terrain graph. Use list_node_types to see available types and their ports. Common types: Mountain, Erosion2, Combine, SatMap, Export. Set initial properties for best results, e.g. Mountain: {Scale: 1.5, Height: 3}, Erosion2: {Duration: 15}, Combine: {Method: "Multiply"}, Mesher: {Format: "GLB"}. Position nodes left-to-right by increasing X (spacing ~300-500). Y=26250 for a single row. After adding, use connect_nodes to wire it into the graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoX position on graph canvas (default: 26500, increase by ~300 per node)
yNoY position on graph canvas (default: 26250)
nameNoCustom display name (defaults to the type name)
filenameYesPath to .terrain file
nodeTypeYesNode type key from list_node_types (e.g. Mountain, Erosion2, Combine, Export)
propertiesNoInitial property values, e.g. {Seed: 12345, Duration: 10}
Behavior3/5

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

No annotations, so description carries full burden. Discloses addition behavior, positioning constraints, and property examples. Does not cover error handling, permissions, or persistence details, leaving gaps in behavioral transparency.

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?

Efficient multi-sentence structure with front-loaded purpose. Each sentence adds value (common types, properties, positioning, next steps). Slightly verbose but well-organized and readable.

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

Completeness4/5

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

Covers purpose, type discovery, property examples, positioning, and follow-up actions. Lacks output description (no output schema), but for an 'add' tool the context is sufficiently complete for typical use.

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). Description adds significant semantic value: example property values per type (Mountain, Erosion2, etc.) and explicit positioning logic (X spacing, Y default). Enhances understanding beyond raw schema.

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 terrain graph' with specific verb and resource. Differentiates from siblings by mentioning list_node_types for type discovery and connect_nodes for wiring, thus distinguishing its role.

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

Usage Guidelines4/5

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

Provides clear context: use after list_node_types and before connect_nodes. Includes positioning tips and common type examples. Lacks explicit 'when not to use' but effectively guides typical workflow.

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

Install Server

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/nghia-peirth/gaea-mcp'

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