Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Skew Grillage Geometry Generator

skew_grillage
Destructive

Use to create a new bridge deck (beam grillage or plate mesh) from spans, widths and skew. To change a deck already in the model use bridge_reshape; for geometry from a drawing use dxf_import. Generates a bridge deck (beam grillage or plate mesh) with the Skew Grillage Geometry Generator plugin's own engine: skew (0 = straight/square), unequal girders, plan curvature, multi-span, crossfall and vertical profile, arch grillages (circular, parabolic or elliptical, given rise), slab depth, automatic transverse section sizing and structure groups (GIRDERS, CROSS-BEAMS, END-BEAMS for the support-line members, SPAN-n, or DECK for plates). A deck can be placed by a base point and added into a model that already has a structure (addToExisting). Without apply it only previews (counts, metrics, groups, planHash). With apply: true it writes to CIVIL NX exactly as the plugin does: it refuses a model that already holds geometry unless addToExisting or replaceExisting is set, creates default material/sections/thickness where the ids are missing, and records the run for skew_grillage_undo.

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

Input Schema

NameRequiredDescriptionDefault
applyNoWrite to CIVIL NX. Only after the user approved the preview.
geometryNoDeck inputs, named as in the plugin. Anything omitted takes the plugin form's default. Lengths in metres, angles in degrees.
placementNoBase point move (like AutoCAD COPY): a point on the grillage and the model coordinate it goes to. The grillage is rotated in plan about the base point, then moved. Use with addToExisting to put a deck against a structure already in the model.
connectNodesNoaddToExisting: join grillage nodes that fall within 1 mm of existing nodes (false = always new nodes).
addToExistingNoPut the deck into a model that already holds geometry (the plugin's 'Add into the existing model', which it asks the user to confirm — ask the user too). Nothing is deleted: node and element ids continue past the model's highest, nodes within 1 mm of existing ones are joined, members already in the model are left out, automatic transverse sections move to free ids and taken group names get -2, -3. The preview reads the model and shows exactly that.
confirmPlanHashNoplanHash from the approved preview; the write is refused if the plan differs.
replaceExistingNoDESTRUCTIVE: delete all nodes, elements, sections, thicknesses, materials and structure groups first. Only with the user's explicit agreement.
structureGroupsNo
allowDefaultPropertiesNoCreate a default C30-like material and rectangular sections/thickness when the ids are not in the model.
autoTransverseSectionsNoOne transverse section per measured tributary width (beam decks).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / addToExisting
      Added value: +{
      +  "default": false,
      +  "description": "Put the deck into a model that already holds geometry (the plugin's 'Add into the existing model', which it asks the user to confirm — ask the user too). Nothing is deleted: node and element ids continue past the model's highest, nodes within 1 mm of existing ones are joined, members already in the model are left out, automatic transverse sections move to free ids and taken group names get -2, -3. The preview reads the model and shows exactly that.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / connectNodes
      Added value: +{
      +  "default": true,
      +  "description": "addToExisting: join grillage nodes that fall within 1 mm of existing nodes (false = always new nodes).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / geometry / properties / archEnabled
      Added value: +{
      +  "description": "Arch grillage: each girder follows an arch profile between its own bearing lines (one arch per span when multi-span). Crossfall and vertical profile are switched off while it is on.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / geometry / properties / archEqualArc
      Added value: +{
      +  "description": "true (default): cross beams at equal spacing measured ROUND the arch (count = arc length / transverseSpacing); false: equal spacing in plan.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / geometry / properties / archRise
      Added value: +{
      +  "description": "Rise f from springing to crown, m (default 4).",
      +  "type": "number"
      +}
    • addedInput schema / properties / geometry / properties / archShape
      Added value: +{
      +  "description": "Arch profile. Circular needs rise ≤ span/2.",
      +  "enum": [
      +    "circular",
      +    "parabolic",
      +    "elliptical"
      +  ]
      +}
    • addedInput schema / properties / geometry / properties / plateThickness / description
      Added value: +"Older name for slabDepth (used only when slabDepth is not given)."
    • addedInput schema / properties / geometry / properties / slabDepth
      Added value: +{
      +  "description": "Slab depth, m (default 0.25): the depth of every automatic transverse beam section and the plate thickness of a plate deck.",
      +  "type": "number"
      +}
    • addedInput schema / properties / placement
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Base point move (like AutoCAD COPY): a point on the grillage and the model coordinate it goes to. The grillage is rotated in plan about the base point, then moved. Use with addToExisting to put a deck against a structure already in the model.",
      +  "properties": {
      +    "baseNodeId": {
      +      "description": "basePoint node: the grillage node number, as numbered in this tool's preview before the move.",
      +      "type": "integer"
      +    },
      +    "basePoint": {
      +      "description": "The grillage's base point: the deck origin, the first/middle/last girder at the start or end support line, or a grillage node (baseNodeId). Default start-mid.",
      +      "enum": [
      +        "origin",
      +        "start-first",
      +        "start-mid",
      +        "start-last",
      +        "end-first",
      +        "end-mid",
      +        "end-last",
      +        "node"
      +      ]
      +    },
      +    "rotation": {
      +      "description": "Plan rotation about the base point, degrees anticlockwise (default 0).",
      +      "type": "number"
      +    },
      +    "target": {
      +      "additionalProperties": false,
      +      "description": "Model coordinate (m) the base point goes to.",
      +      "properties": {
      +        "x": {
      +          "type": "number"
      +        },
      +        "y": {
      +          "type": "number"
      +        },
      +        "z": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "targetNodeId": {
      +      "description": "Take the target coordinate from this node of the open model instead of target.",
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description goes well beyond them: it explains the preview/write split, that a write is refused on a model already holding geometry unless addToExisting or replaceExisting is set, that missing ids trigger default material/section/thickness creation, that planHash guards drift, and that replaceExisting deletes all nodes, elements, sections, thicknesses, materials and structure groups. That is precisely the 'what gets destroyed' context annotations cannot carry.

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?

It is front-loaded correctly — purpose and alternatives come first, operational detail after — but the body is one dense run-on paragraph and the purpose is stated twice ('create a new bridge deck (beam grillage or plate mesh)' then 'Generates a bridge deck (beam grillage or plate mesh) with the ... plugin's own engine'). Breaking the preview/write and addToExisting/replaceExisting behavior into separate sentences would cost nothing and read far better.

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 10-parameter tool with a deep nested geometry object, no output schema and a destructive write path, the description covers what the agent still needs: what a preview returns (counts, metrics, groups, planHash), what a write does, refusal conditions, default-property creation, and the undo record (skew_grillage_undo). Nothing material for a correct call is left to inference.

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 90%, so the baseline is 3, but the description adds unit conventions (metres, degrees), the rule that omitted fields take the plugin form's defaults, the semantics of skew 0 = straight/square, where archRise is measured from, and what structure groups get named (GIRDERS, CROSS-BEAMS, END-BEAMS, SPAN-n, DECK). The added value is real but mostly a restatement of individual schema field descriptions rather than new cross-parameter rules.

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+resource+scope: 'create a new bridge deck (beam grillage or plate mesh) from spans, widths and skew'. It then names the two sibling tools it is NOT (bridge_reshape for editing an existing deck, dxf_import for drawing-derived geometry), so an agent can route correctly 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 explicit alternatives with the condition that selects each ('To change a deck already in the model use bridge_reshape; for geometry from a drawing use dxf_import'). It also states the operative workflow rule (preview first, write only with apply after user approval) and when to use addToExisting versus replaceExisting.

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