Skip to main content
Glama

Add Sprocket

add_sprocket

Create a static solid roller-chain sprocket from tooth count, chain pitch, and roller diameter, conforming to ISO 606/ANSI. Outputs pitch diameter and volume for chain-drive design.

Instructions

Add a roller-chain sprocket (ISO 606 / ANSI), built as a static solid plate.

teeth: tooth count (>= 3). chain_pitch: chain link pitch in mm (e.g. 12.7 for #40 / ANSI 40 chain). roller_diameter: chain roller diameter in mm. height: plate thickness in mm (default 6.0). placement: optional [x, y, z] mm translation.

Build: a disc of tip radius ~= pitch_radius + chain_pitch*0.3 with teeth roller seats (circular pockets, radius roller_diameter/2 * 1.05) cut on the pitch circle, one per tooth. This is a fit/visualisation approximation of the true ISO 606 tooth form, not a load-rated profile.

Returns {handle, name, volume, pitch_diameter, chain_pitch, teeth, tip_radius, bore}. pitch_diameter (mm) = chain_pitch / sin(pi/teeth) and chain_pitch are the MATING numbers: a chain of the same chain_pitch wraps the sprocket, and the centre distance between two sprockets derives from their pitch_diameters. bore is 0 (no shaft hole cut yet — drill one with the hole command).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoSprocket
teethYes
heightNo
placementNo
chain_pitchYes
roller_diameterYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The description reveals important behavior beyond annotations: it produces a static solid plate, uses an approximate ISO 606 tooth form, is only for fit/visualisation, and returns a bore of 0. This adds meaningful context that annotations do not provide, and nothing contradicts the readOnlyHint/destructiveHint flags.

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

Conciseness5/5

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

The description is structured into compact sections: purpose, parameter meanings, construction approach, and return values. Every sentence adds useful information, and despite its length, there is no filler or repetition.

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?

Given that there is no output schema and no parameter descriptions, the description provides everything needed to call the tool correctly: parameter semantics, defaults, construction behavior, and a full return-object explanation. It even explains the mating relationship between pitch diameter and chain pitch.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates. It defines teeth with a minimum constraint, chain_pitch with a concrete example, roller_diameter as chain roller diameter, height with a default, and placement as an optional [x, y, z] mm translation. This adds substantial meaning the schema alone lacks.

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 uses a specific verb and resource: 'Add a roller-chain sprocket (ISO 606 / ANSI), built as a static solid plate.' This clearly differentiates it from sibling tools like add_gear and add_pulley by naming the exact mechanical component and standard.

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 description gives clear context for when to use it: whenever a roller-chain sprocket is needed. It also includes a when-not limitation ('not a load-rated profile') and a follow-up command (drill the bore with `hole`), though it does not explicitly contrast it against sibling part-creation tools.

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