Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_update_primitive

Destructive

Resize or move one referenced primitive (cylinder, box, cone, dish) in a guarded SDK operation. Inspect geometry and preview first, then execute with the returned revision to commit changes safely.

Instructions

Resize and/or move one explicitly referenced native CYLI, NCYL, BOX, NBOX, CONE, NCON or positive DISH in one guarded SDK operation. Read e3d_primitive_geometry, preview this update, pass its revision as expected_revision for execution, then verify native volume/readback and an image receipt. Omitted dimensions and transforms keep their current values. Preserves the primitive and existing child references; supported negative children move with a positive parent while their local cut placements remain unchanged. DISH editing supports a standard positive DISH without children, DIAM > 0, HEIG > 0 and RADI >= 0; these are MCP admission limits, not proof of all native geometric constraints. Its position is the base circle centre, not the bounding-box centre. NDIS is outside guarded editing. Native inspection decides shape-specific dimensions, zero-value validity and child eligibility. This is not an atomic database transaction: inspect actual rollback and residual state after failure, and never automatically replay a write. Does not rename, add to the Drawlist, or fit the camera.

Input Schema

NameRequiredDescriptionDefault
wrtNoOWNER, WORLD, /NAME or =database/element.OWNER
refnoYesExplicit primitive /NAME or =database/element reference.
dry_runNo
positionNoPosition in millimetres in the wrt frame.
dimensionsNoOne to three finite, nonnegative millimetre values keyed by DIAM, HEIG, XLEN, YLEN, ZLEN, DTOP, DBOT or RADI. DISH uses DIAM/HEIG/RADI; stored RADI is not DIAM/2 or a verified physical knuckle radius. Inspect the native shape and volume. Names normalize to uppercase; duplicates are rejected. Native shape validation decides applicable keys and whether zero is permitted.
orientationNoLocal X and Y axes as unit, orthogonal vectors in the wrt frame; Z is their cross product.
capture_afterNoAfter a confirmed successful operation, return a native E3D image receipt.
capture_widthNo
capture_heightNo
expected_revisionNoRevision from native inspection/preview. Required for execution; may be omitted for preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag this as a destructive, non-idempotent mutation, and the description adds substantial context beyond them: omitted dimensions and transforms retain current values, the primitive and existing child references are preserved, negative children move with a positive parent while their local cut placements stay fixed, and the call is not atomic so residual state must be inspected after failure with no automatic replay. The DISH admission limits are also explicitly qualified as MCP policy rather than proof of native geometric validity.

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?

Front-loaded with the operation, then workflow, then shape-specific caveats and non-goals — a sensible ordering. The text is dense and runs long for a single tool, with a few closely related sentences about native inspection and admission limits that could be tightened, but almost every sentence carries actionable 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 10-parameter, nested-schema, non-idempotent destructive tool with no output schema, the description covers the full lifecycle an agent needs: inspect, preview, execute with a revision guard, and verify via native readback and optional image receipt. Failure semantics and rollback expectations are stated, which is the main gap such mutation tools usually leave open.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

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

Goes well beyond the schema (70% coverage) by defining the critical semantics of optionality (omitted dimensions/transforms keep current values), the meaning of position as the base circle centre rather than the bounding-box centre, and shape-specific key applicability for DISH including the caveat that stored RADI is not DIAM/2 or a verified physical knuckle radius. It also explains expected_revision's preview-vs-execution role, which the schema only partially conveys.

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?

Opens with a specific verb pair (resize/move) and a precisely scoped resource: one explicitly referenced native CYLI, NCYL, BOX, NBOX, CONE, NCON or positive DISH. It also draws the boundary against adjacent capabilities (does not rename, add to the Drawlist, or fit the camera), so an agent can separate this from e3d_set_primitive_visual or view/capture siblings 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 Guidelines4/5

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

Gives an explicit operating sequence: read e3d_primitive_geometry, preview the update, pass the preview revision as expected_revision, then verify volume/readback plus an image receipt. It also states exclusions (NDIS is outside guarded editing, no rename/drawlist/camera actions), but it never names which sibling to use for those out-of-scope changes, leaving that routing 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