Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_execute_pml_batch

Destructive

Run a batch of PML commands through the E3D UI thread with per-command reporting and optional stop-on-error control.

Instructions

Execute a sequence of PML commands through the E3D UI thread. Each command is reported separately and the batch stops on the first error by default.

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": {
      "commands": "<commands>"
    },
    "name": "e3d_execute_pml_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
commandsYes
capture_afterNoAfter a confirmed successful operation, return a native E3D image receipt.
capture_widthNo
stop_on_errorNo
capture_heightNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and non-idempotent, so the safety bar is lower. The description usefully adds that commands are reported individually and that the batch halts on first error, but it never states whether already-applied commands persist after a halt, and it omits the critical fact that dry_run defaults to true, which materially changes what calling it does.

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?

Two short sentences, front-loaded with the action and channel, with no filler. It is tight but arguably too sparse for a destructive multi-parameter batch tool, though that gap is scored under completeness rather than conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, open-world batch executor with six parameters, 17% schema coverage and no output schema, the description leaves major questions open: what a 'reported separately' result looks like, what dry_run does and that it is on by default, and whether prior commands are rolled back on failure. This is too thin for the tool's complexity.

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

Parameters2/5

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

Schema description coverage is only 17% of six parameters, so the description must compensate and does not. It explains stop_on_error by implication but says nothing about dry_run (default true), capture_after, capture_width or capture_height, leaving most inputs meaningful only through their names.

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 resource ('Execute a sequence of PML commands') and pins the execution channel ('through the E3D UI thread'), which separates it from a single-command executor. It does not explicitly name how it differs from e3d_execute_pml or e3d_execute_pml_script, so an agent must infer the batching distinction.

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?

The phrase 'stops on the first error by default' implies a fail-fast mode and gestures at the stop_on_error parameter, giving some usage context. There is no explicit guidance on when to prefer this batch tool over the single-command siblings, and no mention of prerequisites or sequencing constraints.

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