Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Structures Stress

structures_stress

Compute plane stress/strain transformations, 3D principal stresses, invariants, and von Mises, Tresca, Mohr-Coulomb, or Rankine safety factors from stress, strain, or rosette inputs.

Instructions

Mohr plane stress/strain transformation, 3D principal stresses and invariants, von Mises/Tresca and brittle Mohr-Coulomb/Rankine safety; 45/60-degree strain rosettes and isotropic Hooke law. Tension positive, engineering shear strain. Small strain, isotropic linear elasticity; no failure-code 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": "structures_stress"
  }
}

Input Schema

NameRequiredDescriptionDefault
angleNoCounterclockwise rotation of in-plane coordinate axes for stress transformation, e.g. '30 deg'; default 0 deg.0 deg
stateNoplane_stress, plane_strain, three_dimensional, rosette_45 or rosette_60; rosettes measure plane-stress surface strains.plane_stress
tau_xyNoxy shear stress, +y on +x face, e.g. '40 MPa'; required for stress input outside rosettes; '' omits otherwise.
tau_yzNoyz shear stress, +z on +y face, e.g. '5 MPa'; required for three_dimensional stress input; '' omits otherwise.
tau_zxNozx shear stress, +x on +z face, e.g. '3 MPa'; required for three_dimensional stress input; '' omits otherwise.
sigma_xNox normal stress, tension positive, e.g. '80 MPa'; required for stress input outside rosettes; '' omits otherwise.
sigma_yNoy normal stress, tension positive, e.g. '20 MPa'; required for stress input outside rosettes; '' omits otherwise.
sigma_zNoz normal stress, e.g. '0 Pa'; required for three_dimensional stress input; '' omits for other modes.
gamma_xyNoxy engineering shear strain, twice epsilon_xy, e.g. '0.002 dimensionless'; required for non-rosette strain input; '' omits otherwise.
gamma_yzNoyz engineering shear strain, twice epsilon_yz, e.g. '0.001 dimensionless'; required for 3D strain input; '' omits otherwise.
gamma_zxNozx engineering shear strain, twice epsilon_zx, e.g. '0.0005 dimensionless'; required for 3D strain input; '' omits otherwise.
strain_aNoRosette gauge a at 0 degrees, e.g. '0.001 dimensionless'; required for rosette_45/rosette_60 strain input; '' omits otherwise.
strain_bNoRosette gauge b at 45 or 60 degrees, e.g. '0.0008 dimensionless'; required for rosette strain input; '' omits otherwise.
strain_cNoRosette gauge c at 90 or 120 degrees, e.g. '0.0002 dimensionless'; required for rosette strain input; '' omits otherwise.
epsilon_xNox normal strain, e.g. '0.001 dimensionless'; required for strain input outside rosettes; '' omits otherwise.
epsilon_yNoy normal strain, e.g. '-0.0003 dimensionless'; required for strain input outside rosettes; '' omits otherwise.
epsilon_zNoz normal strain, e.g. '0 dimensionless'; required for three_dimensional strain input; '' omits otherwise.
input_typeNostress or strain; rosettes require strain.stress
unit_systemNoOutput units: metric (m, N, Pa) or imperial (inch, lbf, psi). CSV columns explicitly name their units.metric
poisson_ratioNoIsotropic transverse contraction ratio for Hooke law, e.g. 0.3; range -0.999..0.4999; used with youngs_modulus.
yield_strengthNoUniaxial yield stress for von Mises/Tresca safety factors, e.g. '250 MPa'; '' omits these factors.
youngs_modulusNoIsotropic Young's modulus for Hooke conversion, e.g. '200 GPa'; required for strain input; '' omits strains for stress input.
tensile_strengthNoPositive tensile failure stress for brittle safety factors, e.g. '100 MPa'; requires compressive_strength; '' omits.
compressive_strengthNoPositive compressive failure stress for brittle safety factors, e.g. '300 MPa'; requires tensile_strength; '' omits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does a solid job: it declares sign conventions (tension positive), shear-strain convention (engineering, twice epsilon), and the governing model assumptions (small strain, isotropic linear elasticity). The 'no failure-code check' caveat is exactly the kind of scope limit an agent needs before quoting results. It does not describe the return payload or how optional inputs gate which outputs appear.

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?

Two sentences, no filler, capabilities front-loaded before the conventions and caveats. The first sentence is a dense comma-spliced list that takes a careful read, but every clause names a real capability or constraint, so nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 24-parameter solver with no annotations and no output schema, the description covers capabilities, assumptions, and conventions well but says nothing about what comes back — no mention of principal angles, Mohr circle data, safety-factor reporting, or the CSV output that the unit_system parameter implies. An agent knows what it can compute but not what it will receive.

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, but the description adds cross-parameter meaning the schema cannot: tension-positive sign convention and engineering-shear definition govern how every sigma_* and gamma_* value must be entered. It also frames the mode families (rosette vs. tensor input, 2D vs. 3D) that determine which parameters are required. That is genuine added semantics above the per-field descriptions.

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 concrete analyses performed: Mohr plane stress/strain transformation, 3D principal stresses and invariants, von Mises/Tresca and Mohr-Coulomb/Rankine safety, rosette reduction, and Hooke-law conversion. That is far more specific than the title, and it implicitly separates this solver from the structural siblings (frame, column, truss, section) which do member/system analysis rather than point stress states. It stops short of an explicit sibling distinction, so it is a strong 4 rather than a 5.

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?

The description gives an implicit usage boundary with 'no failure-code check', telling the agent this is not a code-compliance verifier, and the mode list hints at which inputs each analysis needs. However, it never states when to pick this tool over the structural siblings, nor does it route between stress input, strain input, and rosette modes beyond naming them. Usage is inferable but not guided.

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