Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Diagnose an analysis error or warning

analysis_diagnose
Read-only

Use when the analysis stops or warns ("DOF may be singular", "error norm is infinite / NaN", convergence not reached, run-time errors): pass the message text. It names the nodes and stages with free DOFs, the cause and the fix. For a general review of the model use model_health_check. Finds why a CIVIL NX analysis stopped or warned ("DOF may be singular", "error norm is infinite / NaN", "displacement abnormal", "has not satisfied convergence tolerance", "beam section temperature cannot be applied", run-time errors) or gives results that look like a mechanism. Pass the message lines in message (the API does not return them). The tool recognises the message and says what it means, then reads the open model and finds, node by node, the degrees of freedom nothing stiffens — only trusses / solids / plane-stress elements at a node (no rotation), only plates (no drilling rotation), every beam end released, a node hanging on an elastic link with no stiffness, a node with no element — and the parts that can move as a rigid body (a mechanism: a deck sliding on its bearings, a member spinning about its axis, a part hanging off a truss), each with what holds it and the fix (including the Main Control Data switches 'Auto Rotational DOF Constraint' and 'Auto Normal Rotation Constraint for plates'). The same scan runs at the end of every construction stage, so a stage that floats is named. It also runs the health checks that bear on the message (support adequacy, disconnected parts, release mechanisms, links, stage supports…), lists tension/compression-only parts when a case does not converge, and returns the support FAQ answers for the message. Without a message it scans the whole model. Read-only (GET /db). For a full model review use model_health_check.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analysis_diagnose"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodesNoNode numbers to examine (those in the message are taken automatically).
stageNoConstruction stage to examine in detail (a stage named in the message is taken automatically). Default: all stages, five examples each.
maxIdsNoIds listed per finding.
messageNoThe analysis message(s) as CIVIL NX printed them, e.g. 'WARNING : NODE NO. 123 RZ DOF MAY BE SINGULAR'. Several lines are fine.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description reinforces it with '(GET /db)'. It adds substantial behavior beyond annotations: it reads the open model, inspects DOFs node by node, detects rigid-body mechanisms, runs health checks tied to the message, lists tension/compression-only parts on non-convergence, and executes the same scan at every construction stage. It stops short of disclosing output volume, ordering, or truncation behavior (maxIds mitigates but the response shape is undescribed).

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?

It is front-loaded with the trigger and the sibling alternative, which is good, but the message examples ('DOF may be singular', 'error norm is infinite / NaN') are listed twice verbatim within a few sentences, and the second paragraph is a long run-on chaining health checks, tension-only listing, and FAQ answers. Substantial content is duplicated rather than earned.

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?

For a read-only diagnostic with no output schema, the description explains what comes back (which nodes and stages have free DOFs, the cause, the fix, what holds each movable part) and covers the no-input case, auto-inclusion from the message, and the stage scan. An agent has what it needs to call it correctly and interpret the result.

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; the description exceeds it by explaining that message lines must be supplied because 'the API does not return them' and that nodes and stages named in the message are picked up automatically, which materially changes how an agent should fill nodes/stage. maxIds is left entirely to the schema.

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 names a specific verb and resource — it finds why a CIVIL NX analysis stopped, warned, or produced mechanism-like results — and explicitly contrasts itself with model_health_check ('For a general review of the model use model_health_check'). An agent can distinguish it from siblings 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Triggers are enumerated concretely (singular DOF, infinite/NaN error norm, convergence not reached, run-time errors, mechanism-like results) and the alternative is named with its own condition ('For a full model review use model_health_check'). It also states the no-message fallback ('Without a message it scans the whole model'), so the when-to-use/when-not picture is complete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources