Skip to main content
Glama

create_node

Create a folder, datasheet, form, dashboard, or mirror under a Vika space, with optional parent placement, ordering, and duplicate-name validation.

Instructions

Create a node (folder, form, mirror, or dashboard) under a space.

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": {
      "spaceId": "<spaceId>",
      "type": "<type>"
    },
    "name": "create_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesNode type: 1=folder, 2=datasheet, 3=form, 4=dashboard, 5=mirror.
extraNoExtra config, e.g. {datasheetId, viewId} for form/mirror creation.
spaceIdYesSpace ID, usually starts with spc.
nodeNameNoNode name.
parentIdNoParent folder node ID.
preNodeIdNoPosition after this node. Empty means first position.
checkDuplicateNameNoReject if a node with the same name already exists.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare this as a non-read-only, closed-world mutation, so the description needed to add the rest. It does not mention that duplicate names are rejected only when checkDuplicateName is set, that form/mirror creation needs extra config, or what the call returns.

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?

One front-loaded sentence with no filler, and the type enumeration is placed immediately after the resource. It is arguably too terse rather than padded, but nothing written is wasted.

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 7-parameter mutation with a nested free-form 'extra' object and no output schema, one sentence is thin. Type-conditional behavior (form/mirror needing datasheetId/viewId), name-conflict handling, and result semantics are all absent.

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 coverage is 100%, including per-type meanings and the extra config example, so parameter meaning is already fully carried by the schema. The description only repeats the type list in prose and adds nothing about syntax, defaults, or type-specific requirements. Baseline 3 applies.

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?

A specific verb (Create) plus resource (node) with a parenthetical enumerating the node types and a scoping clause (under a space). It clearly reads as the creation counterpart to copy_node/move_node/delete_node. Minor flaw: the list omits 'datasheet' although the schema defines type=2 as datasheet.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing says when to call this versus create_datasheets, create_view, or copy_node for similar outcomes. Placement/containment rules (spaceId vs parentId) are left for the caller to infer.

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