Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

Section Designer — check and draw a section

section_preview
Read-only

Step 1 for a new section from a sketch or outline. For a section already in the model use section_read; for a code check use ec2_describe_section or cs455_describe_section. Checks a cross-section's outlines with Section Designer's own rules (closed, not self-crossing, holes inside their outline, no overlaps, materials) and returns a PNG drawing of it — the outlines, numbered input vertices, the centroid and chain dimensions — plus the extents, areas and every vertex. Use it FIRST, and LOOK at the drawing: compare it with the user's sketch (overall width and depth, slab and web thicknesses, haunches, cells) and correct misreads before computing or writing anything. Needs no model. From a sketch: read every dimension and put the outline down as vertices in y (across, right +) and z (up), in the sketch's units (default mm). Holes are separate rings inside their outline; direction of travel does not matter. Rounded corners: fillet on that vertex; arcs between vertices: bulge; round bars or ducts: { circle }. Standard shapes can use a template (i_girder, box_girder) instead of vertices. Two materials (girder + slab): one part each, in construction order, each with its material.

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": {
      "section": "<section>"
    },
    "name": "section_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
svgNoAlso store the drawing as an SVG file and return its link.
sectionYesThe section, read off the sketch. Axes: y across (positive right), z up, as seen in CIVIL's section dialog; put the origin anywhere convenient (e.g. bottom-left corner or soffit centre) — CIVIL's frame is applied on write.

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?

Annotations only cover readOnly/openWorld, so the description carries the real burden and does: it discloses that no model is needed, enumerates the validation rules applied (closed, not self-crossing, holes inside outline, overlaps, materials), and lists exactly what the returned drawing contains (outlines, numbered vertices, centroid, chain dimensions) plus extents, areas and every vertex. That is behavior an agent cannot get from the structured fields.

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?

Front-loaded with the step-1 role and sibling routing before any geometry detail, and nearly every sentence carries actionable information. It is dense and a few clauses (e.g. holes as separate rings, direction of travel) largely restate the nested schema, which keeps it from a 5.

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 complex geometry-ingest tool with no output schema, the description says what comes back (PNG plus extents, areas, vertices), what rules are enforced, and how to map a sketch onto the input model. An agent has everything needed 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, and the description still adds real meaning: axis convention (y across right +, z up, as in CIVIL's dialog), origin may be anywhere, default units mm, holes as separate rings with direction-agnostic travel, and the girder+slab two-material/construction-order pattern. It mostly reinforces conventions already implied by deep nested schema descriptions rather than adding new syntax, so it stops short of 5.

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?

"Checks a cross-section's outlines with Section Designer's own rules ... and returns a PNG drawing" names a specific verb, resource and return artifact. It also explicitly separates itself from section_read (existing model section) and the two code-check tools, so an agent can pick it 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?

States the exact trigger ("Step 1 for a new section from a sketch or outline"), names three alternatives with the conditions that select them, and prescribes the follow-up action ("Use it FIRST, and LOOK at the drawing ... and correct misreads before computing or writing anything"). Nothing about when/when-not is left to inference.

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