Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Read the model for Eurocode moving loads

ec_moving_loads_read
Read-only

Use before ec_moving_loads. For CS 454 traffic use cs454_moving_loads_read. Read-only: changes nothing in the model. Call it before ec_moving_loads to see what the Eurocode - Moving Load Wizard would do. Returns: existing (the lanes, vehicles, cases and groups already in the model, each marked if an earlier ec_moving_loads run created it); laneKindSuggestion (LINE for beams, SURFACE for plates); deckRead (reference girder or plate edge, width, kerb offset, cross-beam group, skew — narrowed by deckFilter, reversed by trafficOtherWay); the lanes, lane roles and cases the given settings would produce; config (the plugin's own settings file — pass it back as configFile); options (valid load groups, vehicles, Irish NA road vehicles and Irish Rail trains). Takes the same inputs as ec_moving_loads; the write permissions (codeChange, unitSwitch) only change which blockers are listed.

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_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
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)…
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).
codeChangeNoA permission for the write tool. Here it only changes which blockers are listed — this tool never writes. Accepted so the same inputs serve both tools.
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 shows the lanes the settings would lay out; EXISTING shows the lanes already in the model.NEW
unitSwitchNoA permission for the write tool. Here it only changes which blockers are listed — this tool never writes. Accepted so the same inputs serve both tools.
writeOptionsNoLane write options the write tool would use (loadDist, groupName, moving, skewStart/skewEnd); here they only shape the lanes shown.
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. 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"
      +}
  2. Changed1 schema field 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."
  3. 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"
      +  }
      +}
  4. Changed4 schema fields changed
    • changedInput schema / properties / codeChange / description
      Previous value: -"Allow setting the moving load code to EUROCODE. Changing it from another code DELETES every lane in the model — only with the user's agreement."New value: +"A permission for the write tool. Here it only changes which blockers are listed — this tool never writes. Accepted so the same inputs serve both tools."
    • changedInput schema / properties / laneSource / description
      Previous value: -"NEW lays out and writes lanes; EXISTING loads the lanes already in the model."New value: +"NEW shows the lanes the settings would lay out; EXISTING shows the lanes already in the model."
    • changedInput schema / properties / unitSwitch / description
      Previous value: -"Allow switching CIVIL NX to kN, m for the write and back afterwards (needed for non-SI models)."New value: +"A permission for the write tool. Here it only changes which blockers are listed — this tool never writes. Accepted so the same inputs serve both tools."
    • 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 the write tool would use (loadDist, groupName, moving, skewStart/skewEnd); here they only shape the lanes shown."
  5. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses the full return structure (existing, laneKindSuggestion, deckRead, config, options) and explains that codeChange and unitSwitch only affect which blockers are listed. It also states that the tool never writes, reinforcing the annotation with concrete behavioral detail.

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 description is front-loaded with usage and read-only status, and every sentence carries useful information for a complex tool. It is a dense single paragraph with some redundancy ("Use before ec_moving_loads" repeated as "Call it before ec_moving_loads"), and could be easier to scan with bullets, but it is appropriately sized for 16 nested parameters.

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 complex read tool with 16 nested parameters, no output schema, and rich annotations, the description covers usage, alternatives, return values, and parameter quirks thoroughly. An agent has everything needed to call it correctly and interpret its response.

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 adds real meaning for the odd permission parameters (codeChange, unitSwitch), configFile pass-back, laneKind default behavior, readDeck, laneSource, deckFilter, trafficOtherWay, and writeOptions, though it does not attempt to explain every nested lane or loading parameter.

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 states a specific verb and resource (read the Eurocode moving loads model) and distinguishes it from the write sibling ec_moving_loads and the CS 454 alternative. An agent can immediately tell what this tool does and what it is not.

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?

It explicitly says to use this before ec_moving_loads and to use cs454_moving_loads_read for CS 454 traffic. The condition for selecting each sibling is clear, so the agent does not need to infer alternatives.

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