Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Node Generator — create nodes

create_nodes
Destructive

Creates nodes in the open CIVIL NX model from X, Y, Z coordinates with the Node Generator plugin's own engine: every check the plugin window makes (blank or non-numeric coordinates, bad or duplicate ids, ids above 999999, ids that already exist, coincident nodes within a tolerance), its numbering modes and its write rules. Give the points as nodes [{id?, x, y, z}] or as table (text pasted from Excel or a CSV; a header like ID,X,Y,Z is recognised, decimal commas and semicolon CSVs too). Coordinates are in inputUnit (m or mm) plus an optional origin offset, and are converted to the model's length unit. numbering: 'auto' continues after the highest existing node id; 'start' uses start + increment; 'column' keeps the ids given (default when every row has one). An id that already exists blocks the write unless overwrite: true, which MOVES those nodes (and the elements on them). Coincident nodes are reported first; choose coincident: 'skip' or 'create'. Previews unless apply: true with confirmPlanHash; new nodes go by POST (create-only, so a node made since the preview is never overwritten), overwrites by PUT, then db/NODE is read back. create_nodes_undo reverses it.

Input Schema

NameRequiredDescriptionDefault
applyNoWrite to CIVIL NX. Only after the user approved the preview.
nodesNoPoints: {x, y, z} or {id, x, y, z}; [x, y, z] and [id, x, y, z] arrays also work.
startNonumbering 'start': first id.
tableNoInstead of nodes: tab-, comma- or semicolon-separated text, one node per line (ID, X, Y, Z or X, Y, Z), optional header row.
originNoAdded to every coordinate (input unit).
decimalNoDecimal mark in table text; AUTO detects it.
incrementNonumbering 'start': step between ids.
inputUnitNoUnit of the coordinates, the origin offset and the tolerance.M
numberingNo
overwriteNoMove existing nodes whose id is in the input to the new coordinates. Only with the user's agreement.
toleranceNoCoincidence tolerance, input unit.
coincidentNoreport = preview only; skip = leave coincident rows out; create = create them anyway.report
confirmPlanHashNoplanHash from the approved preview; the write is refused if the plan differs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the destructiveHint/idempotentHint annotations: it states that overwrite MOVES existing nodes and the elements on them, that new nodes are POST create-only so a node added after the preview is never clobbered, that overwrites use PUT, and that db/NODE is read back. It also enumerates the validation rules (duplicate ids, ids above 999999, coincident tolerance) that cause a write to be blocked.

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?

Almost every clause carries information and the verb is front-loaded, but it is a single dense paragraph with heavy parentheticals, so the agent must parse one long run-on rather than scan distinct sections. Nothing is wasted, though the structure could be broken up.

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?

For a 13-parameter, destructive, open-world-false tool with no output schema, this covers validation, numbering, overwrite consequences, unit handling and the preview/confirm flow. It stops short of saying what the call returns (created ids, planHash, the readback payload) and never routes against alternative node-creation siblings.

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

Parameters5/5

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

With 92% schema coverage the baseline is 3, and this description adds genuine semantics: what 'auto', 'start' and 'column' numbering each do and which is default, that an existing id blocks the write unless overwrite is set, that coordinates are converted from inputUnit to the model unit with an origin offset, and how the table blob (headers, decimal commas, semicolon CSVs) is parsed.

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?

Opens with a specific verb+resource ('Creates nodes in the open CIVIL NX model') and immediately scopes it to the Node Generator plugin's own engine, including accepted inputs (nodes array or pasted table). It also names the paired sibling create_nodes_undo, so an agent can tell which side of the pair to call.

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?

Explicit about the preview-then-write contract ('Previews unless apply: true with confirmPlanHash'), about overwrite requiring the user's agreement, and about the coincident report/skip/create decision. What is missing is routing versus other node-creating paths in the sibling list (e.g. dxf_import), which is never mentioned.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources