Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Structures Section

structures_section

Calculate cross-section area, centroid, moments of inertia, radii, elastic and plastic moduli, torsion properties, and shear flow for standard or polygon shapes with holes.

Instructions

Plane-section area, centroid, Green-theorem centroidal/principal moments, radii and elastic moduli; standard-shape Saint-Venant/Bredt torsion, symmetric plastic moduli, Q and VQ/I. Polygon holes accepted with either winding, max 200 vertices/16 holes. Thin-wall torsion approximations are flagged; no warping analysis.

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": "structures_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
holesNoPolygon void rings of x,y lengths, e.g. '1 mm,1 mm;2 mm,1 mm;1 mm,2 mm'; separate rings with '|'; '' omits holes.
shapeNorectangle, circle, hollow_circle, hollow_rectangle, i, h, t, channel, or polygon. Dimensions are full outer dimensions.rectangle
widthNoOverall section/flange width, e.g. '150 mm'; required for rectangle/hollow_rectangle/i/h/t/channel; '' omits otherwise.
heightNoOverall bottom-to-top height, e.g. '300 mm'; required for rectangle/hollow_rectangle/i/h/t/channel; '' omits otherwise.
polygonNoOuter ring 'x,y' length pairs, e.g. '0 m,0 m;1 m,0 m;0 m,1 m'; required for polygon; '' omits for other shapes.
diameterNoOuter diameter, e.g. '100 mm'; required for circle/hollow_circle; '' omits for other shapes.
at_heightNoAbsolute y coordinate of the horizontal Q cut, e.g. '75 mm'; '' omits; required with shear_force.
thicknessNoUniform wall thickness, e.g. '5 mm'; required for hollow_circle/hollow_rectangle; '' omits otherwise.
shear_forceNoSigned transverse force for shear flow VQ/Ix, e.g. '10 kN'; requires at_height; '' omits shear flow.
unit_systemNoOutput units: metric (m, N, Pa) or imperial (inch, lbf, psi). CSV columns explicitly name their units.metric
web_thicknessNoVertical web thickness, e.g. '6 mm'; required for i/h/t/channel; '' omits otherwise.
flange_thicknessNoHorizontal flange thickness, e.g. '8 mm'; required for i/h/t/channel; '' omits otherwise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does add real behavioral context: hole polygons accepted in either winding, hard limits of 200 vertices and 16 holes, thin-wall torsion approximations flagged in the result, and no warping analysis. It does not describe permissions, error behavior on invalid shape/parameter combinations, or output structure, which keeps it short of a 5.

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 compact at three sentences with no filler, and the limits/caveats sentence is well placed. However, it opens with a dense semicolon-delimited list of domain jargon rather than a front-loaded statement of what the tool does, which makes the first read harder than necessary.

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 12-parameter, multi-mode tool with no output schema, the description covers the capability set well and states the important constraints (vertex/hole caps, thin-wall approximation, no warping). The remaining gap is return-value behavior — result structure and how flags appear in output — which the schema only partially addresses via the unit_system note.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with per-parameter examples and required-shape notes, so the baseline is 3. The description adds only indirectly, clarifying that holes accept either winding (relevant to the holes parameter) and that wall-thickness inputs drive thin-wall torsion approximations, but supplies no syntax or format detail beyond the schema.

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?

The description names the resource precisely — plane-section area, centroid, moments, radii, elastic moduli, torsion, plastic moduli, Q and VQ/I — which unambiguously identifies a cross-section property calculator and separates it from member-level siblings like structures_column or structures_frame. It lacks an explicit leading verb such as 'Compute' and never names a sibling, so differentiation is inferential rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied by the enumerated outputs; an agent must infer that you call this when you need section properties prior to a beam/frame analysis. The phrase 'no warping analysis' is a genuine scope exclusion, but there is no positive when-to-use guidance and no alternative tool is named for warping or member-level work.

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