Skip to main content
Glama

MIDAS CIVIL NX tools (MIDAS IT Europe)

CS 455: read a section and place its bars

cs455_describe_section
Read-only

Step 1 of a CS 455 (UK assessment) concrete section check. For a Eurocode check use ec2_describe_section; only to read or edit a section's shape use section_read. Start here when the user shares a reinforcement drawing, photo or schedule. Read from it: cover, for each face the layers (number of bars or spacing, and Ø - mm, inches or #US sizes are all accepted), side bars, links (Ø, legs, spacing); then call this tool. It reads one beam section from the open model through the shared MIDAS section library (outline checked against CIVIL NX's published properties), places the bars with the CS 455 plugin's own placement (cover to every edge) and RETURNS A DRAWING of the section with every bar placed - compare it with the user's drawing and correct rebar until they match (ask the user about anything the drawing does not show, e.g. cover). Then cs455_export_calc_sheet gives the report. Also returns what the plugin's engine derives: area, centroid, depth, usable_for_capacity, parts, the bars placed per schedule row (or why a row failed), and the model's concrete grade. Read-only.

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": {
      "sectionId": "<sectionId>"
    },
    "name": "cs455_describe_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNocs455_describe_section only: return the drawing of the section with its bars (default true).
rebarNoThe bar schedule, as the plugin's Reinforcement tab: cover (mm to the bar face, default 50), gap (mm between layers, default max(25, Ø)), rows [{face: bottom|top|side|depth, layer (any whole number, 1 = outermost), count ('8' bars or '@150' spacing), dia (mm, or '1.128in', or '#9'), depth (mm below top, face 'depth' only), span ('±430:900' width limits), from/to/which (side bars)}], coords {datum: bc|bl|tc, text: 'y z dia' per line, mm}.
sectionIdYesThe CIVIL NX section id (a beam section).
restrainedNoCompression bars are restrained by links (cl 5.3.1). Default false: compression bars get no compressive strength (cl 5.3.2(1)), conservative.
concretePartsNoComposite sections: { part id: f_cu } where a part's grade differs (describe lists the parts).
confirmDimensionsNoOnly after the user has compared the drawn section with the drawing: needed when CIVIL NX published no properties to check the outline against.

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 declare read-only and closed-world; the description adds substantial behavior: bar placement uses the plugin's own placement with cover to every edge, outline is checked against CIVIL NX published properties, and it returns a drawing plus engine-derived values (area, centroid, depth, usable_for_capacity, parts, per-row bar results, concrete grade). It also discloses the 'ask the user about missing data such as cover' fallback and when confirmDimensions is required, which annotations cannot convey. The closing 'Read-only' is consistent with readOnlyHint=true.

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?

Content is front-loaded with the step identity and alternatives before the mechanics, and every sentence carries operational information. It is dense and uses caps for emphasis, with slight redundancy between the 'returns a drawing' and 'Also returns...' passages, but nothing is truly wasted.

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 six parameters, nested rebar objects, and no output schema, the description compensates by describing the return payload in detail (drawing plus derived values and per-row failures) and the verification loop against the user's drawing. An agent has enough to invoke 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 goes further by explaining what the caller must extract from the source drawing (cover, layers with count/spacing, Ø in mm/inches/#US, side bars, links) and maps that onto the rebar/cover inputs. It does not separately explain restrained, concreteParts, or confirmDimensions, so it stops short of full coverage of all six parameters.

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?

States a specific action and resource: reads one beam section from the open model, places CS 455 bars, and returns a drawing plus derived values. It explicitly distinguishes itself from ec2_describe_section (Eurocode) and section_read (shape only), so an agent can route correctly without opening other schemas.

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 entry condition ('Start here when the user shares a reinforcement drawing, photo or schedule'), names the two alternatives with the condition that selects each, and specifies the downstream step (cs455_export_calc_sheet). It also states the correct sequencing (gather cover/layers/links first, then call 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