Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Construction Stage Wizard — structure groups

stage_groups

Creates structure groups with the Construction Stage Wizard plugin's group builder: pick a scope of elements, split it by rules (slice along X/Y/Z into n segments or at cuts, by section, material, element type, thickness, id ranges, existing groups), name them from a template, and resolve clashes with existing groups by policy. Typical use: segments of a deck for staged construction, e.g. rules [{kind:'slice', axis:'X', mode:'count', count:8, cuts:[]}] with naming {template:'Seg_{SLICE}'}. Previews unless apply: true; the write keeps a snapshot for stages_undo.

Input Schema

NameRequiredDescriptionDefault
applyNoWrite to CIVIL NX. Only after the user approved the preview.
rulesNoApplied together (every combination becomes a group): {kind:'slice', axis:'X'|'Y'|'Z', mode:'count'|'cuts', count, cuts:[coords]}, {kind:'section'}, {kind:'material'}, {kind:'type'}, {kind:'thickness'}, {kind:'idRange', ranges:[{label, text}]}, {kind:'existingGroup', groups:[names]}.
scopeNo{kind:'all'} | {kind:'groups', groups:[names]} | {kind:'ids', text:'1-80'} | {kind:'selection', elements:[ids]}
namingNotemplate with tokens {INDEX}, {SLICE}, {SECTION}, {MATERIAL}, {TYPE}…; prefix, suffix, pad, start.
policyNoWhat to do when a group name already exists.skip
typeFilterNoElement types to keep (BEAM, TRUSS, PLATE, SOLID…); empty = all.
includeNodesNo
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/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorld=false), and the description adds genuinely non-redundant behavior: dry-run by default, write only with apply:true, a snapshot kept for stages_undo, and a planHash guard that refuses the write if the plan drifted. It also flags that existing group-name clashes are resolved by policy. The one gap is that it doesn't say what 'overwrite'/'merge' actually do to pre-existing groups, which is the riskiest part of the operation.

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?

Front-loaded with the purpose, then a usage example, then the preview/apply caveat — a sensible order with no filler. The middle sentence is long and clause-heavy (scope + six rule kinds + naming + policy in one breath), which costs a bit of readability.

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 an 8-parameter, nested-object, write-capable tool with no output schema, the description covers the critical unknowns: that it is a dry run by default, what unlocks the write, the undo path, and the plan-hash safeguard. It does not describe what the preview returns (group list? counts? the planHash itself?), which is the main remaining hole given there is no output schema.

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 description coverage is 88%, so the baseline is 3 and the schema carries most of the load. The description still adds value with a fully worked rules example ({kind:'slice', axis:'X', mode:'count', count:8, cuts:[]}) and the naming template ({template:'Seg_{SLICE}'}), which shows how the nested objects compose in practice rather than just listing them.

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?

Opens with a specific verb+resource ('Creates structure groups with the Construction Stage Wizard plugin's group builder') and then enumerates the actual mechanics: scope selection, splitting rules, templated naming, clash policy. An agent knows exactly what the tool does. It does not, however, distinguish itself from the sibling auto_structure_groups, so it stops short of a 5.

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?

Gives a concrete use case ('segments of a deck for staged construction') with a literal rules/naming payload, so the agent can pattern-match a request to this tool. The preview/apply gating is stated clearly. What is missing is explicit when-not guidance — nothing says when to reach for auto_structure_groups or construction_stages instead.

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