Skip to main content
Glama

weld_group

Sizes a planar fillet-weld group by the Blodgett line method, combining direct shear and torsional stress to report required leg, throat stress, and pass/fail.

Instructions

Rate a planar fillet-weld group by Blodgett's treat-weld-as-a-line method. segments=[((x1,y1),(x2,y2)),...] (mm); an in-plane force_n=[Fx,Fy] at load_point_mm=[px,py] gives direct shear f=F/L plus torsional f=Tr/J from the eccentric moment about the weld centroid, added vectorially at the worst end. required_leg = f_r/(0.707allowable); given leg_mm, throat stress f_r/(0.707*leg) is checked vs allowable. Returns {weld_length_mm, centroid_mm, Ix_mm3, Iy_mm3, J_mm3, direct_shear_n_per_mm, max_shear_n_per_mm, worst_point_mm, required_leg_mm, throat_stress_mpa?, shear_sf?, pass}. weld_type ('fillet' default) labels the group and selects the throat convention.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leg_mmNo
force_nYes
segmentsYes
weld_typeNofillet
load_point_mmYes
allowable_shear_mpaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does well: it spells out the direct-shear plus torsion superposition, the required_leg formula, the conditional outputs (throat_stress_mpa?, shear_sf? only when leg_mm is supplied), and the pass criterion. It stops short of confirming the operation is a pure side-effect-free calculation and omits the allowable default.

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?

Front-loaded with the purpose, then mechanics, then the return-keys block; nearly every clause carries load. Density is high but appropriate for a technical calculator, with only minor compression of the units/allowable detail.

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?

With no output schema and no annotations, the description supplies both the return-value list and the conditional-output behavior, plus the algorithm. It is largely complete for a 6-parameter calculator, missing only the allowable default, units for allowable, and any error/failure behavior.

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 0%, so the description has to document all six parameters, and it explains segments tuple syntax, force_n=[Fx,Fy], load_point_mm=[px,py], leg_mm, and weld_type's 'fillet' default with units (mm, N). The allowable_shear_mpa parameter and its default of 96 are not named or explained, leaving one real gap.

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 ('Rate') and resource ('planar fillet-weld group') and names the exact method (Blodgett's treat-weld-as-a-line). No CAD/FEA sibling does stress rating, so it is unambiguous even without a named alternative.

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 makes the use case implicit (feed a segment layout plus load, get a leg sizing/check), but it never states when to reach for this tool versus a FEM or other check, nor any prerequisites. Usage is inferred from the I/O mapping only.

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