Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_primitive_csg_mesh

Read-onlyIdempotent

Computes a bounded CSG mesh from a positive primitive and its supported flat negative children, returning world-millimetre geometry while preserving inward cavity shells.

Instructions

Read a positive BOX/CYLI/CONE and its 1 to 32 flat leaf NCYL/NBOX/NCON children, then compute their owner-member parameter difference with manifold3d Mesh64 in a bounded 30-second worker. The current native bridge rejects DISH with child members. Output is WORLD millimetres, at most 10,000 vertices/20,000 triangles. Preserves inward cavity shells; fully removed material is successful and empty. Requires the optional geometry dependencies. This is parameter CSG, not native tessellation; native negative-application scope remains unverified. Two matching complete native parameter reads and session/project/MDB boundary observations are required, without an atomic database snapshot. Optional native volume comparison preserves representation-dependent discrepancies and does not verify shape or cut scope. No model, current element, Drawlist, camera or view changes.

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": {
      "refno": "<refno>"
    },
    "name": "e3d_primitive_csg_mesh"
  }
}

Input Schema

NameRequiredDescriptionDefault
refnoYesExplicit positive primitive /NAME or =database/element reference with supported negative children.
mesh_detailNofull includes indexed geometry; summary retains topology, hash, volume and source evidence without geometry arrays.full
radial_segmentsNoRadial facet count for curved parent and cutter operands.
chord_tolerance_mmNoOptional maximum analytic operand surface deviation in model millimetres. Refines each curved parent and cutter separately, using radial_segments as a minimum. Impossible tolerance or geometry budget fails without partial geometry. Does not certify native tessellation or Boolean intersection accuracy.
include_native_volumeNoRead native GVOL/NVOL ONLY between the two parameter reads; requested unavailable volume fails the operation. Native volume does not prove the parameter Boolean matches native shape.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Far beyond the annotations, it discloses a bounded 30-second worker, a hard budget of 10,000 vertices / 20,000 triangles, WORLD-millimetre output, that inward cavity shells are preserved, that fully removed material returns success with empty geometry, that two matching complete native parameter reads are required with no atomic database snapshot, and that no model/element/Drawlist/camera/view state changes. These are exactly the operational traits an agent needs before invoking an expensive computation. Nothing here conflicts with readOnlyHint/idempotentHint/destructiveHint=false.

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?

The core action is correctly front-loaded in sentence one, but the remainder is a dense run of caveats in which the native-volume sentence largely restates the include_native_volume schema description, and the 'two matching complete native parameter reads ... without an atomic database snapshot' clause is opaque without further context. Nothing is gratuitous, but the compression costs parseability.

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?

With no output schema, the description carries the return-value burden and does so adequately: units (WORLD mm), size ceiling, preservation of cavity shells, and the empty-success edge case. Remaining gaps are the shape of the returned evidence fields (indexed geometry vs. topology/hash/volume in summary mode), which the schema only partly covers.

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 schema already documents all five parameters and the baseline is 3. The description still adds real meaning: the 1-32 child-cardinality bound on refno, and the caveat for include_native_volume that the comparison preserves representation-dependent discrepancies and does not verify shape or cut scope. mesh_detail, radial_segments and chord_tolerance_mm are not elaborated beyond their schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause gives a specific verb pair and resource: read a positive BOX/CYLI/CONE plus its 1-32 NCYL/NBOX/NCON children, then compute the owner-member parameter difference with manifold3d Mesh64. It also explicitly contrasts itself with the native-tessellation path ('This is parameter CSG, not native tessellation'), which disambiguates it from siblings like e3d_primitive_mesh. It stops short of naming which sibling to use instead, and the jargon-dense phrasing slows recognition.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear applicability context (primitives with negative children, optional geometry dependencies required) and explicit exclusions ('rejects DISH with child members', 'not native tessellation', 'native negative-application scope remains unverified'). What is missing is any named alternative tool to call when this one does not apply, so routing between e3d_primitive_mesh, e3d_generated_csg and this tool is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools