Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_pml_script_status

Read-onlyIdempotent

Check a PML script request's in-memory receipt and status without executing, cancelling, or capturing it. Requires the original request ID and session ID.

Instructions

Read a complete PML script request's in-memory receipt without executing, cancelling or capturing anything. Requires the original request_id and expected_session_id; a different session rejects the lookup. Inspect available, status (pending/completed/unknown_or_expired), receipt_available and the receipt's original envelope/http_status or size-limit summary. A completed lookup can contain a failed script receipt; inspect that original result separately. pending does not prove the SDK began executing; unknown_or_expired does not prove the script never executed, even when no receipt remains. At most 64 receipts are retained, completed receipts expire after 30 minutes, and all records disappear when the E3D session ends. Accepted IDs remain reserved for the session even after receipt expiry/eviction; request_id_reserved reports this when available. Duplicate IDs are rejected without re-execution. Up to 65536 accepted IDs are reserved; a full store rejects new execution. Never automatically replay an uncertain script.

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": {
      "request_id": "<request_id>",
      "expected_session_id": "<expected_session_id>"
    },
    "name": "e3d_pml_script_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesOriginal script request UUID in 8-4-4-4-12 hexadecimal format; any version, normalized to lowercase.
expected_session_idYesOriginal E3D session_id; never substitute a newer session after a restart.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, and the description adds substantial context beyond them: 64-receipt retention, 30-minute expiry, clearing at session end, the 65536 reserved-ID cap, duplicate rejection without re-execution, and the caveats that 'pending' does not prove execution began and 'unknown_or_expired' does not prove the script never ran. Nothing here contradicts the annotations.

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 preconditions are front-loaded in the first two sentences, and the retention/uncertainty rules that follow are each load-bearing rather than filler. The block is dense and unbroken, which makes the caveats harder to scan, but no sentence is redundant.

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 no output schema, the description carries the return-value burden itself and does so: it names the fields to inspect (available, status, receipt_available, envelope/http_status, size-limit summary), enumerates the status values, and warns that a completed lookup may hold a failed script receipt that must be inspected separately. For a read-only status tool of this complexity, nothing essential to correct invocation is missing.

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

Parameters3/5

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

Schema coverage is 100%, so both parameters are already documented and the baseline is 3. The description adds real meaning by explaining why the original session_id must be supplied (a different session rejects the lookup, never substitute a newer session after a restart), but it adds nothing about request_id beyond what the schema's UUID description already states.

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 first sentence states a precise verb and resource ('Read a complete PML script request's in-memory receipt') and immediately delimits scope with 'without executing, cancelling or capturing anything', which cleanly separates it from execution, cancellation and capture siblings. An agent can tell what this does and what it does not do without opening the schema.

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?

It gives clear usage conditions: the original request_id and expected_session_id are mandatory, a different session rejects the lookup, and 'Never automatically replay an uncertain script' is an explicit when-not instruction. It does not explicitly route to a named alternative (e.g. the execute sibling) for the case where a receipt is absent, so it stops short of full alternative-routing guidance.

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