Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Write bridge wind loads (Wind Load Calculator)

ec_wind_apply

Use to write code-derived wind load cases on the deck. For a wind load you already know, civil_loads_supports is simpler. Calculates wind on the deck (EN 1991-1-4 §8, or CS 454 Appendix D with code: CS454) and writes it with the Wind Load Calculator plugin's adapter: one load case per global direction (EC1W_ for EN, C454W_ for CS 454), then beam loads (beam deck) or a pressure + fascia nodal loads (plate deck) on the target elements — one element written and read back first, then the rest, with a direction audit. Target: elementIds, a structure group, or (neither) the deck the plugin finds itself. 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": "ec_wind_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
coNoOrography factor c_o (default 1).
vb0NoFundamental basic wind velocity v_b,0, m/s (CEN has no map).
cdirNo
codeNoDesign code: EN = EN 1991-1-4 §8 (with nationalAnnex); CS454 = CS 454 Rev 0 Appendix D (UK assessment), which ignores the EN climate inputs and uses cs454 instead. CS 454 loads are written nominal as C454W_ cases.EN
applyNo
cs454NoCS 454 Appendix D inputs (code: CS454). The deck geometry stays in bridge.
groupNo
bridgeNoDeck inputs, metres. Omitted geometry is measured from the model (ec_wind_apply) — ec_wind_bridge needs b, d, L and groundToSoffit.
cseasonNo
directionsNoGlobal load directions to write, e.g. {"Z-": false}. Default: all six (X±, Y±, Z±).
elementIdsNo
zEccentricNoEN §8.3.3(5): place the vertical force at e = ±b/4. CS 454 always loads at the centroid.
cscdOverrideNo
lineOfActionNoTransverse wind at mid-height of d_tot (aref) or at the section centroids.aref
nationalAnnexNoEN only. Built-in annex id; default CEN.
confirmPlanHashNo
terrainCategoryNo0, I, II (default), III or IV.
returnPeriodYearsNoDefault 50.
acknowledgeOutOfScopeNoOnly with the user's agreement: apply the code to a form it does not cover.
acknowledgeUnverifiedAnnexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / properties / acknowledgeOutOfScope / description
      Previous value: -"Only with the user's agreement: apply §8 to a form it does not cover."New value: +"Only with the user's agreement: apply the code to a form it does not cover."
    • addedInput schema / properties / bridge / properties / d1
      Added value: +{
      +  "description": "Parapet / barrier height above the deck (m).",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / bridge / properties / structuralForm / description
      Previous value: -"normal (default), truss, arch, cable-stayed… — forms outside §8 need acknowledgeOutOfScope."New value: +"normal (beam-and-slab / plate girder, default), box, slab, uDeck (half-through), portal (portal / box culvert / integral), truss, arch, cableStayed, suspension… — forms the chosen code does not cover need acknowledgeOutOfScope."
    • changedInput schema / properties / bridge / properties / traffic / description
      Previous value: -"Traffic on the deck for the §8.3.1(5) depth (none, road, rail…)."New value: +"Traffic on the deck (none, road, rail). EN: the §8.3.1(5) case (higher of the barrier and the 2 m vehicle / 4 m train band). CS 454: the live-load case (d_L 2.5 m highway, 3.7 m rail, 1.25 m foot)."
    • addedInput schema / properties / bridge / properties / trafficLength
      Added value: +{
      +  "description": "EN §8.3.1(5), road only: {mode: \"whole\"} (default) or {mode: \"ranges\", text: \"0-20, 45-60\"} — the loaded length(s) carrying traffic, in m along the span.",
      +  "properties": {
      +    "mode": {
      +      "enum": [
      +        "whole",
      +        "ranges"
      +      ]
      +    },
      +    "text": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / code
      Added value: +{
      +  "default": "EN",
      +  "description": "Design code: EN = EN 1991-1-4 §8 (with nationalAnnex); CS454 = CS 454 Rev 0 Appendix D (UK assessment), which ignores the EN climate inputs and uses cs454 instead. CS 454 loads are written nominal as C454W_ cases.",
      +  "enum": [
      +    "EN",
      +    "CS454"
      +  ]
      +}
    • addedInput schema / properties / cs454
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "CS 454 Appendix D inputs (code: CS454). The deck geometry stays in bridge.",
      +  "properties": {
      +    "altitude": {
      +      "description": "Site altitude Δ, m (Sa).",
      +      "type": "number"
      +    },
      +    "cd": {
      +      "description": "Override C_D (else Figure D.6).",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "directionDeg": {
      +      "description": "Wind direction from north for Sd; omit = unknown (Sd 1.0).",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "height": {
      +      "description": "Height H above ground; default soffit + half the depth.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "loadedLength": {
      +      "description": "Horizontal wind loaded length; default L.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "method": {
      +      "default": "full",
      +      "description": "full = Appendix D; simplified = cl 5.33.1 6 kN/m² (highway, slab / beam-and-slab, L ≤ 20 m, b ≥ 10 m).",
      +      "enum": [
      +        "full",
      +        "simplified"
      +      ]
      +    },
      +    "minBeams": {
      +      "description": "Deck on I sections with more than 4 beams, or box girders: C_D at least 1.3. Tick it for PSC I and steel I girder decks.",
      +      "type": "boolean"
      +    },
      +    "parapetCd": {
      +      "description": "Parapet C_D (Table D.15).",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "parapetCount": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "parapetLong": {
      +      "description": "Table D.17 parapet type for the longitudinal share (infill default).",
      +      "type": "string"
      +    },
      +    "parapetSolid": {
      +      "description": "Solid depth per parapet, m (Table D.10).",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "returnPeriod": {
      +      "default": 120,
      +      "description": "Return period T, years (Sp).",
      +      "type": "number"
      +    },
      +    "seaKm": {
      +      "description": "Distance from the sea, km (Table D.4 / D.5).",
      +      "type": "number"
      +    },
      +    "sh": {
      +      "default": 1,
      +      "description": "Topography factor S'h.",
      +      "type": "number"
      +    },
      +    "superelevationDeg": {
      +      "type": "number"
      +    },
      +    "town": {
      +      "description": "Site in town (Tg / Tc).",
      +      "type": "boolean"
      +    },
      +    "townKm": {
      +      "description": "Distance into town, km.",
      +      "type": "number"
      +    },
      +    "trussDt": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "trussMembers": {
      +      "description": "flat (default) or round truss members (Tables D.13 / D.14).",
      +      "type": "string"
      +    },
      +    "use": {
      +      "default": "highway",
      +      "enum": [
      +        "highway",
      +        "rail",
      +        "foot"
      +      ]
      +    },
      +    "vb": {
      +      "description": "Basic mean hourly wind speed Vb (Figure D.1), m/s.",
      +      "type": "number"
      +    },
      +    "windInclinationDeg": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / nationalAnnex / description
      Previous value: -"Built-in annex id; default CEN."New value: +"EN only. Built-in annex id; default CEN."
    • changedInput schema / properties / zEccentric / description
      Previous value: -"§8.3.3(5): place the vertical force at e = ±b/4."New value: +"EN §8.3.3(5): place the vertical force at e = ±b/4. CS 454 always loads at the centroid."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, closed-world, non-destructive write; the description goes well beyond that by disclosing the dry-run default, the write-then-read-back verification of one element before the rest, the direction audit, the generated case naming (EC1W_/C454W_), and the differing outputs for beam vs plate decks. It does not say the write is reversible or point at the removal sibling, which is the one behavioral fact an agent would still want.

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-loaded with purpose, then the alternative, then mechanics, then targeting, then the preview default — a sensible ordering. It is dense and em-dash-heavy, but nearly every clause carries distinct information rather than restating the title or annotations.

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, nested-schema, non-read-only tool with no output schema, the description covers the important mechanics: derivation, output shape, verification sequence, targeting, and dry-run behavior. The gap is the two-step apply flow — the preview presumably yields a value for confirmPlanHash, but the description never connects them, so an agent must infer that handshake.

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?

With 20 parameters at 60% schema coverage, the description adds real meaning for the decision-critical ones: apply toggles preview vs write, directions selects which of the six global cases are produced, code switches the whole input set to CS454, and the target parameters are explained. But many parameters (nationalAnnex, terrainCategory, lineOfAction, zEccentric, confirmPlanHash, acknowledge*) are left entirely to the schema, and confirmPlanHash in particular carries no explanation anywhere in the description.

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 ("write code-derived wind load cases on the deck") plus the derivation sources (EN 1991-1-4 §8, CS 454 App. D) and the adapter used. It also names the sibling it is not (civil_loads_supports) and distinguishes the two by input provenance, so an agent can separate them without opening either 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?

Gives an explicit when-to-use rule and an explicit alternative with the condition that selects it: "For a wind load you already know, civil_loads_supports is simpler." It also states the safe default ("Previews unless apply: true") and how the target is resolved (elementIds, a group, or the deck the plugin finds), leaving little to inference.

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