Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Section Designer — write a section to CIVIL NX

section_write
Destructive

Writes a section into the open CIVIL NX model exactly as Section Designer's Write button does: VALUE/GEN, PSC/VALU or COMPOSITE-GEN with its computed properties (CIVIL keeps them as sent), in the model's units read at the time of writing, then reads it back and compares every value sent. id defaults to the model's next free section id. Refuses unconverged results. If the id is taken it writes nothing and says by what (and how many elements use it); replacing needs replaceExisting: true — DESTRUCTIVE, only with the user's agreement. Previews unless apply: true with confirmPlanHash. Before applying, show the user the drawing (section_preview) and the properties and get their go-ahead. section_write_undo reverses it. Same section input as section_preview.

Input Schema

NameRequiredDescriptionDefault
idNoSection id; default = next free id in the model.
applyNoWrite to CIVIL NX. Only after the user approved the preview.
sectionYesThe section, read off the sketch. Axes: y across (positive right), z up, as seen in CIVIL's section dialog; put the origin anywhere convenient (e.g. bottom-left corner or soffit centre) — CIVIL's frame is applied on write.
confirmPlanHashNoplanHash from the approved preview; the write is refused if the plan differs.
replaceExistingNoDESTRUCTIVE: overwrite the section already at id (elements using it change stiffness). Only with the user's agreement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations (destructiveHint=true, readOnlyHint=false) by disclosing that it refuses unconverged results, that an id collision writes nothing and reports how many elements use the id, that units are read from the model at write time, and that it reads back and compares every value after writing. The property/drawing approval workflow adds real operational context. Only the response payload shape (what the comparison result looks like) is left implicit.

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?

The critical gating information (preview-by-default, apply+hash, destructive replace) is front-loaded and every clause is actionable. It is dense and semicolon-heavy, with a couple of redundancies against the schema, but nothing is padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a heavily nested schema with no output schema and four safety annotations, the description covers preconditions (open model, units at write time), the preview/approval protocol, collision handling, destroyed state on replace, and the undo path. An agent has everything needed to call it safely without opening the schema first.

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 100%, so the baseline is 3; the description still adds value by pointing to section_preview as the identical input shape and by highlighting that id defaults to the next free section id and that confirmPlanHash binds the write to the approved plan. Some statements (id default, replaceExisting destructive) restate schema text.

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 — writes a section into the open CIVIL NX model — and ties it to a concrete behavioural reference (Section Designer's Write button), naming the write variants (VALUE/GEN, PSC/VALU, COMPOSITE-GEN). It is clearly separable from section_preview (which only draws) and section_write_undo (which reverses).

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?

Gives explicit when/when-not rules: previews by default, requires apply:true plus confirmPlanHash to write, requires replaceExisting:true (and user agreement) to overwrite a taken id, and directs the agent to show section_preview and section_properties for approval first. It also names the reversal path (section_write_undo).

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