Skip to main content
Glama

FERS Structural Analysis

Cut an opening in a plate

add_plate_opening
Read-only

Cut a hole (stairwell, duct, riser) in an existing PlateSurface: creates the hole's boundary nodes and appends a PlateOpening to that surface's openings. The hole ring must be coplanar with, and lie strictly inside, the outer boundary; elements whose centroid falls in the hole are dropped, so the applied load drops with the removed area (verified: a 1x1 m hole in a 4x4 m slab under 10 kPa took the total reaction from 160000 N to exactly 150000 N).

HARD CONSTRAINT: openings only work with the Delaunay mesher. The structured mesher rejects them outright ("PlateSurface N Structured meshing does not support openings."), so this tool switches the surface to mesh method "Unstructured" with a target_size and tells you it did. That makes the surface's edge-node positions unpredictable, which is why the tool REFUSES to convert a surface whose structured edge grid is carrying a support: those pre-created edge nodes would be stranded off the new mesh and the plate would silently fall back to hanging on its corners (measured 6x too flexible, with the load still balancing exactly). If you need both an opening and a supported edge, author the surface as unstructured from the start and support it by other means.

TARGET SIZE IS A WHOLE-SURFACE SETTING, so a SMALL hole is the expensive case, not the cheap one: left to default (half the shortest hole edge) a 200 mm duct in a 6 m x 6 m slab asks for ~6100 mesh nodes and the engine aborts on that with a raw wasm trap. The default is therefore clamped to what the node budget allows — which means the hole is resolved coarsely and its stress concentration is NOT converged; model the region around the opening as its own smaller surface if you need it sharp. An explicit target_size that busts the budget is refused rather than clamped.

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

Input Schema

NameRequiredDescriptionDefault
modelNoStringified FERS model JSON
model_refNoHandle from a builder or stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back.
opening_idNoOverwrite this opening id.
surface_idNoid of the plate surface to cut the hole in.
target_sizeNoMesh size around the hole, metres. Openings force the Delaunay mesher.
corner_pointsNoJSON array of [x,y,z] points bounding the hole, inside the surface and in its plane.
boundary_node_idsNoExisting node ids bounding the hole instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model_ref / description
      Previous value: -"Handle from stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back."New value: +"Handle from a builder or stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back."
  2. First observed

TDQS

A4/5.0
Behavior1/5

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

The annotations declare readOnlyHint=true, but the description states the tool creates boundary nodes, appends a PlateOpening, switches the surface's mesh method to "Unstructured", and can drop load-carrying elements. That is a mutating operation described against a read-only annotation, which is a direct contradiction. The refusal rules, wasm trap on node budget, and the measured 6x-too-flexible fallback are genuinely valuable disclosure, but the read-only claim is incompatible with them.

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?

Three dense paragraphs, front-loaded with the action and its effects before the constraints, with no filler sentences. It runs long, and the parenthetical measurement evidence is more than an agent strictly needs to select and invoke the tool, but every clause carries operational information.

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 topology-mutating tool with no output schema, the definition covers the preconditions (coplanar, strictly inside the outer boundary), the silent failure modes, the mesher restriction, and the load consequence. An agent has enough to decide whether the call is safe and what will change in the model.

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, but the description adds real semantics beyond the schema: `target_size` is a whole-surface setting whose default is clamped to the node budget and whose stress concentration is therefore not converged, and an explicit over-budget value is refused rather than clamped. It also implies `corner_points` and `boundary_node_ids` are two ways to define the same ring.

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 ("Cut a hole ... in an existing PlateSurface") and states the two concrete side effects: boundary nodes created and a PlateOpening appended to the surface's `openings`. That distinguishes it from `add_plate_surface` and `add_plate_grid_elements` without the agent 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 gives explicit when-not conditions (surfaces whose structured edge grid carries a support — refused outright) and a concrete alternative ("author the surface as unstructured from the start and support it by other means"). It also tells the agent when a small hole is the wrong case and points to modelling the region as its own smaller surface.

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.