Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Disperse point loads into patch loads

point_to_patch_apply
Destructive

Use to turn the model's point loads into dispersed patch loads. For new traffic use ec_moving_loads or cs454_moving_loads; for new point loads use civil_loads_supports. Converts the model's point loads (or a coordinate table) into dispersed patch loads with the Point to Patch Convertor's engine and writes them as PATCH_ load cases: plate decks get pressures on the plates the patch covers, grillages get UDLs on the members by the lever rule, total force conserved; or, with fill, spread through fill onto a surface the user selects (arch barrel, culvert roof, lower deck) with the depth read from the geometry and any share beyond the surface's edge left out; units converted to the model's. The writer snapshots every row it touches, writes, and reads every item back with a force-equilibrium check. Previews unless apply: true. ON THIS SERVER: called without apply it previews and applies in one call; preview: true only previews.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dispersal": "<dispersal>"
    },
    "name": "point_to_patch_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
fillNoDisperse onto a selected surface through fill (an arch barrel, a culvert roof, a lower deck — plates or a beam grillage) instead of onto the plane the loads are on. The depth between each load and the surface is read from the model at every point of the spread; whatever falls beyond the surface's edge is LEFT OUT, not redistributed. Leave out (or enabled false) for the plane method.
kindNoAUTO
railNo
applyNo
activeNoElements the patches may load: { groups: [names], useZ, zMin, zMax }.
outputNo
sourceNomode MODEL (default: nodal and beam concentrated loads; lcNames to pick cases, owners, minMagnitude) or MANUAL (manualText: one load per line 'X, Y, P[, Z]' in kN and m; manualCase names the case).
previewNoOnly preview; write nothing.
directionNoGZ
dispersalYes
rotationDegNoTraffic direction from global +X, °.
conserveForceNo
acceptBlockersNoAccept OVERRIDABLE blockers (the plugin's "Write anyway") — only with the user's agreement.
confirmPlanHashNo

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 / dispersal / properties / tc / description
      Previous value: -"Slab depth, m (apply: default the plate thickness)."New value: +"Slab depth, m (apply: default the plate thickness). With fill.enabled: the thickness of the selected surface (default: plate thickness, or a grillage beam's section depth)."
    • addedInput schema / properties / fill
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Disperse onto a selected surface through fill (an arch barrel, a culvert roof, a lower deck — plates or a beam grillage) instead of onto the plane the loads are on. The depth between each load and the surface is read from the model at every point of the spread; whatever falls beyond the surface's edge is LEFT OUT, not redistributed. Leave out (or enabled false) for the plane method.",
      +  "properties": {
      +    "alphaF": {
      +      "description": "Spread half-angle through the fill across traffic, ° (default: the preset's surfacing angle).",
      +      "type": "number"
      +    },
      +    "alphaFLong": {
      +      "description": "Along traffic, ° (default alphaF).",
      +      "type": "number"
      +    },
      +    "depth": {
      +      "description": "MANUAL: fill depth under each load, m.",
      +      "type": "number"
      +    },
      +    "depthMode": {
      +      "default": "AUTO",
      +      "description": "AUTO: fill depth = load level − surfacing ts − top of the surface. MANUAL: the depth directly under each load is `depth`; the spread still follows the surface's shape.",
      +      "enum": [
      +        "AUTO",
      +        "MANUAL"
      +      ]
      +    },
      +    "distribution": {
      +      "default": "UNIFORM",
      +      "enum": [
      +        "UNIFORM",
      +        "BOUSSINESQ"
      +      ]
      +    },
      +    "enabled": {
      +      "default": false,
      +      "type": "boolean"
      +    },
      +    "road": {
      +      "default": "LOAD_Z",
      +      "description": "AUTO: loads act at their own Z, or at roadLevel.",
      +      "enum": [
      +        "LOAD_Z",
      +        "LEVEL"
      +      ]
      +    },
      +    "roadLevel": {
      +      "description": "AUTO with road LEVEL: level the loads act at, m.",
      +      "type": "number"
      +    },
      +    "surfaceGroups": {
      +      "description": "Structure groups that make up the surface the loads land on (point_to_patch_read lists the groups).",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real value beyond that: PATCH_<case> case naming, REPLACE removing earlier cases it does not reproduce, a snapshot/write/read-back cycle with a force-equilibrium check, units converted to the model's, edge loads left out rather than redistributed, and acceptBlockers requiring the user's agreement. The one weak spot is the internal tension between 'Previews unless apply: true' and the server note that a call without apply 'previews and applies in one call', which an agent may have to reconcile with the schema default of apply=false.

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?

Purpose and alternatives are front-loaded, and the dense prose is mostly load-bearing detail rather than filler. The preview behavior is stated twice, once generally and once as a server override, which costs a little space and creates a slight reading stumble.

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 14-parameter destructive write with no output schema, the definition covers the essentials: what gets written, how existing cases are handled, verification, units, and the preview path. The notable gap is confirmPlanHash, which appears tied to the preview workflow but is never explained, leaving the agent unsure whether it must be supplied on the applying call.

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 43%, so the description must compensate, and it only partly does: it explains the fill surface behavior, the plate-pressure versus grillage-UDL lever rule, and PATCH_ output naming. Several parameters (rotationDeg, conserveForce, active, confirmPlanHash) get no treatment in the description, and confirmPlanHash in particular is left opaque despite apparently being part of the preview-then-apply flow.

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 first sentence names a specific verb and resource: turning point loads into dispersed patch loads. It also explicitly routes the agent away from siblings, naming ec_moving_loads and cs454_moving_loads for new traffic and civil_loads_supports for new point loads, so the tool is distinguishable 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 states when to use this tool versus named alternatives, and it goes further by explaining the two operating modes: the plane method by default, and the fill method when dispersal must reach a selected surface such as an arch barrel or culvert roof. It also states when not to use fill (leave it out or set enabled false for the plane method).

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