Skip to main content
Glama

eng_shaft_size

Read-only

Shaft diameter calculator (bending + torsion, fatigue) — Solid rotating shaft sizing under combined bending and torsion: static distortion-energy and max-shear diameters, DE-Goodman fatigue diameter with Marin surface, size and reliability factors (iterated), governing case, next standard size, stresses and safety factors at that size, and torsional twist per foot vs the 0.08 deg/ft guideline. Optional: hp or kw with rpm instead of torque, safety_factor (default 2), material=1018-cd|1045-cd|1045-hr|1020-hr|4140-ph|304|6061-t6 or sut= and sy=, feature=keyseat|sled-keyseat|shoulder-sharp|shoulder-rounded|retaining-ring|none, finish=machined|ground|cold-drawn|hot-rolled|forged, reliability=0.5-0.9999, length, units=us (lbf-in, ksi) or metric (N-m, MPa, 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": {
      "torque": "<torque>",
      "moment": "<moment>"
    },
    "name": "eng_shaft_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
momentYese.g. 2000
torqueYese.g. 3000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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 the safety profile is covered; the description goes further by disclosing defaults (safety_factor=2), internal iteration of Marin factors, the 0.08 deg/ft twist guideline used for judging, and the per-call price ($0.003 USDC via x402). That is meaningful behavior beyond the annotations. It stops short of describing error conditions, rounding/precision, or what happens when material and sut/sy are both omitted.

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

Conciseness3/5

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

Content is front-loaded correctly, leading with the purpose before the parameter catalog. However, it is essentially one very long run-on sentence with em-dash chaining and dense pipe-delimited enumerations, which makes it harder to parse 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.

Completeness3/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 usefully enumerates what comes back (static DE and max-shear diameters, DE-Goodman fatigue diameter, governing case, next standard size, stresses, safety factors, twist per foot). The significant gap is the mismatch between the rich optional-parameter narrative and a schema exposing only torque and moment, which leaves the agent unsure which inputs it can actually send.

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% for the two declared parameters, so baseline is 3. The description does add real meaning — units conventions (lbf-in/ksi vs N-m/MPa/mm), the hp-or-kw-plus-rpm alternative to torque, and material/feature/finish/reliability vocabularies — but it names many optional parameters (units, material, feature, finish, reliability, length, safety_factor) that do not exist in the supplied input schema, so the agent cannot act on much of that guidance.

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 opening states a specific verb and resource ('Shaft diameter calculator') and immediately scopes it to 'Solid rotating shaft sizing under combined bending and torsion', which cleanly separates it from the sizing siblings like eng_drain_size or eng_duct_size. The parenthetical '(bending + torsion, fatigue)' reinforces the physics domain so an agent knows exactly what class of problem this solves.

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 implied through the enumerated inputs (torque+moment required, or hp/kw with rpm as an alternative input path) rather than stated as an explicit when-to-use rule. There is no statement of when NOT to use it (e.g. non-rotating members, static-only shafts) and no routing to a sibling calculator. The implicit guidance is decent but requires the agent to infer applicability from the domain wording.

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