Skip to main content
Glama

eng_key_stress

Read-only

Shaft key stress and length calculator — Parallel/square key check for a keyed shaft: force from torque, shear and bearing (crushing) stress, safety factors, required key length for a target safety factor, governing mode and OK/BELOW TARGET/FAILS verdict. Auto key size from ANSI B17.1 (inch) or DIN 6885A (metric) by shaft diameter. Params: torque (lb-in or N-m), shaft (in or mm), length, units=us|si, width, height, sy (key yield; default 1018 CD), hub_sy, sf=2. Offline. 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>",
      "shaft": "<shaft>",
      "length": "<length>"
    },
    "name": "eng_key_stress"
  }
}

Input Schema

NameRequiredDescriptionDefault
shaftYese.g. 1.5
lengthYese.g. 1.25
torqueYese.g. 3000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/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; the description goes beyond them by disclosing that it runs offline, that a fee ($0.003 USDC via x402) applies, and defaults for sy (1018 CD) and sf=2. It also previews the verdict vocabulary (OK/BELOW TARGET/FAILS) and the governing-mode output, which is real behavioral context.

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?

The single dense paragraph is front-loaded with purpose and computation coverage before the parameter list, and almost every clause carries technical content. The pricing sentence is useful but the params run-on contributes to a slightly sprawling structure.

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 still tells the agent what comes back — stress values, safety factors, required key length, governing mode, and the OK/BELOW TARGET/FAILS verdict. The remaining gap is the mismatch between the listed parameters and the three-parameter schema, which could cause incorrect invocations.

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%, but the schema's parameter descriptions are only bare examples ('e.g. 1.5'), so the description genuinely adds meaning with units (lb-in/N-m, in/mm). However, it advertises parameters (units, width, height, sy, hub_sy, sf) that do not exist in the input schema, which can mislead an agent into passing invalid arguments.

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 ('Shaft key stress and length calculator') and enumerates the exact computations — force from torque, shear and bearing stress, safety factors, required key length, governing mode, verdict. That is enough detail for an agent to distinguish it from neighboring engineering tools such as eng_bolt_torque or eng_beam.

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 by scope ('keyed shaft', 'Parallel/square key') and the auto-sizing standards (ANSI B17.1 inch / DIN 6885A metric), but there is no explicit when-to-use / when-not-to-use statement and no named alternative for non-keyed shaft checks. The agent must infer applicability from the scenario alone.

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