Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Machine Gear

machine_gear

Calculate external spur gear pair geometry, contact ratio, interference, transmitted load, and Lewis bending or Hertz contact stress from module or diametral pitch and torque or power/speed.

Instructions

External spur pair: full-depth involute geometry, contact ratio/interference, Wt/velocity, basic Lewis bending and pitch-point Hertz stress. Give module OR diametral_pitch; torque OR power+speed. Empirical Lewis table only at 20 deg. Spur only (no helix angle): d = module*teeth, so for a helical gear pass the transverse module m_n/cos(beta). Not an AGMA/ISO 6336 rating.

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": {
      "teeth_1": "<teeth_1>",
      "teeth_2": "<teeth_2>",
      "face_width": "<face_width>"
    },
    "name": "machine_gear"
  }
}

Input Schema

NameRequiredDescriptionDefault
powerNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
speedNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
moduleNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
torqueNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
teeth_1YesPositive whole-number count, at most 100000.
teeth_2YesPositive whole-number count, at most 100000.
poisson_1NoFinite dimensionless coefficient; zero selects the documented automatic value where supported.
poisson_2NoFinite dimensionless coefficient; zero selects the documented automatic value where supported.
face_widthYesPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
load_factorNoFinite dimensionless coefficient; zero selects the documented automatic value where supported.
unit_systemNoOutput units: 'metric' (mm, N, MPa) or 'imperial' (inch, lbf, ksi).metric
lewis_factor_1NoFinite dimensionless coefficient; zero selects the documented automatic value where supported.
lewis_factor_2NoFinite dimensionless coefficient; zero selects the documented automatic value where supported.
pressure_angleNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.20 deg
diametral_pitchNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
youngs_modulus_1NoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
youngs_modulus_2NoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
allowable_bendingNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.
allowable_contactNoPhysical quantity with unit, e.g. '25 mm', '100 N*m', '200 MPa'; optional inputs use ''.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNoNon-quantity payload (reports, listings)
errorNo
valueNoPrimary quantity result
valuesNoAll named quantity results (includes the primary)
warningsNo
artifactsNo
provenanceYesWhat produced the result and from which inputs.
review_statusNounreviewed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden and does well: it reveals the calculation method (basic Lewis bending, pitch-point Hertz), the validity limit of the empirical Lewis table (20 deg only), the absence of AGMA/ISO 6336 rating, and that helical input is unsupported. It does not discuss validity of the interference/contact-ratio results or what the output structure looks like, but the output schema covers the latter.

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 capability, then input rules, then limitations — all in four compact sentences with no filler. The telegraphic notation ('Wt/velocity', 'd = module*teeth') is efficient for an expert but slightly cryptic to a cold reader.

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?

For a 19-parameter analysis tool with no annotations, this covers what an agent needs: the required input combinations, the geometric convention, the method's validity limits, and the explicit disclaimer about rating standards. Return values need not be explained because an output schema exists.

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%, so the baseline is 3; the description exceeds it by explaining which parameters are mutually substitutable (module vs diametral_pitch, torque vs power+speed) and by clarifying the transverse-module convention for helical input. It leaves secondary inputs (poisson ratios, Young's moduli, allowable_bending/allowable_contact, lewis_factor overrides) unmentioned even though several have generic boilerplate schema text.

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 names the exact machine element and configuration ('External spur pair') and enumerates the analyses performed: full-depth involute geometry, contact ratio/interference, tangential load/velocity, Lewis bending, and pitch-point Hertz stress. Scope limits ('Spur only', 'Not an AGMA/ISO 6336 rating') make it immediately distinguishable from any gear-rating sibling.

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?

Explicit invocation guidance is given for the key input combinations: 'Give module OR diametral_pitch; torque OR power+speed.' It also states the when-not case (helical gears) and the workaround (pass transverse module m_n/cos(beta)), plus the accuracy caveat 'Empirical Lewis table only at 20 deg.' No sibling tool is named as an alternative, which keeps it from a 5.

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

Deploy Server

Other Tools