Skip to main content
Glama

eng_spring_rate

Read-only

Helical compression spring calculator — Helical compression spring design check: spring rate (lbf/in and N/mm), spring index, Wahl factor, total coils and solid height by end type, OD/ID, wire tensile strength and allowable shear for the material, stress and safety factor at a load or deflection, and with free_length the max travel, load at solid, solid-safe check, pitch and buckling flags. Materials: music-wire, hard-drawn, oil-tempered, chrome-vanadium, chrome-silicon, stainless-302, phosphor-bronze. Optional: mean_diameter or outer_diameter, free_length, load, deflection, material, ends=plain|plain-ground|squared|squared-ground, units=in|mm. 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_diameter": "<wire_diameter>",
      "mean_diameter": "<mean_diameter>",
      "active_coils": "<active_coils>"
    },
    "name": "eng_spring_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
active_coilsYese.g. 10
mean_diameterYese.g. 0.5
wire_diameterYese.g. 0.062

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, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds genuinely non-structural behavior: conditional expansion of the result set when free_length is given (max travel, load at solid, solid-safe, pitch, buckling flags) and the payment model ("$0.003 USDC (Base, via x402)"), which the annotations do not convey. It does not describe error behavior on invalid geometry, which keeps it from 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?

Front-loaded with the core purpose and outputs, then materials, then optional inputs, then price — a sensible ordering. It is a single dense sentence with a long enumeration; the output list is slightly over-packed but each clause maps to a real computed value, so little is wasted.

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, the description correctly enumerates what is returned and how the return set grows with optional inputs, which is the main thing an agent needs. Remaining gaps are minor: default units, whether the required three parameters are unitless-per-unit-system, and the schema/description mismatch on optional params.

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%, but the schema descriptions are bare examples ("e.g. 0.062") with no units. The description compensates well by naming the material set, the ends enum values (plain|plain-ground|squared|squared-ground), and units=in|mm, all of which carry real meaning. However, it also lists several optional parameters (free_length, load, deflection, material, ends, units) that do not appear in the supplied schema, creating a mild mismatch about the actual call surface.

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+resource ('Helical compression spring calculator / design check') and enumerates the concrete outputs (rate, index, Wahl factor, solid height, stress, safety factor, buckling flags), which is far more specific than the sibling names like eng_beam or eng_bolt_torque. An agent can tell exactly what domain this covers without opening the schema.

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?

Usage is clear from the phrasing: it is a design check driven by wire_diameter, mean_diameter and active_coils, with additional analysis unlocked when free_length/load/deflection are supplied. There are no explicit exclusions (e.g. that extension or torsion springs are out of scope) and no stated trigger conditions versus other eng_* calculators, so it stops short of full when/when-not guidance.

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