Skip to main content
Glama

eng_gear_stress

Read-only

Spur gear stress and geometry calculator — Spur gear pair sizing: pitch diameters, center distance, ratio, contact ratio, interference (minimum pinion teeth), face-width guide, pitch-line velocity, tangential/radial load, Barth/AGMA dynamic factor, Lewis bending stress for pinion and gear, Hertz contact stress with elastic coefficient from materials, safety factor and OK/BELOW TARGET/FAILS verdict. Params: hp (or kw), rpm (pinion), np, ng, pd (diametral pitch) or module (mm, then face in mm), face, pa=14.5|20|25 (default 20), quality=cast|cut|hobbed|ground (default hobbed), pinion_material/gear_material=steel|cast-iron|bronze|aluminum, sy (bending yield psi, MPa if metric), sf=2. Offline (Shigley ch. 14). 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": {
      "hp": "<hp>",
      "rpm": "<rpm>",
      "np": "<np>",
      "ng": "<ng>",
      "pd": "<pd>",
      "face": "<face>"
    },
    "name": "eng_gear_stress"
  }
}

Input Schema

NameRequiredDescriptionDefault
hpYese.g. 5
ngYese.g. 54
npYese.g. 18
pdYese.g. 8
rpmYese.g. 1800
faceYese.g. 1.5

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, so the safety profile is covered; the description goes beyond them by disclosing that the computation is offline/deterministic with a cited methodology (Shigley ch. 14) and by stating a per-call price of $0.003 USDC via x402 on Base, which is genuinely useful cost context an agent would not otherwise have. It does not, however, say anything about failure modes, unit-mismatch handling, or how the OK/BELOW TARGET/FAILS verdict is thresholded.

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?

Purpose and output list are front-loaded, and the parameter list is packed into a compact key=value form with defaults, so nearly every clause carries information. The single run-on sentence with em-dash and slash-delimited alternatives is dense and harder to scan than a short structured breakdown would be.

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?

There is no output schema, so the description carries the full burden of describing return values, and it does so thoroughly: geometry, kinematics, loads, both stress models, safety factor, and the pass/fail verdict. Given a simple flat 6-parameter input, nothing an agent needs in order to call it correctly appears to be missing.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3; the schema descriptions are only bare examples ('e.g. 5'), and the description does add real meaning such as hp-vs-kw units and psi-vs-MPa for sy. However, most of the parameter prose (pa, quality, pinion_material/gear_material, sy, sf, module-in-mm alternative) refers to optional parameters that do not exist in the supplied input schema, which limits how much of it an agent can actually act on.

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?

The description opens with a specific verb+resource ('Spur gear stress and geometry calculator') and immediately enumerates the exact outputs: pitch diameters, center distance, ratio, contact ratio, interference, loads, Lewis bending stress, Hertz contact stress, and a safety-factor verdict. That is enough to distinguish it from every other eng_* sibling 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 Guidelines3/5

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

Usage is only implied: this is a spur-gear-pair sizing calculation, and the 'Offline (Shigley ch. 14)' note tells the agent it is a deterministic textbook calculation. There is no explicit statement of when to choose this over a sibling (e.g. a key/beam/bearing check) and no exclusion or prerequisite guidance, so the agent must infer the fit from the domain vocabulary.

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