Skip to main content
Glama

eng_spring_fatigue

Read-only

Spring fatigue calculator — Helical compression spring fatigue and static check. Required: wire (wire diameter), coil (mean coil diameter), fmax (max working load). Optional: fmin (min load, default 0), na (active coils, adds spring rate and deflections), material (music-wire default, oil-tempered, hard-drawn, chrome-vanadium, chrome-silicon, 302-ss), peened=true (shot-peened Zimmerli data), units=metric (mm, N, MPa; default in, lbf, psi). Returns spring index, Bergstrasser factor, alternating/mean/max shear stress, Sut = A/d^m, Ssu, Ssy, Zimmerli endurance, Goodman and Gerber fatigue factors of safety, static yield factor, verdict OK / MARGINAL / FAIL, and warnings for spring index outside 4-12. Offline, instant. Price: $0.003 USDC (Base, via x402).

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": {
      "wire": "<wire>",
      "coil": "<coil>",
      "fmax": "<fmax>"
    },
    "name": "eng_spring_fatigue"
  }
}

Input Schema

NameRequiredDescriptionDefault
coilYese.g. 1.25
fmaxYese.g. 60
wireYese.g. 0.148

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds genuinely non-structured behavior — the x402 payment requirement ($0.003 USDC on Base), 'offline, instant', and the emitted verdict bands (OK/MARGINAL/FAIL) plus a spring-index 4-12 warning. The word 'Offline' sits slightly awkwardly against openWorldHint=true, but it reads as a latency/architecture note rather than a behavioral claim contradicting the annotation.

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?

One dense paragraph that is front-loaded with identity, then required/optional inputs, then outputs/verdict, then price — a sensible order with no filler sentences. It is long and could be broken into labeled sections, but each clause carries information an agent needs.

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?

With no output schema, the description carries the return-value burden and does so thoroughly: index, Bergstrasser factor, alternating/mean/max shear stress, Sut/Ssu/Ssy, Zimmerli endurance, Goodman and Gerber factors, static yield factor, verdict, and warnings. Combined with the payment and unit notes, nothing material is missing for correct invocation.

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

Parameters5/5

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

The schema lists only three string parameters with bare examples, yet the description supplies defaults and meaning for optional inputs absent from the schema (fmin default 0; na adds rate and deflections; material with six named wire options; peened=true selects Zimmerli shot-peened data; units=metric vs in/lbf/psi). This is meaning well beyond the input schema, including the unit convention that governs all numeric values.

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?

Opens with a specific verb+resource: 'Spring fatigue calculator — Helical compression spring fatigue and static check.' That scope (fatigue + static check on compression springs) is distinct from the sibling eng_spring_rate, which only computes rate, so an agent can separate the two without inspecting schemas.

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?

It clearly implies applicability by enumerating required inputs (wire, coil, fmax) and what the tool computes, which tells an agent the minimum data needed. However, there is no explicit when-to-use/when-not guidance or a named alternative (e.g., 'use eng_spring_rate if you only need the rate'), so routing is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources