Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_execute_pml

Destructive

Validate or execute PML commands in AVEVA E3D, using dry runs to check input before real execution and optional image capture for confirmed results.

Instructions

Preview or execute a PML command. dry_run=true checks input without proving valid PML or executing it. Adapters advertising pml_nested_scope run ordinary requests in independent nested scopes; inspect execution_scope and errors. Use e3d_execute_pml_script for complete scripts with IF/DO blocks. Local ! variables are not shared across requests. Real execution requires dry_run=false and E3D_MCP_ALLOW_COMMANDS=true.

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": {
      "command": "<command>"
    },
    "name": "e3d_execute_pml"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYesPML command to validate or execute
dry_runNo
capture_afterNoAfter a confirmed successful operation, return a native E3D image receipt.
capture_widthNo
capture_heightNo
expected_session_idNoOptional session_id from e3d_status. A supporting adapter rejects the command if the E3D session has changed (api_features includes command_session_guard).

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 destructive/openWorld/non-idempotent, and the description adds substantial context beyond them: dry_run does not prove PML validity, adapters with pml_nested_scope isolate ordinary requests, local ! variables do not persist across requests, and the environment gate for real execution. That is exactly the kind of behavioral detail annotations cannot express.

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 is front-loaded in the first sentence and each following sentence carries distinct information with no filler. The style is telegraphic and dense, which costs a little readability but wastes nothing.

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 six-parameter destructive execution tool with no output schema, the definition covers the critical unknowns: safety gating, scope behavior, variable persistence, and where to look for results. Minor gaps remain around the capture parameters and expected_session_id, the latter of which the schema does document.

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 50%, and the description meaningfully explains dry_run (whose schema entry has only a default, no description) including its limitation that it does not validate PML. It also points at execution_scope/errors as the things to inspect after a call. capture_after/capture_width/capture_height are not explained, though their names and bounds make them largely self-evident.

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 pair and resource ('Preview or execute a PML command') and immediately distinguishes itself from the sibling script tool by scoping itself to single commands versus full scripts with IF/DO blocks.

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?

Explicitly routes the agent: use this for single commands, use e3d_execute_pml_script for complete scripts with IF/DO blocks. It also names the two conditions for real execution (dry_run=false and E3D_MCP_ALLOW_COMMANDS=true), so the agent knows when the tool will actually mutate state.

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