Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Eurocode - Moving Load Wizard

ec_moving_loads
Idempotent

Use for EN 1991-2 traffic loading (lanes, vehicles, moving-load cases). For UK CS 454 assessment use cs454_moving_loads; to spread existing point loads into patches use point_to_patch_apply. Before writing lanes on a grillage read midas_workflow { name: "bridge-grillage-workflow", file: "references/lanes-and-deck-edges.md" } (deck edges, kerb offset, Cross Beam distribution). EN 1991-2 traffic loading with the Eurocode - Moving Load Wizard plugin's own engine: lanes laid out on the carriageway (line lanes on a grillage, surface lanes on a plate deck) for the chosen load groups gr1a / gr1b / gr3 / gr4 / gr5, fatigue models and rail (LM71, SW/0, SW/2, HSLM, Irish Rail trains), the MIDAS vehicles with the EN, UK or Irish NA alpha factors, the Irish NA SV196 and footbridge service vehicle (loading.ieRoad, as user-defined Permit Trucks), and the moving load cases (characteristic / frequent) — each written and read back. It reads the deck from the model the way the plugin does unless reference/surface/section.width are given, and accepts the plugin's exported settings file. Without apply it only previews (lanes, vehicles, cases, stages, blockers, planHash). With apply: true it writes, records the run for ec_moving_loads_undo, and never overwrites lanes, vehicles or cases it did not write. 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": "ec_moving_loads"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNo
lanesNoLane options: prefix (default EC), wheelSpace, optimiseNotional / allowWidth, lm2Manual / lm2Centre, sv / svCentre / svWidth (LM3 route), tracks { tracks, firstTrack, spacing, gauge }, userLanes. Where the notional lanes and the remaining area sit: placements, a list of { packing: LEFT (lanes against the low-offset kerb, the default) | RIGHT (high-offset kerb) | BETWEEN with remBetween k (remaining area between lanes k and k+1) | OFFSET with blockOffset m (lane block that far from the low-offset kerb, remaining area split into REM and REM 2) }, and sweep { on, from, to, step } (the lane block stepped across the remaining area, at most 40 offsets). One placement keeps the plain names (EC L1, EC REM); several, ticked or swept, are each their own lane set (EC A1 L1, EC A2 L1 …) with their own cases (names ending A1, A2 …), never combined in one case. packing alone (LEFT|RIGHT) is still read as one placement.
scopeNoALL = lanes + vehicles + cases; LANES = lanes only; LOADS = vehicles and cases on the model's existing lanes.ALL
configNoAdvanced: any other plugin configuration field, deep-merged over the settings.
loadingNoLoading (the plugin's Loading step): disciplines (ROAD, FATIGUE, RAIL), groups (gr1a, gr1b, gr3, gr4, gr5 — the road models follow), roadModels / excludedModels, fatigueModels, railModels, lm3Vehicles, psiValues (CHARACTERISTIC, FREQUENT), factors (alphaPreset EN|UK|IE|CUSTOM fills that preset's alphaQ / alphaq / alphaqr / betaQ / lm3Set — IE is the Irish NA Table NA.1, the same values as the UK NA; alpha values given with it override and make it CUSTOM; footwayCombination…), laneLoading, minLoadedLanes / maxLoadedLanes, straddle (MANUAL|ADJACENT), loadRemainingArea, userCases, ieRail, ieRoad (Irish NA road vehicles)…
previewNoOnly preview; write nothing.
sectionNoCarriageway cross-section, m: width, kerbOffset, verges, footways, central reserve… width/kerbOffset are read from the deck if omitted, but the read measures between the outermost girder lines it sees (overhangs not counted unless built as edge lines): where the deck overhangs the outer girders pass width (full carriageway) and kerbOffset (reference girder to kerb; negative when the kerb lies outside the reference girder) yourself.
surfaceNoSurface lanes: the alignment. mode GROUP (group), NODES (nodes) or RANGE (range).
laneKindNoDefault: what the model suggests (beams -> LINE, plates -> SURFACE).
readDeckNoRead the reference line / alignment, width, kerb offset, cross beams and skew from the deck (default on, off over a loaded settings file).
referenceNoLine lanes: the reference line. mode RANGE (range: element ids e.g. '1-10'), GROUP (group), or NODES (nodes: [ids], shape).
codeChangeNoAllow setting the moving load code to EUROCODE. Changing it from another code DELETES every lane in the model — only with the user's agreement.
configFileNoThe plugin's own Export JSON settings file (or its "config"), as text or object: starts from those settings instead of the defaults. The deck is then not re-read unless readDeck: true.
deckFilterNoRead the deck only from these members, as the plugin's Show only: group (structure group name), section ("S:<id>" beam section or "T:<id>" plate thickness), zMin / zMax (level band, m).
laneSourceNoNEW lays out and writes lanes; EXISTING loads the lanes already in the model.NEW
unitSwitchNoAllow switching CIVIL NX to kN, m for the write and back afterwards (needed for non-SI models).
writeOptionsNoLane write options: loadDist LANE|CROSS, groupName (cross-beam group), moving BOTH|FORWARD|BACKWARD, skewStart, skewEnd (°; read from the deck when omitted, but pass them on a skew deck: the read has returned 0 for the end skew). With CROSS every wheel line (lane centre ± wheelSpace/2) must lie on a member of groupName, or CIVIL NX refuses the analysis ("does not intersect a Cross Beam").
confirmPlanHashNo
irishRailTrainsNoIrish Rail CCE-STR-PSD-008 Appendix C trains on the tracks: true for all, or train ids / names (ec_moving_loads_read options). Dynamic factor settings in loading.ieRail.
trafficOtherWayNoRead the deck the other way round (the plugin's "Traffic runs the other way").

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. Changed2 schema fields changed
    • changedInput schema / properties / loading / description
      Previous value: -"Loading (the plugin's Loading step): disciplines (ROAD, FATIGUE, RAIL), groups (gr1a, gr1b, gr3, gr4, gr5 — the road models follow), roadModels / excludedModels, fatigueModels, railModels, lm3Vehicles, psiValues (CHARACTERISTIC, FREQUENT), factors (alphaPreset EN|UK, alphaQ, alphaq…, footwayCombination), laneLoading, minLoadedLanes / maxLoadedLanes, straddle (MANUAL|ADJACENT), loadRemainingArea, userCases, ieRail…"New value: +"Loading (the plugin's Loading step): disciplines (ROAD, FATIGUE, RAIL), groups (gr1a, gr1b, gr3, gr4, gr5 — the road models follow), roadModels / excludedModels, fatigueModels, railModels, lm3Vehicles, psiValues (CHARACTERISTIC, FREQUENT), factors (alphaPreset EN|UK|IE|CUSTOM fills that preset's alphaQ / alphaq / alphaqr / betaQ / lm3Set — IE is the Irish NA Table NA.1, the same values as the UK NA; alpha values given with it override and make it CUSTOM; footwayCombination…), laneLoading, minLoadedLanes / maxLoadedLanes, straddle (MANUAL|ADJACENT), loadRemainingArea, userCases, ieRail, ieRoad (Irish NA road vehicles)…"
    • addedInput schema / properties / loading / properties / ieRoad
      Added value: +{
      +  "description": "Irish NA road vehicles CIVIL NX does not build in (NA+AC1:2011 to I.S. EN 1991-2:2003), as on the plugin's User-defined cases step: SV196 (Figure NA.1(c), 12 × 165 kN = 1980 kN — MIDAS's built-in SV 196 is the UK one; one Permit Truck per critical gap, IE-SV196-G1.2 / -G5.0 / -G9.0) and FBSV (footbridge service vehicle, NA.2.40 / NA.2.45, 80 + 40 kN, IE-FB-SERVICE). Each is a user-defined Permit Truck under the EUROCODE code with one sub-load case per vehicle on the lanes named in lanes[id], one lane at a time; those lanes are written with transverse optimisation off (CIVIL NX refuses a Permit Truck on an optimised lane). Needs no road discipline.",
      +  "properties": {
      +    "daf": {
      +      "default": true,
      +      "description": "SV196: the Table NA.2 DAF (1.12) as the case scale; false = scale 1, apply the DAF in the combinations.",
      +      "type": "boolean"
      +    },
      +    "lanes": {
      +      "additionalProperties": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "description": "Vehicle id → the lane names its cases run on, e.g. { \"SV196\": [\"EC L1\", \"EC L2\"] }. Every picked vehicle needs at least one lane.",
      +      "type": "object"
      +    },
      +    "vehicles": {
      +      "description": "SV196 and / or FBSV.",
      +      "items": {
      +        "enum": [
      +          "SV196",
      +          "FBSV"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / section / description
      Previous value: -"Carriageway cross-section, m: width, kerbOffset, verges, footways, central reserve… width/kerbOffset are read from the deck if omitted."New value: +"Carriageway cross-section, m: width, kerbOffset, verges, footways, central reserve… width/kerbOffset are read from the deck if omitted, but the read measures between the outermost girder lines it sees (overhangs not counted unless built as edge lines): where the deck overhangs the outer girders pass width (full carriageway) and kerbOffset (reference girder to kerb; negative when the kerb lies outside the reference girder) yourself."
    • changedInput schema / properties / writeOptions / description
      Previous value: -"Lane write options: loadDist LANE|CROSS, groupName (cross-beam group), moving BOTH|FORWARD|BACKWARD, skewStart, skewEnd (°; read from the deck when omitted)."New value: +"Lane write options: loadDist LANE|CROSS, groupName (cross-beam group), moving BOTH|FORWARD|BACKWARD, skewStart, skewEnd (°; read from the deck when omitted, but pass them on a skew deck: the read has returned 0 for the end skew). With CROSS every wheel line (lane centre ± wheelSpace/2) must lie on a member of groupName, or CIVIL NX refuses the analysis (\"does not intersect a Cross Beam\")."
  4. Changed2 schema fields changed
    • changedInput schema / properties / lanes / description
      Previous value: -"Lane options: prefix (default EC), packing, wheelSpace, optimiseNotional, lm2Manual / lm2Centre, sv / svCentre / svWidth (LM3 route), tracks { tracks, firstTrack, spacing, gauge }, userLanes."New value: +"Lane options: prefix (default EC), wheelSpace, optimiseNotional / allowWidth, lm2Manual / lm2Centre, sv / svCentre / svWidth (LM3 route), tracks { tracks, firstTrack, spacing, gauge }, userLanes. Where the notional lanes and the remaining area sit: placements, a list of { packing: LEFT (lanes against the low-offset kerb, the default) | RIGHT (high-offset kerb) | BETWEEN with remBetween k (remaining area between lanes k and k+1) | OFFSET with blockOffset m (lane block that far from the low-offset kerb, remaining area split into REM and REM 2) }, and sweep { on, from, to, step } (the lane block stepped across the remaining area, at most 40 offsets). One placement keeps the plain names (EC L1, EC REM); several, ticked or swept, are each their own lane set (EC A1 L1, EC A2 L1 …) with their own cases (names ending A1, A2 …), never combined in one case. packing alone (LEFT|RIGHT) is still read as one placement."
    • addedInput schema / properties / lanes / properties
      Added value: +{
      +  "placements": {
      +    "items": {
      +      "properties": {
      +        "blockOffset": {
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        "packing": {
      +          "enum": [
      +            "LEFT",
      +            "RIGHT",
      +            "BETWEEN",
      +            "OFFSET"
      +          ],
      +          "type": "string"
      +        },
      +        "remBetween": {
      +          "minimum": 1,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "packing"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "sweep": {
      +    "properties": {
      +      "from": {
      +        "type": "number"
      +      },
      +      "on": {
      +        "type": "boolean"
      +      },
      +      "step": {
      +        "minimum": 0.01,
      +        "type": "number"
      +      },
      +      "to": {
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
  5. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, idempotent write, and the description usefully adds that it records the run for ec_moving_loads_undo and 'never overwrites lanes, vehicles or cases it did not write'. However, it undercuts that safety story with an internally conflicting closing note: 'Without apply it only previews' versus 'ON THIS SERVER: called without apply it previews and applies in one call'. An agent cannot tell from the prose whether omitting apply writes to the model, which is exactly the fact it most needs.

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 routing sentence is well front-loaded, but the core is a single enormous run-on sentence enumerating load groups, fatigue and rail models, alpha presets and Permit Trucks, which is hard to scan. The final server-specific sentence adds confusion rather than precision, so length is not fully earning its place.

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 20-parameter write tool with no output schema, the definition covers what is needed to call it responsibly: scope, preview payload contents (lanes, vehicles, cases, stages, blockers, planHash), undo recording and non-clobbering behaviour. The one real hole is the unresolved preview-vs-apply semantics on this server.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 90% and the nested objects (lanes, loading, section, writeOptions, deckFilter) are documented in far more depth inside the schema than in the description. The description only adds a thin layer: that the deck is read the plugin's way unless reference/surface/section.width are supplied, and that an exported settings file is accepted. Useful framing, but the per-parameter meaning is carried 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?

Opens with a specific verb-scoped statement: 'Use for EN 1991-2 traffic loading (lanes, vehicles, moving-load cases)', which pins the standard and the three artefacts created. It then names the siblings it is not (cs454_moving_loads for UK CS 454, point_to_patch_apply for spreading point loads), so an agent can separate it from the alternatives without inspecting schemas.

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?

Explicit routing is given for both competing tools and for the CS 454 case, plus a stated prerequisite ('Before writing lanes on a grillage read midas_workflow { name: "bridge-grillage-workflow", ... }'). It also distinguishes the two invocation modes (preview vs apply) and mentions the plugin settings-file route and the LANES/LOADS scope variants in the schema.

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