Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_compare_element_meshes

Read-onlyIdempotent

Compares parameter-derived meshes of two referenced E3D elements, reporting surface-area deltas and, when valid, volume or vertex displacement in WORLD or local coordinates.

Instructions

Read two explicitly referenced elements once each and compare their parameter-derived meshes. WORLD (default) allows spatial bounds and matching-index vertex displacement comparisons; local mode compares per-element local coordinates and does not claim a common position frame. Reports measured surface-area deltas; volume is included only when each mesh validates as one outward closed component. Indexed vertex displacement is reported only for WORLD coordinates when vertex counts and triangle index lists match exactly. Meshes are approximations, not E3D tessellation or Boolean results. The two reads are separate observations without a database lock or common snapshot. Failed, incomplete or identity-mismatched reads produce per-target errors and no comparison conclusion. Read-only: 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": {
      "first_refno": "<first_refno>",
      "first_expected_type": "<first_expected_type>",
      "second_refno": "<second_refno>",
      "second_expected_type": "<second_expected_type>"
    },
    "name": "e3d_compare_element_meshes"
  }
}

Input Schema

NameRequiredDescriptionDefault
first_refnoYesExplicit /NAME or =database/element reference for the first element.
second_refnoYesExplicit /NAME or =database/element reference for the second element.
radial_segmentsNoCurve resolution for CYLI, CONE or DISH targets; ignored for PANE and BOX.
coordinate_spaceNoWORLD provides a common spatial frame in millimetres; local compares each element about its own origin and axes.WORLD
first_expected_typeYesRequired SDK base type for the first element.
second_expected_typeYesRequired SDK base type for the second element.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations' readOnly/idempotent/non-destructive profile, it discloses that the two reads are separate observations with no database lock or common snapshot, that failed or identity-mismatched reads yield per-target errors and no conclusion, and that volume and vertex-displacement results are conditional. It explicitly notes that no model, current element, Drawlist, camera or view state is changed, which is the kind of side-effect detail annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core action, then layers mode semantics, conditional outputs, and read-only guarantees in a tight, logical order. It contains no filler, and each sentence carries a distinct constraint or guarantee that an agent needs before calling.

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 six-parameter comparison tool with no output schema, the description supplies what the result contains (surface-area deltas, conditional volume, conditional vertex displacement) and how failures surface as per-target errors. Nothing essential for correct invocation or result interpretation is missing.

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 meaning: WORLD is a shared millimetre frame enabling spatial bounds and matching-index vertex displacement, while local compares each element about its own origin and axes with no common position claim. It also explains that radial_segments is a curve resolution for curved targets, supplementing the schema's field-level 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 description gives a specific verb and resource: reads two explicitly referenced elements once each and compares their parameter-derived meshes. It also clearly frames the tool as a comparison of approximations rather than true tessellation or Boolean results, which sets it apart from mesh-generation siblings. It stops short of naming an alternative tool for single-element reads, so it is clear but not fully sibling-differentiated.

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 explains when WORLD versus local mode applies, when volume is reportable, and when indexed vertex displacement is meaningful, which effectively guides mode selection. It does not state when an agent should prefer this tool over sibling tools such as a single-element mesh read or the comparison-receipt and diagnostic tools, leaving the alternative-selection decision mostly implicit.

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