Skip to main content
Glama

recommend_running_clearance

Read-only

Recommends the running clearance or gap to model between 3D-printed parts that move against each other, such as pins in bores, gear flanks, slots, or sliding faces.

Instructions

What gap to MODEL between two printed parts that must move.

Needs Kiln Pro.

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": {
      "mating": "<mating>"
    },
    "name": "recommend_running_clearance"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo``"normie"`` (plain English), ``"engineer"`` (full derivation trace), or ``"auto"``. Default: "auto".
briefNoOptional user brief (auto-detects engineer mode).
matingYesWhat is moving against what. ``"pin_in_bore"`` — a pin, shaft or axle turning in a hole; answers a diametral clearance (bore diameter minus pin diameter: the gap on both sides of the pin together). ``"gear_flank"`` — meshing gear teeth; answers tangential backlash (the play of a tooth between both flanks, along the pitch circle), plus the tooth-thinning and centre-distance forms of the same number. ``"slot"`` — a tongue, rail or key sliding in a groove; answers slot width minus tongue width (the gap on both sides of the tongue together). ``"planar_face"`` — two flat faces sliding past each other; answers the gap between them.
materialNoWhat both parts print in (``"PLA"``, ``"PETG"``, ``"ABS"``, ``"ASA"``, ``"Nylon"``, ``"TPU"``). An unrecognised material takes the most conservative row. Default: "PLA".
nominal_mmNoThe feature size, so the answer can be stated in the user's own numbers (for a pin, the bore diameter to draw round a pin of this diameter). Does not change the recommendation.
printer_idNoThe machine it prints on (e.g. ``"bambu_a1"``). Omit it and the answer still comes — just at the widest band, because an unnamed machine has earned no trust.
same_printNo``True`` (default) when both parts come off one job — a print-in-place mechanism, or both parts on the same plate. ``False`` for separate jobs or two different machines, which widens the allowance because their errors no longer share a machine state. Default: true.
pressure_angle_degNoGear pressure angle; used only for ``mating="gear_flank"``. 20 deg unless the gear says otherwise. Default: 20.0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • changedInput schema / properties / mating / description
      Previous value: -"What is moving against what. ``\"pin_in_bore\"`` — a pin, shaft or axle turning in a hole; answers a diametral clearance. ``\"gear_flank\"`` — meshing gear teeth; answers tangential backlash, plus the tooth-thinning and centre-distance forms of the same number. ``\"slot\"`` — a tongue, rail or key sliding in a groove. ``\"planar_face\"`` — two flat faces sliding past each other."New value: +"What is moving against what. ``\"pin_in_bore\"`` — a pin, shaft or axle turning in a hole; answers a diametral clearance (bore diameter minus pin diameter: the gap on both sides of the pin together). ``\"gear_flank\"`` — meshing gear teeth; answers tangential backlash (the play of a tooth between both flanks, along the pitch circle), plus the tooth-thinning and centre-distance forms of the same number. ``\"slot\"`` — a tongue, rail or key sliding in a groove; answers slot width minus tongue width (the gap on both sides of the tongue together). ``\"planar_face\"`` — two flat faces sliding past each other; answers the gap between them."
    • changedInput schema / properties / nominal_mm / description
      Previous value: -"The feature size, so the answer can be stated in the user's own numbers (\"a 6.42 mm bore for a 6 mm pin\").  Does not change the recommendation."New value: +"The feature size, so the answer can be stated in the user's own numbers (for a pin, the bore diameter to draw round a pin of this diameter).  Does not change the recommendation."
  2. Changed8 schema fields changedv1.5.1
    • addedInput schema / properties / brief / description
      Added value: +"Optional user brief (auto-detects engineer mode)."
    • changedInput schema / properties / material / description
      Previous value: -"Default: \"PLA\"."New value: +"What both parts print in (``\"PLA\"``, ``\"PETG\"``, ``\"ABS\"``, ``\"ASA\"``, ``\"Nylon\"``, ``\"TPU\"``). An unrecognised material takes the most conservative row. Default: \"PLA\"."
    • addedInput schema / properties / mating / description
      Added value: +"What is moving against what. ``\"pin_in_bore\"`` — a pin, shaft or axle turning in a hole; answers a diametral clearance. ``\"gear_flank\"`` — meshing gear teeth; answers tangential backlash, plus the tooth-thinning and centre-distance forms of the same number. ``\"slot\"`` — a tongue, rail or key sliding in a groove. ``\"planar_face\"`` — two flat faces sliding past each other."
    • changedInput schema / properties / mode / description
      Previous value: -"Default: \"auto\"."New value: +"``\"normie\"`` (plain English), ``\"engineer\"`` (full derivation trace), or ``\"auto\"``. Default: \"auto\"."
    • addedInput schema / properties / nominal_mm / description
      Added value: +"The feature size, so the answer can be stated in the user's own numbers (\"a 6.42 mm bore for a 6 mm pin\").  Does not change the recommendation."
    • changedInput schema / properties / pressure_angle_deg / description
      Previous value: -"Default: 20.0."New value: +"Gear pressure angle; used only for ``mating=\"gear_flank\"``.  20 deg unless the gear says otherwise. Default: 20.0."
    • addedInput schema / properties / printer_id / description
      Added value: +"The machine it prints on (e.g. ``\"bambu_a1\"``).  Omit it and the answer still comes — just at the widest band, because an unnamed machine has earned no trust."
    • changedInput schema / properties / same_print / description
      Previous value: -"Default: true."New value: +"``True`` (default) when both parts come off one job — a print-in-place mechanism, or both parts on the same plate.  ``False`` for separate jobs or two different machines, which widens the allowance because their errors no longer share a machine state. Default: true."
  3. Addedv1.5.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact not in the annotations: a Kiln Pro entitlement is required. It does not say what happens without Pro (error vs degraded answer), nor anything about output form or latency.

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?

Two short sentences with the purpose front-loaded and no filler. The terseness is a virtue in isolation, though at this length it borders on under-specification rather than tight writing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 8 parameters, four distinct mating geometries, and no output schema, the description should at least indicate what comes back (a number plus units? a derivation?) and what the Kiln Pro gate means for failure. "Needs Kiln Pro" is left unexplained, and the tool's complexity is not matched by the two-line description.

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 description coverage is 100% and the per-parameter text is unusually rich (mating enumerates four geometries and the exact quantity returned for each; material, printer_id and same_print explain their effects). The description adds nothing beyond that, so the baseline 3 applies.

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

Purpose3/5

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

"What gap to MODEL between two printed parts that must move" identifies the resource (running clearance) and the domain (moving printed parts), but the verb is oblique and it never names the specific operation (recommend a numeric clearance for a mating pair) nor distinguishes itself from neighbours like recommend_hole or recommend_joint_strategy. An agent gets the gist but must open the schema to confirm what is actually produced.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is a prerequisite ("Needs Kiln Pro"), with no statement of when to pick this over the many other recommend_* siblings, and no exclusions. The mating parameter in the schema hints at applicability, but the description itself leaves selection entirely 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