Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Node Generator — create nodes

create_nodes
Destructive

Use to create many nodes from coordinates, with the plugin's checks. For nodes plus elements use civil_write_tables; for a whole deck use skew_grillage. 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. ON THIS SERVER: called without apply it previews and applies in one call; preview: true only previews.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_nodes"
  }
}

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.
previewNoOnly preview; write nothing.
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. Changed1 schema field changed
    • addedInput schema / properties / preview
      Added value: +{
      +  "description": "Only preview; write nothing.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the description adds real value by explaining what gets destroyed: overwrite MOVES existing nodes and the elements attached to them, and an existing id blocks the write otherwise. It also discloses the POST/PUT write strategy, the plan-hash refusal guard, and the db/NODE read-back. It loses a point because the closing 'ON THIS SERVER' note (called without apply it previews and applies in one call) sits uneasily against the earlier 'Previews unless apply: true with confirmPlanHash', leaving the actual gating behavior ambiguous.

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

Conciseness3/5

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

The opening sentence is well front-loaded and routes to siblings immediately, and most of the density is earned by 14 parameters. However, the prose is an undifferentiated block, and the trailing 'ON THIS SERVER' caveat reads as a patch that undercuts the preceding preview rule rather than clarifying it.

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 destructive 14-parameter write tool with no output schema, the definition covers the plugin's checks, unit conversion, overwrite risk, and the preview/confirm/apply lifecycle well. The remaining gap is the ambiguous preview-vs-apply default on this server, which is exactly the behavior an agent most needs to get right before a destructive call.

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 93%, so the baseline is 3, but the description genuinely adds meaning: it defines the three numbering modes and which one is the default, explains what each coincident option does, and states that coordinates and tolerance are in inputUnit and converted to the model's length unit. It falls short of 5 only because the nodes-vs-table input choice and the plan-hash parameter are already largely covered by the 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?

States a specific verb and resource ('create many nodes from coordinates') plus the distinguishing mechanism ('the Node Generator plugin's own engine'), and explicitly names the sibling to use for the adjacent job. An agent can separate it from civil_write_tables and skew_grillage without opening either schema.

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

Usage Guidelines5/5

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

Names two alternatives with the exact condition that selects each: nodes plus elements goes to civil_write_tables, a whole deck goes to skew_grillage. It also points to create_nodes_undo as the reversal path and states the approval prerequisite for writes.

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