Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Electric Drive Sizing

electric_drive_sizing

Size rotary, direct, belt, rack, and screw electric drives from load profiles or generated moves; calculate RMS torque, power, losses, regeneration, and candidate margins.

Instructions

Chapman/Fitzgerald rigid-body power-balance sizing for rotary, direct, belt, rack and screw drives. Piecewise linear load speed and constant external effort; the distance shortcut models strokes_per_cycle strokes (default 1) per cycle_time, so an out-and-back axis needs 2; exact RMS torque/power, gear losses, regeneration and candidate margin CSVs. Constant efficiency and friction; no elastic motion, jerk, inverter losses, cooling dynamics or rating certification. All results are unreviewed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "electric_drive_sizing"
  }
}

Input Schema

NameRequiredDescriptionDefault
dutyNoAll models: separate duration,shaft_torque duty, e.g. 1 s,2 N*m;3 s,0 N*m; at most 100 semicolon-separated rows.
leadNoAxial travel per screw revolution, e.g. 5 mm; required only for screw.
modelNoTransmission model: rotary, direct, belt, rack, or screw; direct is unity-ratio rotary drive.rotary
radiusNoEffective belt pulley or rack pinion radius, e.g. 0.05 m; required only for belt/rack.
profileNoUp to 100 duration,start/end load speed,load effort rows; e.g. 1 s,0 rad/s,2 rad/s,1 N*m; linear uses m/s and N.
distanceNoSigned generated move, e.g. 2 rad for rotary/direct or 1 m for linear models; exclusive with profile.
load_massNoPositive translated mass, e.g. 10 kg; required only for belt/rack/screw.
move_timeNoAll models: rest-to-rest move duration, e.g. 2 s; required with distance.
candidatesNoAll models: name,J,rated/max torque,rated/max speed; e.g. M1,0.01 kg*m^2,2 N*m,5 N*m,100 rad/s,200 rad/s; max 100 rows.
cycle_timeNoWith distance: repeat period, e.g. 4 s (>= strokes_per_cycle*move_time); rest is a zero-speed dwell after each stroke. Blank: no dwell.
dwell_loadNoWith cycle_time: signed external effort held in the dwell, e.g. 2 N*m; default zero (linear gravity always acts).
efficiencyNoTransmission mechanical efficiency, greater than zero and at most 1; applied in both power directions.
gear_ratioNoMotor revolutions per transmission output revolution; positive 0.000001 through 1000000.
load_forceNoLinear models: signed external force for generated motion, e.g. 50 N; not allowed with profile.
load_torqueNoRotary/direct signed external torque for generated motion, e.g. 2 N*m; not allowed with profile.
load_inertiaNoPositive load-side inertia, e.g. 0.2 kg*m^2; required only for rotary/direct.
rated_torqueNoAll models: continuous motor torque, e.g. 5 N*m, for profile and separate duty RMS thermal screening.
gravity_angleNoLinear travel angle above horizontal, e.g. 90 deg; adds m*g*sin(angle); default horizontal.
rotor_inertiaNoAll models: motor rotor inertia, e.g. 0.01 kg*m^2; blank means zero pending candidate selection.
available_torqueNoAll models: available positive shaft torque, e.g. 10 N*m, for conservative acceleration-time estimates.
coulomb_frictionNoResisting Coulomb effort, e.g. 1 N*m for rotary/direct or 10 N for linear travel; defaults to zero.
viscous_frictionNoLoad viscous coefficient, e.g. 1 N*m*s/rad for rotary/direct or 5 N*s/m for linear motion.
acceleration_timeNoAll models: symmetric acceleration/deceleration time, e.g. 0.5 s; blank gives a triangle with half the move time.
strokes_per_cycleNoWith distance: strokes in one cycle_time, 1..4; 2 = out and back (return mirrors speed and load). Default 1: one stroke.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the modeling assumptions (constant efficiency and friction), that gear losses and regeneration are accounted for, that candidate margin CSVs are produced, and the important caveat that 'all results are unreviewed.' It does not state that the tool is a side-effect-free computation or describe the response shape, leaving a small gap.

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?

Three dense sentences, front-loaded with method and scope, with no obvious filler. The jargon-heavy packing (models, shortcuts, outputs, limitations all in one breath) makes it slightly harder to scan than ideal, but every clause carries information.

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?

For a 24-parameter, zero-required, no-output-schema tool, this is close to sufficient: it hints at the outputs produced (RMS torque/power, regeneration, candidate margin CSVs), states the modeling limits, and flags that results are unreviewed. What is missing is confirmation of side effects/return structure beyond CSV mentions.

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 baseline 3 applies, but the description adds genuine meaning: it explains that the distance shortcut treats strokes_per_cycle strokes per cycle_time and that an out-and-back axis therefore needs 2, and ties cycle_time to move_time and dwell behavior. That is real semantic value beyond the schema, though most other parameters are left to the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific method (Chapman/Fitzgerald rigid-body power-balance sizing) and enumerates the exact drive topologies covered (rotary, direct, belt, rack, screw), so an agent knows precisely what is being sized. It stops short of naming sibling tools to contrast with, but the verb+resource pair is concrete and unambiguous.

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?

The applicability context is clear: piecewise linear load profiles with constant external effort, plus the distance/strokes shortcut for stroke-based duty. It also fences off scope (no elastic motion, jerk, inverter losses, cooling dynamics, rating certification), which tells the agent when results are not valid. There are no explicit 'use X instead' alternatives.

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