Skip to main content
Glama

recommend_hole

Read-only

Calculates drill-hole size and fit for screws, rods, bearings, cables, or inserts based on material, print orientation, and clearance needs, with warnings for depth, wall, and edge risks.

Instructions

Tell me what size hole to drill for something to fit through.

Free door, tiered answer — Free: Warnings — always free · Pro: Sizing and fit for the hardware you bought · Business: + Per-machine fit, validation tests and QC plans across your fleet · Enterprise: + Child-safety & supplier vetting for magnets.

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": "recommend_hole"
  }
}

Input Schema

NameRequiredDescriptionDefault
fitNo``"press"`` (interference, smaller hole than thing — for press-fit bearings, magnets, pins; a heat-set insert is sized by name, see above), ``"transition"`` (slip-fit, downgrades to ``close`` on FDM with a notice), ``"close"`` (snug slip-through), ``"normal"`` (general assembly, default), ``"loose"`` (alignment-tolerant). Default: "normal".
materialNo``"PLA"``, ``"PETG"``, ``"ABS"``, ``"ASA"``, ``"Nylon"``, ``"TPU"``. Default: "PLA".
print_axisNo``"xy"`` (hole axis horizontal, normal case) or ``"z"`` (hole axis vertical along the print build direction — extra shrinkage applied). Default: "xy".
printer_idNoPrinter identifier (e.g. ``"bambu_a1"``). Required for the threaded table to apply; also enables slicer-calibration overrides on the clearance path. Default: "".
screw_nameNoCatalog name (``"M3"``, ``"1/4-20"``). Use this for known fasteners. A screw size Kiln has no record of, sent with ``thing_diameter_mm`` (the thread's outside diameter, measured), is sized from that measurement, and the answer's ``note`` says so. Default: "".
thing_typeNo``"screw"``, ``"rod"``, ``"cable"``, ``"bearing"``, ``"dowel_pin"``, ``"led"``, ``"press_fit_insert"``, ``"shaft"``, ``"tube"``, ``"generic"``. Cables get extra slack added. Default: "generic".
hole_purposeNo``"clearance"`` (default — screw slips through), ``"self_thread"`` (machine screw threads into plastic), ``"self_tap"`` (self-tapping BT screw forms its own thread), or ``"counterbore"`` (the pocket that sinks a socket-head cap screw's head; size from ``screw_name``). The two threaded modes read the size from ``screw_name`` and are answered only for Bambu X1 / P1 / A1 printers printing PLA or PETG; for any other printer or material use a clearance hole here and ``recommend_joint_strategy``. Default: "clearance".
hole_depth_mmNoThe hole's depth in mm. Given, the answer warns when the hole is too deep for its width to print cleanly, and (for a counterbore) when the pocket is shallower than the head or deeper than the key reaches. Default: 0.0.
blind_or_throughNo``"blind"`` (closed bottom — may trap support material) or ``"through"`` (default). Default: "through".
edge_distance_mmNoDistance from the hole's centre to the nearest edge of the part, in mm. Given, the answer warns when the hole sits close enough to the edge to bulge the wall. Default: 0.0.
thing_diameter_mmNoFree-form diameter (mm). Use this for non-screw things (rods, cables, bearings) or custom-size screws not in the catalog. Default: 0.0.
wall_thickness_mmNoThe plastic around the hole, in mm. Given, the answer warns when the wall is too thin for the hole (for a heat-set insert, judged by that insert's own rule). Default: 0.0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • changedInput schema / properties / screw_name / description
      Previous value: -"Catalog name (``\"M3\"``, ``\"1/4-20\"``). Use this for known fasteners. Default: \"\"."New value: +"Catalog name (``\"M3\"``, ``\"1/4-20\"``). Use this for known fasteners.  A screw size Kiln has no record of, sent with ``thing_diameter_mm`` (the thread's outside diameter, measured), is sized from that measurement, and the answer's ``note`` says so. Default: \"\"."
  2. Changed12 schema fields changedv1.5.1
    • changedInput schema / properties / blind_or_through / description
      Previous value: -"Default: \"through\"."New value: +"``\"blind\"`` (closed bottom — may trap support material) or ``\"through\"`` (default). Default: \"through\"."
    • changedInput schema / properties / edge_distance_mm / description
      Previous value: -"Default: 0.0."New value: +"Distance from the hole's centre to the nearest edge of the part, in mm.  Given, the answer warns when the hole sits close enough to the edge to bulge the wall. Default: 0.0."
    • changedInput schema / properties / fit / description
      Previous value: -"Default: \"normal\"."New value: +"``\"press\"`` (interference, smaller hole than thing — for press-fit bearings, magnets, pins; a heat-set insert is sized by name, see above), ``\"transition\"`` (slip-fit, downgrades to ``close`` on FDM with a notice), ``\"close\"`` (snug slip-through), ``\"normal\"`` (general assembly, default), ``\"loose\"`` (alignment-tolerant). Default: \"normal\"."
    • changedInput schema / properties / hole_depth_mm / description
      Previous value: -"Default: 0.0."New value: +"The hole's depth in mm.  Given, the answer warns when the hole is too deep for its width to print cleanly, and (for a counterbore) when the pocket is shallower than the head or deeper than the key reaches. Default: 0.0."
    • changedInput schema / properties / hole_purpose / description
      Previous value: -"Default: \"clearance\"."New value: +"``\"clearance\"`` (default — screw slips through), ``\"self_thread\"`` (machine screw threads into plastic), ``\"self_tap\"`` (self-tapping BT screw forms its own thread), or ``\"counterbore\"`` (the pocket that sinks a socket-head cap screw's head; size from ``screw_name``).  The two threaded modes read the size from ``screw_name`` and are answered only for Bambu X1 / P1 / A1 printers printing PLA or PETG; for any other printer or material use a clearance hole here and ``recommend_joint_strategy``. Default: \"clearance\"."
    • changedInput schema / properties / material / description
      Previous value: -"Default: \"PLA\"."New value: +"``\"PLA\"``, ``\"PETG\"``, ``\"ABS\"``, ``\"ASA\"``, ``\"Nylon\"``, ``\"TPU\"``. Default: \"PLA\"."
    • changedInput schema / properties / print_axis / description
      Previous value: -"Default: \"xy\"."New value: +"``\"xy\"`` (hole axis horizontal, normal case) or ``\"z\"`` (hole axis vertical along the print build direction — extra shrinkage applied). Default: \"xy\"."
    • changedInput schema / properties / printer_id / description
      Previous value: -"Default: \"\"."New value: +"Printer identifier (e.g. ``\"bambu_a1\"``). Required for the threaded table to apply; also enables slicer-calibration overrides on the clearance path. Default: \"\"."
    • changedInput schema / properties / screw_name / description
      Previous value: -"Default: \"\"."New value: +"Catalog name (``\"M3\"``, ``\"1/4-20\"``). Use this for known fasteners. Default: \"\"."
    • changedInput schema / properties / thing_diameter_mm / description
      Previous value: -"Default: 0.0."New value: +"Free-form diameter (mm).  Use this for non-screw things (rods, cables, bearings) or custom-size screws not in the catalog. Default: 0.0."
    • changedInput schema / properties / thing_type / description
      Previous value: -"Default: \"generic\"."New value: +"``\"screw\"``, ``\"rod\"``, ``\"cable\"``, ``\"bearing\"``, ``\"dowel_pin\"``, ``\"led\"``, ``\"press_fit_insert\"``, ``\"shaft\"``, ``\"tube\"``, ``\"generic\"``.  Cables get extra slack added. Default: \"generic\"."
    • changedInput schema / properties / wall_thickness_mm / description
      Previous value: -"Default: 0.0."New value: +"The plastic around the hole, in mm.  Given, the answer warns when the wall is too thin for the hole (for a heat-set insert, judged by that insert's own rule). Default: 0.0."
  3. Addedv1.5.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description's only added behavioral content is that the answer is tiered — free yields warnings only, higher tiers add sizing/fit, per-machine validation and supplier vetting — which is genuinely useful context about partial answers, though it is framed as marketing rather than as a clear behavioral rule.

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

Conciseness2/5

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

The opening sentence is serviceable, but roughly half the text is a Free/Pro/Business/Enterprise upsell ladder that conveys no invocation guidance and reads as promotional noise. The first-person phrasing ('Tell me...') is also inconsistent with an operational tool description.

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

Completeness3/5

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

With 12 parameters, no output schema, and a tool whose answer is tier-dependent, the description should at least characterise what the caller gets back; the tier copy gestures at warnings versus sizing and QC outputs but never states the response shape or units. Parameter coverage is fully handled by the schema, so the gap is limited to output expectations and gating conditions.

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% across all 12 parameters, with enum values, defaults and conditional logic (e.g. screw_name vs thing_diameter_mm, Bambu-only threaded modes) already spelled out in the schema. The description adds no parameter-level meaning 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.

Purpose4/5

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

The opening sentence states a concrete deliverable — a recommended drill hole size for a thing to pass through — which is specific enough for an agent to know what the tool produces. However, it offers no differentiation from plausible siblings such as design_hole_for_product or recommend_hardware_pocket, and the remaining sentences are a tier/paywall pitch rather than further clarification of purpose.

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?

There is no statement of when to choose this tool over alternatives, no prerequisites, and no exclusions. The tiered copy describes answer depth by subscription level rather than guiding tool selection; any routing hints (e.g. use a clearance hole plus recommend_joint_strategy for unsupported printers) live only in the schema, not the description.

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