Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Construction Stage Wizard — structure groups

stage_groups

Use to make structure groups by position (slices, segments) for staging. For groups by section or material use auto_structure_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. 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": "stage_groups"
  }
}

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

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint false, destructiveHint false), it discloses that the write keeps a snapshot for stages_undo and that confirmPlanHash refuses a write if the plan changed — valuable mutation-safety context not present in structured fields. The preview semantics are muddled, though: 'Previews unless apply: true' directly conflicts with 'called without apply it previews and applies in one call,' so an agent cannot be certain what a default call does.

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?

Purpose and the sibling hand-off are front-loaded, and the payload example is compact and useful. Some density is unavoidable for a 9-parameter nested tool, but the trailing 'ON THIS SERVER' note and the ambiguous preview sentence introduce clutter and confusion rather than clarity.

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 complex, nested, mutation-capable tool with no output schema, the description covers scope, rule kinds, naming, clash policy, and the undo/plan-hash safety net. The remaining gap is what a preview actually returns and how preview/apply interact on this server.

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 high (89%), so the baseline is 3, but the description adds real meaning: a concrete rules example (slice/axis/mode/count/cuts), the naming token template, and the point that applying multiple rules creates every combination as a group. It adds context without fully reconciling the interaction between the apply and preview flags.

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?

The description uses a specific verb and resource — building structure groups by position (slices/segments) for staging via the Construction Stage Wizard group builder — and explicitly names the sibling auto_structure_groups as the alternative for other groupings. An agent can distinguish this tool from its neighbors without opening any schema.

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?

It gives explicit when-to-use guidance ('segments of a deck for staged construction') and routes by-section/by-material grouping to auto_structure_groups. However, that routing is weakened by the same sentence's rules list also offering {kind:'section'} and {kind:'material'}, and by the conflicting preview statements, so the guidance is clear but not fully coherent.

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