Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_section_element_drawing

Read-onlyIdempotent

Generates a section drawing by intersecting a referenced AVEVA E3D element with an arbitrary plane, returning closed contours, a PNG preview, and optional hatch, SVG, DXF, or printable sheet.

Instructions

Read one explicitly referenced PANE or supported positive BOX/CYLI/CONE/DISH once, and intersect its closed parameter-derived triangle mesh with an arbitrary plane. Returns indexed section vertices, source-triangle segments, closed contours, a SECTION PNG preview and optional SVG/DXF or printable sheet. Optional hatch generates bounded parallel linework using nonzero winding of verified simple non-touching section contours; spacing is in section model millimetres. Plane origin/normal/up use the selected local or WORLD frame; section coordinates are millimetres relative to that origin along the returned orthonormal right/up axes. A miss returns a successful empty section without an image. Coplanar patches, tangency/topology ambiguity, incomplete geometry or requested hatch failure produce no partial drawing. Contour fill does not establish native hole roles or E3D Boolean material; no clipping of the retained solid, native tessellation, CSG cuts, or manufacturing certification. Does not modify the model, current element, Drawlist, camera or view.

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>",
      "expected_type": "<expected_type>",
      "plane": "<plane>"
    },
    "name": "e3d_section_element_drawing"
  }
}

Input Schema

NameRequiredDescriptionDefault
hatchNoOpt into verified bounded section hatching. Invalid contour geometry or exceeded work/output limits fails without a partial drawing; section/source evidence is retained.
planeYes
refnoYesExplicit /NAME or =database/element reference.
sheetNoOpt into a bordered printable sheet and title block, shared by PNG/SVG/DXF. Sheet coordinates and DXF geometry become paper millimetres at scale 1:N; structured model bounds and dimension values remain true model millimetres. Omit to retain ordinary 1:1 DXF linework.
dimensionsNoOptional vertex-referenced section axis dimensions on a printable sheet; requires sheet. Values remain model millimetres in all formats. Preflight validates structure; actual indices and revision are verified after the read. Unsupported, stale or unrepresentable dimensions fail without a partial drawing.
include_dxfNoInclude ASCII DXF R2000 source, with layered millimetre linework and overall projected dimensions. Hidden edges use dashed per-view layers when show_hidden_lines=true.
include_svgNoInclude SVG source in structured data; the PNG preview is always returned on success.
expected_typeYes
preview_widthNoPNG width in pixels. Width × height is capped at 2,000,000 pixels.
preview_heightNoPNG height in pixels. Width × height is capped at 2,000,000 pixels.
radial_segmentsNoCurve resolution for CYLI, CONE and DISH only.
coordinate_spaceNoThe plane and source mesh use this same coordinate frame.WORLD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses failure semantics that matter operationally: a miss returns a successful empty section without an image, and coplanar patches, tangency/topology ambiguity, incomplete geometry or hatch failure produce no partial drawing. It also states the model, current element, Drawlist, camera and view are not modified, and clarifies that contour fill does not establish native hole roles or Boolean material.

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?

Content is mostly load-bearing given the tool's complexity, and the purpose is front-loaded in the first clause. However, it is delivered as a single dense run-on paragraph mixing capability, coordinate semantics, failure modes and non-guarantees, with no structural separation, making it harder to scan than the information warrants.

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?

With 12 parameters, nested plane/hatch/sheet/dimensions objects and no output schema, the description compensates appropriately by naming the returned artifacts (indexed vertices, segments, contours, PNG, optional SVG/DXF, printable sheet) and by specifying coordinate frame and unit conventions. Nothing an agent needs to invoke it correctly or interpret a miss appears to be 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 already 83%, so the schema carries most parameter detail, but the description adds real meaning: plane origin/normal/up use the selected local or WORLD frame, section coordinates are millimetres relative to that origin along returned orthonormal right/up axes, and hatch spacing is in section model millimetres. Hatch fill-rule semantics (nonzero winding of verified simple non-touching contours) are explained in behavioral terms rather than just repeated.

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?

The description opens with a precise verb+resource+scope: read one explicitly referenced PANE or supported positive BOX/CYLI/CONE/DISH and intersect its closed parameter-derived mesh with an arbitrary plane. It enumerates the exact outputs (section vertices, source-triangle segments, contours, PNG, optional SVG/DXF/sheet), which distinguishes it from assembly-scale siblings like e3d_section_assembly_drawing.

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?

Scope is clearly bounded to a single explicitly referenced element read once, with explicit when-not conditions (no clipping of retained solid, no CSG cuts, no native tessellation, no manufacturing certification). It never names a sibling alternative such as the assembly section tool, so the alternative-routing guidance is implied rather than stated.

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