Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Build the culvert model in CIVIL NX

culvert_build
Destructive

Use to write the 2D culvert model after culvert_preview. Only for culverts. Writes the 2D Culvert model exactly as the plugin's Build: units, user material, sections, frame, soil springs, supports, every basic load case with its loads, and the nested EN 1990 Annex A2 combinations; then reads the loads back and fails if CIVIL NX dropped any. Into the open model only if it is empty, or into a new document (newDocument: true — DESTRUCTIVE: CIVIL NX replaces the open model). Previews unless apply: true.

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": "culvert_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNo
projectNoChanges to the 2D Culvert project (schema culvert-studio/2), merged onto the plugin's default project; arrays replace. Sections: project {name, reference, revision}; basis {profile: EN-1G | UK-1G | ..., concrete 'C32/40', steel 'B500B'}; geometry {spans [m per cell], clear_height, t_top, t_bot, t_ext, t_int, haunch_top [w,h], haunch_bot}; ground {fill, fill_density, surfacing_thk, surfacing_density, soil_density, soil_sub, phi, k0_override, subgrade (kN/m3), side_springs}; water {gw_depth, internal_depth}; earth_pressure {method K0 | annexB | cl94, fill_6n6p, ...}; traffic {carriageway, lm1, lm2, braking, surcharge, step, lm3 {enabled, sv80, sv100, sv196, gaps}, vehicles}; thermal {dT_exp, dT_con, dT_heat, dT_cool, shrinkage}; loads {sdl}; reinforcement {top_slab, base_slab, walls}; design {allowable_bearing, RH, t0, creep_phi}. Lengths m, bars [dia mm, spacing mm].
newDocumentNoDESTRUCTIVE: open a new CIVIL NX model first (the open one is replaced; unsaved work is lost).
confirmPlanHashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: it writes then reads back the loads and fails if CIVIL NX dropped any, and it states the destructive consequence of newDocument (the open model is replaced, unsaved work lost) and the empty-model precondition. It does not say what a preview returns or how failures inside a non-newDocument write leave the model, which keeps it short of 5.

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-loads purpose, then the write scope, then the safety gates in descending importance, all in four tight sentences. Slightly dense packing of the written-content list makes it heavier than needed, but nothing is redundant with the annotations or schema.

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 write tool with no output schema and a nested project parameter, the description covers ordering, target model selection, preview behavior, and verification. Missing pieces are the meaning of confirmPlanHash and what a preview response contains, both of which an agent may need before committing.

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 50% with a large nested project object, and the description compensates by explaining that project changes are merged onto the plugin's default project and that arrays replace, plus naming the sections covered. apply and newDocument semantics are restated with consequences. confirmPlanHash is left unexplained in both description and schema, a real gap.

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 the 2D culvert model, enumerating exactly what gets written (units, material, sections, frame, soil springs, supports, load cases, EN 1990 combinations). The 'Only for culverts' scoping and the sequencing after culvert_preview distinguish it from siblings like culvert_analyse_and_check or civil_write_tables.

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 ordering ('after culvert_preview') and explicit preconditions for the target model: only into an empty open model, or into a new document via newDocument. The preview-versus-write gate ('Previews unless apply: true') tells the agent exactly which call is safe to run first, and culvert_build_undo is implicitly the recovery path.

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