Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_set_camera

Preview or apply five native E3D camera fields—centre, direction, radius, perspective and twist—through a revision-tied request to restore a previously observed view pose safely.

Instructions

Preview or set five explicit native E3D camera fields: centre, looking direction, radius, perspective and extra twist. Use values from e3d_view_state to return to a previously observed pose, with native floating-point readback tolerance. All five fields are required; coordinates use the SDK native frame and direction is normalized by the adapter. This does not restore other optics, clipping, viewport size or shading settings. Preview defaults to true; execute the same request with the preview revision as expected_revision and command permission. The revision binds the requested values, current camera and viewport, bridge instance, project/MDB, view, Drawlist, full display maps, CE and ordered graphical selection. State changes require a fresh preview. A camera already matching within readback tolerance skips camera setters and MapView. A real write maps once, then verifies camera readback, shading, display, selection and CE; failures preserve observed residuals without automatic retry or rollback. Never replay an uncertain write. Does not add graphics, fit geometry, select CE or save Drawlist state. capture_after returns a native picture and requested/readback camera agreement at bitmap time.

Input Schema

NameRequiredDescriptionDefault
centreYesThree finite SDK native coordinates, within the readable single-precision range.
radiusYesFinite positive native camera radius.
dry_runNo
directionYesFinite nonzero native looking vector; the adapter normalizes its length.
perspectiveYes
capture_afterNoAfter a confirmed successful operation, return a native E3D image receipt.
capture_widthNo
capture_heightNo
expected_revisionNoFresh revision from the same five-field preview; required for execution.
extra_twist_degreesYesFinite native additional camera twist in degrees.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare it is a non-destructive, non-idempotent, non-open-world write; the description adds far more: dry_run defaults to true, the revision binds camera, viewport, bridge instance, project/MDB, view, Drawlist and selection, a matching camera skips setters, a real write verifies readback/display/selection and failures preserve residuals with no retry or rollback. It also warns never to replay an uncertain write. Minor deduction because abbreviated internals ('CE', 'MapView', 'full display maps') are never defined.

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?

Purpose and the preview/execute contract are front-loaded, and nearly every clause carries decision-relevant information (exclusions, tolerance, verification, no-rollback). It is dense to the point of overpacking—sentences run long and terms like 'CE' and 'MDB' are unexpanded—but there is little outright filler.

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 10-parameter, no-output-schema mutation tool, the definition covers the workflow, the failure model, the excluded settings and the capture return semantics, which is most of what an agent needs. Gaps remain around capture_width/height behavior and the opaque abbreviation set, so not fully complete.

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 60%, and the description compensates well for the important ones: it states all five camera fields are required, that centre uses the SDK native frame, that direction is normalized by the adapter, and that expected_revision must come from a same-five-field preview. It also explains capture_after ('returns a native picture and requested/readback camera agreement'). capture_width/capture_height get no explanation in either place, keeping this below a 5.

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?

States a specific verb+resource ('Preview or set ... camera fields') and enumerates the five fields it controls. It explicitly routes the read side to e3d_view_state ('Use values from e3d_view_state to return to a previously observed pose'), so an agent can distinguish it from the state-reading sibling without opening schemas.

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?

Gives explicit when-to-use (restoring a previously observed pose from e3d_view_state values) and, more valuably, explicit when-not-to-use: it does not restore optics, clipping, viewport size or shading, and does not add graphics, fit geometry, select CE or save Drawlist state. The two-phase workflow (preview first, then replays with expected_revision) is spelled out.

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