Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Machine Weld

machine_weld

Calculates fillet weld group properties and static stresses from 1–50 line segments, reporting centroid, inertia, shear, bending, and worst-point results.

Instructions

Fillet weld group as 1..50 straight lines: exact centroid/Ix/Iy/Ixy/J, direct and torsional shear plus out-of-plane normal/bending stress. Format '(0 mm,0 mm)-(100 mm,0 mm); ...'. Uses throat=0.707*leg_size. Reports chosen point or worst endpoint. Static elastic line method; no weld fatigue.

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": {
      "segments_text": "<segments_text>",
      "leg_size": "<leg_size>"
    },
    "name": "machine_weld"
  }
}

Input Schema

NameRequiredDescriptionDefault
load_xNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.0 mm
load_yNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.0 mm
load_zNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.0 mm
force_xNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.0 N
force_yNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.0 N
force_zNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.0 N
point_xNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
point_yNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
leg_sizeYesPhysical 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
segments_textYes1..50 weld lines, e.g. '(0 mm,0 mm)-(100 mm,0 mm); (0 mm,60 mm)-(100 mm,60 mm)'. Every coordinate needs units.
allowable_shearNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.

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.1/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does well by stating the solution method, the throat assumption throat=0.707*leg_size, the stress types computed, and the limitation that weld fatigue is not included. It could be more explicit about sign conventions and coordinate assumptions, but the core behavioral scope is clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is dense, front-loaded, and free of filler: it moves from geometry and computed outputs to formatting, assumptions, reporting behavior, and limitations. Every sentence contributes information an agent would need to invoke the tool correctly.

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 engineering calculation tool with an output schema, it covers the method, geometry, throat assumption, stress outputs, and fatigue limitation well. Remaining gaps are mostly sign conventions and the exact interpretation of each load/force component, which are partly left to the schema.

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 schema already documents parameters and units. The description adds useful meaning beyond that by giving the segment text format, the throat/leg relationship, and the point-selection behavior for point_x/point_y. It still relies on the schema for the load/force axis semantics.

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 clearly identifies the resource as a fillet weld group made of 1..50 straight lines and lists the computed outputs: centroid, Ix/Iy/Ixy/J, direct and torsional shear, and normal/bending stress. It is highly specific to weld analysis, though it uses a noun-phrase framing rather than an explicit action verb.

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?

It specifies the method as the static elastic line method and explicitly excludes weld fatigue, which gives useful when-not guidance. It does not name alternatives or explain when another sibling calculation tool would be preferred, so it falls short of full alternative routing.

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