Skip to main content
Glama

FERS — structural FEM

Add an explicit plate mesh

add_plate_grid_elements
Read-only

Author plate elements EXPLICITLY (model.plate_elements) as a regular quad grid over four corner points, instead of letting the solver mesh a PlateSurface. Creates the nodes, optionally supports the perimeter, and writes one 4-node PlateElement per cell. Verified to give bit-identical results to the equivalent structured surface mesh (16x16: max|dz| 4.31048e-3 m either way).

USE THIS WHEN YOU NEED PLATE UNITY CHECKS. In engine 0.2.52 a unity check targeting plates (AllPlates / PlateSurfaces / PlateElements with a PlateStress variable) returns an EMPTY per_entity for anything meshed from a PlateSurface — status "Green", max_utilization 0, no warning — because the mesh is generated on an internal working copy while the checks run against the original document. Explicit plate elements survive in that document and are checked normally (verified 256/256 entities).

ALSO USE IT when you need stable, known plate element ids: mesh-generated ids start at max(explicit id)+1 and are never echoed back, so an element-targeted pressure on a generated id is a silent no-op.

COST: verbosity. An N x N grid emits (N+1)^2 nodes and N^2 elements inline, and the engine allocates a dense (7 x nodes)^2 block, so keep total model nodes under ~2000. Load the grid with ONE add_load kind:"surface" whose polygon covers it, rather than N^2 individual pressures. Same theory guidance as add_plate_surface: PlateTheory "Auto" resolves to Mindlin, which shear-locks (-55% at 8x8 on a span/thickness 80 slab), so prefer "kirchhoff" at span/thickness >= 20.

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": {
      "corner_points": "<corner_points>"
    },
    "name": "add_plate_grid_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoStringified FERS model JSON
theoryNoauto | kirchhoff | mindlin | engine_auto.
behaviorNoshell | membrane.
model_refNoHandle from stash_model, used INSTEAD of `model`. Avoids sending the whole document on every step; the tool returns the same handle back.
thicknessNoPlate thickness in metres.
divisions_uNoCells along the first edge.
divisions_vNoCells along the other edge.
material_idNoExisting model.materials id.
plane_stateNoplane_stress | plane_strain.
edge_supportNonone | pinned | fixed on the perimeter.
corner_pointsYesJSON array of exactly 4 [x,y,z] corners, in order around the panel.
first_element_idNoStarting id for the generated elements.
local_x_directionNo[x,y,z] local axis direction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior1/5

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

The description explicitly says it creates nodes and writes PlateElements, which is a mutation, while annotations declare readOnlyHint=true. This is an annotation contradiction, so the behavioral transparency score is capped at 1 despite otherwise detailed disclosure of engine quirks, cost, and id behavior.

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?

The description is front-loaded with purpose and usage, and most of the detail about unity-check failures, id stability, cost, and loading strategy is useful. It is somewhat long and includes benchmark-level detail that could be trimmed, but the structure keeps the main message clear.

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 13-parameter modeling tool, the description covers the important behavioral traps, performance cost, loading strategy, and theory selection guidance. It does not describe the return value or how the caller should consume the updated model, which is a notable omission 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, establishing a baseline of 3, but the description adds real semantic value for key parameters: it explains the grid dimensions as N x N, perimeter support behavior, and that PlateTheory Auto resolves to Mindlin in a way that can shear-lock. It still leaves several parameters, such as material_id, plane_state, and first_element_id, to the schema descriptions.

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 states a specific verb and resource: author explicit plate elements as a regular quad grid over four corner points. It directly distinguishes this from the sibling add_plate_surface by explaining that it bypasses solver meshing of a PlateSurface.

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-to-use guidance: use when plate unity checks are needed, and also when stable plate element ids are required. It also routes the agent away from bad alternatives, warning against N^2 individual pressures and pointing to a single add_load surface polygon.

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.