Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Preview one result or model table

preview_result_table
Read-only

Use to look at analysis results (or a model table) row by row. For construction-stage results use cs_stage_results; for input rows use civil_read_table; for Excel use export_result_tables. Reads one table from the open CIVIL NX model the way the exporter's 'Preview this table' does and returns its first rows (default 20, max 200) with unit-labelled headers, any sub-tables (e.g. reaction totals) and the exact POST /post/TABLE Argument sent. Result tables are a quick sample (first 20 nodes/elements, 3 load cases, 2 stage steps) with an estimate of the full row count; model tables are read whole. When no loadCases are given it also lists the model's load-case names (loadCasesInModel). Read-only (GET /db and POST /post/TABLE only). Results need an analysed model.

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": {
      "table": "<table>"
    },
    "name": "preview_result_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNo
dbKeyNoFor db-custom: any /db/ key (e.g. MVHL, TDNA).
partsNoBeam tables: stations along each element (default PartI, PartJ).
tableYesTable id from result_table_catalog (e.g. reaction-global, beam-force, displacement-global, plate-force-unit-local, db-node). A MIDAS TABLE_TYPE (BEAMFORCE) or DB key (NODE) is accepted too.
titleNo
unitsNoUnits MIDAS converts the results to (default kN, m).
columnsNoModel tables: exact column names to keep (preview first to see them).
recordsNoModel tables: which record ids (filtered after the read).
argumentNoFor custom-table: the full POST /post/TABLE Argument object.
decimalsNoDefault 6.
entitiesNo
loadCasesNoe.g. ["DL(ST)", "ULS(CB)", "ENV(CB:max)", "LM1(MV:max)"]. Omit for every case.
sheetNameNoExcel sheet name (≤ 31 characters).
tableTypeNoFor result-any: the MIDAS TABLE_TYPE.
componentsNoColumns, as listed for the table (e.g. Axial, Moment-y). Omit for the plugin's defaults; for 'all columns' tables omit for every column.
nodeCenterNoPlate tables: include the element centre.
stageStepsNoWith constructionStage: e.g. ["CS1:001(first)", "CS3:002(last)"]. Omit for every saved step.
nodeCornersNoPlate tables: include the corner nodes (default true).
averageNodalNo
numberFormatNoDefault Scientific.
extraArgumentNoFor 'all columns' tables: more POST /post/TABLE Argument keys (e.g. LOAD_CASE_NAMES, NODE_ELEMS, OPT_CS).
userTableNameNoFor user-defined-table-*: the saved Dynamic Report Table name.
sectionPositionsNoBeam stress detail: e.g. ["Maximum"] or stress point numbers.
constructionStageNoResults of the construction stage analysis (adds Stage and Step columns).
displacementOptionNoDisplacement tables in construction stages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses concrete behavior: it returns the first rows (default 20, max 200), includes unit-labelled headers and sub-tables, exposes the exact POST /post/TABLE Argument, samples result tables (first 20 nodes/elements, 3 load cases, 2 stage steps) with a full row-count estimate, reads model tables whole, and lists load-case names when loadCases is omitted. It also names the underlying read-only endpoints (GET /db and POST /post/TABLE only), giving an agent a complete operational picture.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core action, immediately followed by alternative-tool routing and then behavioral details. Despite covering many distinct points, every sentence contributes useful selection or invocation information, with no filler.

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 tool with 25 parameters and no output schema, the description covers purpose, alternatives, return shape, sampling behavior, prerequisites, and read-only constraints well. Some specialized parameters (e.g., parts, record filters, column selection) rely entirely on the 84%-covered schema, leaving minor gaps, but the overall definition is sufficiently complete for correct invocation.

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 description coverage is high (84%), so the baseline is 3. The description still adds meaningful parameter-related semantics not captured in the schema: omitting loadCases triggers a load-case name listing, result tables use a fixed sampling behavior, and model tables are read whole. It does not explain every one of the 25 parameters, but the added context exceeds the structured baseline.

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 states a specific verb and resource: 'look at analysis results (or a model table) row by row' and 'Reads one table from the open CIVIL NX model.' It explicitly distinguishes this tool from cs_stage_results, civil_read_table, and export_result_tables, so an agent can identify its role without opening any 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?

It provides explicit routing rules: use cs_stage_results for construction-stage results, civil_read_table for input rows, and export_result_tables for Excel. It also states the prerequisite that results need an analysed model and that the tool operates on the open model, leaving no ambiguity about when to choose this tool.

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