Skip to main content
Glama
AVEVA E3D MCP Server

AVEVA E3D MCP Server

e3d_spatial_map_status

Read-onlyIdempotent

Inspect spatial map check status and metadata for a specified Design database and extract in the current E3D21 MDB, including suspension, attempt/completion flags, and errors.

Instructions

Resolve one explicit Design database in the current E3D21 MDB. Native CheckSpatialMap is temporarily suspended following a verified E3D21 stack-overflow crash on 2026-11-16. An otherwise valid request returns native_spatial_map_check_suspended, check_attempted=false, check_completed=false and status=null; metadata may still be available. Do not substitute PML MAP CHECK or MAP BUILD to bypass this suspension. First use e3d_database_state to obtain database_number (its number), extract_number and context_id; pass context_id as expected_context to bind the session/project/MDB. Inspect check attempted/completed, status, its raw integer value, complete and errors; failed or unavailable fields remain null. NOWARNINGS is not equivalent to UPTODATE, does not necessarily mean damage, and no status proves geometry correctness or complete clash coverage. The SDK resolves CheckSpatialMap by database number only: extract databases and ambiguity from multiple extracts of the same number are rejected before Check. A primary database with extract_number=1 can be resolved; use native IsExtract rather than assuming every nonzero extract_number is an extract database. This read-only tool preserves native status and query messages, does not BuildSpatialMap, write model geometry, execute PML or capture images, and requires no command permission. The native query can emit diagnostics or affect internal diagnostic caches; read-only does not certify diagnostic-state invariance. Only E3D21 implements this tool; mock and other versions return explicit unavailability.

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": {
      "database_number": "<database_number>",
      "extract_number": "<extract_number>"
    },
    "name": "e3d_spatial_map_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
extract_numberYesExact extract_number from the same database-state row; nonzero does not imply IsExtract=true.
database_numberYesnumber from e3d_database_state for a Design DB in the current MDB.
expected_contextNoOptional context_id from e3d_database_state; empty omits this context guard.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds substantial context beyond them: the documented reason for suspension, the exact failure payload (native_spatial_map_check_suspended with check_attempted=false, check_completed=false, status=null), the fact that no command permission is required, the SDK's rejection of extract databases and ambiguous multi-extract numbers, and the caveat that read-only does not certify diagnostic-state invariance. This is unusually rich disclosure for a read-only tool.

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?

Front-loading is good, but the block is dense and packs several distinct concerns (suspension reason, return shape, workflow, SDK resolution rules, semantic caveats about NOWARNINGS/UPTODATE, version availability) into undifferentiated prose. The NOWARNINGS/UPTODATE and geometry-correctness caveats are valuable but could be tightened, and the null-field semantics are restated in more than one place.

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?

There is no output schema, so the description must carry return semantics, and it does: status, its raw integer value, check attempted/completed, complete and errors, with failed or unavailable fields remaining null. Combined with the prerequisite pointer to e3d_database_state and the explicit E3D21-only availability, an agent has enough to call this correctly; only the precise shape of the errors field is left implicit.

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 100%, so the baseline is 3, and the description earns an increment by explaining that context_id is passed as expected_context to bind the session and that the SDK resolves CheckSpatialMap by database number only, so extract databases and ambiguous duplicate numbers are rejected before the check. It does not restate the min/max or the 64-hex pattern, but the schema already covers those.

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?

Opens with a specific verb and resource: resolve one explicit Design database in the current E3D21 MDB, then clarifies this is a native CheckSpatialMap status query currently suspended. The purpose is unambiguous, though the framing sentence ('Resolve one explicit Design database') is slightly broader than what the tool actually returns (a status record), and the true purpose emerges only in the following sentences.

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?

Gives an explicit prerequisite workflow: call e3d_database_state first to obtain database_number, extract_number and context_id, then pass context_id as expected_context to bind session/project/MDB. It also states a clear prohibition (do not substitute PML MAP CHECK or MAP BUILD) and scopes availability to E3D21 only, so the agent knows both the sequencing and the escape hatches it must not take.

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