Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

EN 1991-2 notional lanes for a carriageway

ec_lane_layout
Read-only

Use to lay out EN 1991-2 notional lanes on a carriageway width, with no model. For CS 454 lanes use cs454_lane_layout; to write lanes and vehicles use ec_moving_loads. Lays out EN 1991-2 lanes on a carriageway cross-section with the Eurocode - Moving Load Wizard's own layout engine: Table 4.1 notional lanes and the remaining area (at one or several placements: against a kerb, the remaining area between two lanes, the lane block at an offset, or swept across), footways, the LM2 axle lane, the LM4 crowd lane, an LM3 special vehicle route and rail tracks, as the chosen loading needs, with each lane's role. Needs no model.

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

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.
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)…
sectionNoCross-section, m: width (carriageway), kerbOffset, footways, verges, central reserve.

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. 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"
      +  }
      +}
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, yet the description adds real operational detail: multiple placements become separate lane sets and separate cases that are never combined, one placement keeps plain names (EC L1, EC REM), and sweeps are capped at 40 offsets. Minor tension appears in the ieRoad text ("those lanes are written with transverse optimisation off"), which describes downstream case writing rather than this call modifying the model, so the safety profile still reads as consistent.

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 purpose and alternatives are front-loaded, which is good, but the second sentence is a 90-word run-on enumerating lane kinds, and "needs no model" / "Needs no road discipline" restate the same idea in several places. The content is dense and largely earns its place, but the packing is poor and an agent must parse a single sprawling sentence.

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 three-object layout tool with no output schema, the description covers the loading options, cross-section, lane naming, and the no-model constraint well enough to call it correctly. The one gap is that it never hints at what the call returns or how the resulting layout is surfaced, which matters given there is no output schema.

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 description coverage is 100% and the nested properties already document placements (LEFT/RIGHT/BETWEEN/OFFSET), sweep, factors, and ieRoad. The description mostly restates those as a prose block, adding the naming and case-splitting consequences of multiple placements but no new syntax or format guidance beyond 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?

The description uses a specific verb and resource ("lay out EN 1991-2 notional lanes on a carriageway width"), justifies the scope ("with no model"), and names the siblings that own adjacent jobs: cs454_lane_layout for CS 454 and ec_moving_loads for writing lanes and vehicles. An agent can select it 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes on both axes: code family (EN 1991-2 versus CS 454) and operation (layout versus write). The condition that selects it, namely computing a lane layout with no model, is stated up front, and the named alternative tells an agent exactly where to go otherwise.

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