Skip to main content
Glama

add_sprocket

Create a static roller-chain sprocket plate from tooth count, chain pitch, and roller diameter to produce a mating sprocket for chain drive layouts.

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.2/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 behavioral burden and does so well: it discloses the approximation nature, the exact construction recipe, that bore is 0 (no shaft hole), and enumerates the returned fields. It does not explicitly state document-mutation side effects, but 'Add' plus the return handle makes the create semantics clear.

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-loads parameters, then build method, then return semantics — a sensible order with units on every numeric. The build-recipe paragraph is slightly verbose for an LLM caller but every clause adds actionable information rather than filler.

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 6 params, no output schema and no annotations, the description supplies everything needed: parameter meanings, the derived return values (pitch_diameter, tip_radius), the mating semantics with chain and centre distances, and the known limitation. Nothing required to call it correctly is missing.

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 description coverage is 0%, so the description must compensate, and it does for 5 of 6 params with units and constraints (teeth >= 3, chain_pitch in mm with #40 example, roller_diameter in mm, height default 6.0, placement [x,y,z] mm). Only 'name' is left undocumented, and its title/default make it self-evident.

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?

States a specific verb+resource ('Add a roller-chain sprocket (ISO 606 / ANSI)') and immediately scopes it as 'built as a static solid plate', which sets it apart from sibling generators like add_gear, add_pulley and add_rack. An agent can identify it without opening the schema.

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 the mating/geometry context and the note that it is a 'fit/visualisation approximation... not a load-rated profile', which effectively tells the agent when this is appropriate. However it never explicitly names alternatives (add_gear, chain_drive) or states exclusions, leaving routing to inference.

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