Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_diagnose_element

Read-onlyIdempotent

Collect bounded diagnostic evidence for one explicit E3D21 element, including snapshot, attributes, geometry, display ownership, and optional image/clipping checks; stops on read failures.

Instructions

Collect bounded diagnostic evidence for one explicit E3D21 element: snapshot (depth 2, limit 100), selected attribute schema, native bounds, type-appropriate panel or primitive geometry, display ownership and sampled view/selection context. Checks readiness and session/project identity before each stage; stops on read failures and retains earlier evidence. Never substitutes an owner for the requested reference/type. Unsupported checks, truncated data and unverified coordinate frames remain unknown; workflow success is not an engineering or pixel-visibility verdict. Optional include_clipping samples native clipping before and after the diagnostic, retains both observations, and includes their three-valued comparison in observed_window_unchanged. Equal samples do not prove the target is visible, clipped or unaffected by individually defined planes; clipping coordinates and units remain SDK-native and unverified. Defaults false with no clipping reads. Optional include_image returns one native MCP PNG of the current view, which may not contain the target. Capture uses the existing graphics refresh and may process pending changes. evidence_detail defaults to full. Optional compact omits redundant successful gate/capture samples only after consistent observations, reports omissions, and keeps geometry/display evidence. Failure, drift or unverified observations retain full evidence; no native reads or image bytes are removed. Optional retain_receipt=true stores the original full evidence and any PNG before compaction. Inspect result.diagnostic_receipt: retention can fail independently of diagnosis; failed retention returns full evidence even if compact was requested. Storage is local to this MCP process, expires after 30 minutes, and has FIFO limits of 16 entries and 64 MiB of serialized metadata plus base64 image bytes. Observed view or selection changes are reported without restoration. Does not edit models, add display members, set the camera, change selection, execute PML, cancel, restart or retry. These are sequential live reads, not an atomic snapshot or a native execution-time bound. Available with a connected E3D21 bridge; mock mode reports unavailable. The same-named MCP prompt only renders guidance.

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_diagnose_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
refnoYesRequired explicit /NAME or =database/element reference; no implicit current element.
capture_widthNo
include_imageNo
capture_heightNo
retain_receiptNoRetain full historical evidence and any image in this MCP process for later lookup; no disk persistence.
evidence_detailNoResponse detail only. Compact retains full evidence on failed, changed or unverified observations.full
include_clippingNoRead native clipping at baseline/final stages. Retains partial evidence and reports unchanged true/false/unknown without determining whether the target is clipped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond what the annotations declare: it discloses per-stage readiness/identity gating, stop-on-read-failure with retained prior evidence, uncertainty semantics (three-valued observed_window_unchanged, unverified frames), the fact that capture reuses graphics refresh and may process pending changes, no restoration of observed view/selection, receipt storage locality, 30-minute expiry, and FIFO limits of 16 entries / 64 MiB. It also corrects likely misreadings ('workflow success is not an engineering or pixel-visibility verdict', 'Equal samples do not prove the target is visible').

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 purpose is front-loaded, but the body is a single dense paragraph with repetitive callbacks (clipping defaults and limitations, compaction retention rules, receipts) that would read far better as structured chunks. Nearly every sentence carries real information, yet the same facts about retained full evidence are restated three times.

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 high-complexity, 7-parameter, no-output-schema tool, the description covers failure behavior, side effects, uncertainty, storage lifecycle, and what the result field to inspect is (result.diagnostic_receipt). The main remaining gap is that return structure beyond the receipt is not sketched, though the evidence list in the opening sentence largely substitutes for that.

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?

With only 57% schema description coverage, the description compensates substantially: include_clipping is explained as before/after native samples feeding a three-valued comparison that cannot determine actual clipping; include_image returns one native MCP PNG that may not contain the target; compact is described in terms of exactly what is omitted and what is retained on failure, drift, or unverified observations; retain_receipt is tied to result.diagnostic_receipt and its independent failure mode. Only capture_width/capture_height are left to self-evident naming.

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?

States a specific verb and scope: 'Collect bounded diagnostic evidence for one explicit E3D21 element', then enumerates exactly what evidence is bundled (snapshot, attribute schema, bounds, geometry, display ownership, view/selection context). It is clearly distinguishable from narrower siblings, but it never names which single-purpose tools (e3d_element_snapshot, e3d_display_snapshot, e3d_element_schema) it supersedes, so the boundary is inferred rather than stated.

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

Usage Guidelines3/5

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

Gives a strong negative contract ('Does not edit models, add display members, set the camera, change selection, execute PML, cancel, restart or retry') and an availability gate ('Available with a connected E3D21 bridge; mock mode reports unavailable'). However, there is no explicit when-to-use vs. when-to-use-a-sibling guidance: nothing says whether to call this instead of the individual snapshot/schema tools, or whether it should be run before or after a repair attempt.

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