Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Machine Pressure Vessel

machine_pressure_vessel

Calculate pressure-vessel stresses and wall sizing for thin/thick cylinders and spheres under internal/external pressure, including von Mises/Tresca, bore displacement, and allowable thickness.

Instructions

Thin-wall membrane or thick-wall Lame cylinder/sphere under internal/external pressure. Returns stresses, von Mises/Tresca, elastic bore displacement, and hoop-allowable wall sizing. Cylinder ends closed/open/constrained. Warns at r/t<10 with thin error. A sphere is a full sphere or hemispherical end only: no ellipsoidal/torispherical heads, nozzle openings or code check. joint_efficiency scales the allowable; corrosion_allowance is added to the sized wall.

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": {
      "geometry": "<geometry>",
      "inner_radius": "<inner_radius>",
      "internal_pressure": "<internal_pressure>"
    },
    "name": "machine_pressure_vessel"
  }
}

Input Schema

NameRequiredDescriptionDefault
endsNoCylinder 'closed', 'open', or 'constrained' (zero axial strain). Sphere: 'closed' only.closed
modelNo'thin' membrane or 'thick' Lame; wall sizing always reports both methods.thick
radiusNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
geometryYes'cylinder' or 'sphere'; spheres require closed geometry.
thicknessNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
unit_systemNoOutput units: 'metric' (mm, N, MPa) or 'imperial' (inch, lbf, ksi).metric
inner_radiusYesPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
outer_radiusNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
poisson_ratioNoFinite dimensionless coefficient; zero selects the documented automatic value where supported.
yield_strengthNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
youngs_modulusNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
allowable_stressNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
joint_efficiencyNoWeld joint efficiency E, 0.5..1 (default 1): wall sizing uses the allowable stress times E; stresses are not changed.
external_pressureNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.0 MPa
internal_pressureYesPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
corrosion_allowanceNoMetal added to the sized wall, e.g. '1 mm'; '' = none. Gives nominal_thickness_*; with thickness, the margin after corrosion.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNoNon-quantity payload (reports, listings)
errorNo
valueNoPrimary quantity result
valuesNoAll named quantity results (includes the primary)
warningsNo
artifactsNo
provenanceYesWhat produced the result and from which inputs.
review_statusNounreviewed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4.4/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 well: it discloses return contents, a threshold warning (r/t<10 thin error), and non-obvious side semantics of joint_efficiency (scales allowable only, stresses unchanged) and corrosion_allowance (added to the sized wall). It omits failure behavior for invalid geometry combos and how optional inputs default, keeping 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.

Conciseness4/5

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

Five dense sentences with the physics and outputs front-loaded and the caveats following; almost nothing is wasted. The telegraphic fragments ('Warns at r/t<10 with thin error', 'Cylinder ends closed/open/constrained') cost a little readability for the compression.

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 16-parameter solver with a 100%-covered schema and an output schema, the description covers what the tool computes, key option semantics, warnings, and hard limits. An agent has enough to call it correctly without reading further documentation.

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 baseline is 3; the description still adds real meaning — that joint_efficiency multiplies allowable stress rather than stresses, that corrosion_allowance produces nominal_thickness_* and a post-corrosion margin, and that sizing always reports both thin and thick methods. It does not clarify the many physical-quantity string parameters, but those are already documented in the schema.

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 verb-and-resource: thin-wall membrane or thick-wall Lame analysis of cylinders/spheres under internal/external pressure, with named outputs (stresses, von Mises/Tresca, bore displacement, wall sizing). The scope boundaries (closed/open/constrained ends, sphere = full or hemispherical only) make it trivially distinguishable from unrelated siblings such as calc_pipe_pressure_drop.

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

Usage Guidelines4/5

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

Gives usable selection rules: 'model' thin vs thick, sphere requires closed geometry, and explicit exclusions (no ellipsoidal/torispherical heads, no nozzle openings, no code check). It does not name an alternative tool for those excluded cases, but the applicability limits are clear enough that an agent knows when not to call it.

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