Skip to main content
Glama

recommend_hardware_pocket

Read-only

Size a 3D-printed pocket for a named hardware part, then grade a drawn pocket against fit, load, material, and printer measurements.

Instructions

Size the pocket for a piece of hardware in a 3D-printed part, and grade one drawn.

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

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": {
      "hardware": "<hardware>"
    },
    "name": "recommend_hardware_pocket"
  }
}

Input Schema

NameRequiredDescriptionDefault
howNo"after_print" (a trap or seat loaded after printing) or "drop_in" (placed at a pause and printed over). Blank lets Kiln decide; any other value is refused by name. Default: "".
countNoHow many of the part share that load. Default: 1.
entryNo"top" (along the bolt axis from a face) or "side" (a slot). Default: "".
load_nNoPull-out load the joint must hold, in newtons.
roof_mmNoPlastic printed over a drop-in, in mm.
wall_mmNoPlastic between the pocket and the outside of the part, in mm.
floor_mmNoPlastic under the pocket, in mm.
hardwareYesThe part as the plan names it, e.g. "M3 nyloc".
materialNoFilament, e.g. PLA, PETG, ABS, ASA, PC, Nylon. Default: "PLA".
printersNoThe registered printers to draw the pocket for: one size per machine from the holes each has measured, plus the one pocket that fits all of them. ``[]`` means every registered printer. Runs on your own Kiln, since Kiln's servers hold no printers.
design_idNoThe design the part belongs to, if it has one in Kiln. Default: "".
torque_nmNoThe torque you intend to tighten to (nuts).
infill_pctNoInfill around the pocket.
version_idNoThe version of the part this pocket is in. Named here and in your report of how the hardware held (record_hardware_outcome), your own report of that same part comes back beside this answer (``own_record``): a hold as your own record, for a pull and a temperature within what it survived, and a failure as a warning Kiln will not vouch past. Your report never changes Kiln's numbers. It is read on your own Kiln. Default: "".
cad_size_mmNoThe pocket as drawn: across flats, hole or diameter.
environmentNoWhere it lives, e.g. "hot car", "outdoor" (inserts). Default: "".
cad_depth_mmNoThe pocket depth as drawn.
through_holeNoTrue when an insert's hole goes right through. Default: false.
measured_size_mmNoCalipers on the part: a nut across flats, an insert's knurl diameter, a magnet's diameter. Beats the table.
screw_through_mmNoThickness of part a screw passes before an insert; given, the answer names the screw to buy.
application_classNoHow much margin the use demands, least to most: prototype, internal_fixture, consumer_product, outdoor_hardware, life_safety, lifting_equipment. Any other value is refused. Default: "consumer_product".
measured_height_mmNoThe part's height with calipers.
cad_slot_thickness_mmNoA side slot's thickness as drawn (nuts).
service_temperature_cNoThe temperature the part lives at, in degrees C; leave out for room temperature. The pocket and the strength figures are for room temperature: where the part lives hotter than Kiln's load data for the plastic reaches, a "holds" becomes "not_vouched" and ``heat`` says why. Also used for comparing with your own reports.
measured_hole_shrink_mmNoHow much smaller your printer makes a hole than drawn (draw 10 mm, measure 9.8 -> 0.2).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.6.0
    • addedInput schema / properties / design_id
      Added value: +{
      +  "description": "The design the part belongs to, if it has one in Kiln. Default: \"\".",
      +  "title": "Design Id",
      +  "type": "string"
      +}
    • addedInput schema / properties / service_temperature_c
      Added value: +{
      +  "description": "The temperature the part lives at, in degrees C; leave out for room temperature. The pocket and the strength figures are for room temperature: where the part lives hotter than Kiln's load data for the plastic reaches, a \"holds\" becomes \"not_vouched\" and ``heat`` says why. Also used for comparing with your own reports.",
      +  "title": "Service Temperature C",
      +  "type": "number"
      +}
    • addedInput schema / properties / version_id
      Added value: +{
      +  "description": "The version of the part this pocket is in. Named here and in your report of how the hardware held (record_hardware_outcome), your own report of that same part comes back beside this answer (``own_record``): a hold as your own record, for a pull and a temperature within what it survived, and a failure as a warning Kiln will not vouch past. Your report never changes Kiln's numbers. It is read on your own Kiln. Default: \"\".",
      +  "title": "Version Id",
      +  "type": "string"
      +}
  2. Changed22 schema fields changedv1.5.1
    • changedInput schema / properties / application_class / description
      Previous value: -"Default: \"consumer_product\"."New value: +"How much margin the use demands, least to most: prototype, internal_fixture, consumer_product, outdoor_hardware, life_safety, lifting_equipment.  Any other value is refused. Default: \"consumer_product\"."
    • addedInput schema / properties / cad_depth_mm / description
      Added value: +"The pocket depth as drawn."
    • addedInput schema / properties / cad_size_mm / description
      Added value: +"The pocket as drawn: across flats, hole or diameter."
    • addedInput schema / properties / cad_slot_thickness_mm / description
      Added value: +"A side slot's thickness as drawn (nuts)."
    • changedInput schema / properties / count / description
      Previous value: -"Default: 1."New value: +"How many of the part share that load. Default: 1."
    • changedInput schema / properties / entry / description
      Previous value: -"Default: \"\"."New value: +"\"top\" (along the bolt axis from a face) or \"side\" (a slot). Default: \"\"."
    • changedInput schema / properties / environment / description
      Previous value: -"Default: \"\"."New value: +"Where it lives, e.g. \"hot car\", \"outdoor\" (inserts). Default: \"\"."
    • addedInput schema / properties / floor_mm / description
      Added value: +"Plastic under the pocket, in mm."
    • addedInput schema / properties / hardware / description
      Added value: +"The part as the plan names it, e.g. \"M3 nyloc\"."
    • changedInput schema / properties / how / description
      Previous value: -"Default: \"\"."New value: +"\"after_print\" (a trap or seat loaded after printing) or \"drop_in\" (placed at a pause and printed over). Blank lets Kiln decide; any other value is refused by name. Default: \"\"."
    • addedInput schema / properties / infill_pct / description
      Added value: +"Infill around the pocket."
    • addedInput schema / properties / load_n / description
      Added value: +"Pull-out load the joint must hold, in newtons."
    • changedInput schema / properties / material / description
      Previous value: -"Default: \"PLA\"."New value: +"Filament, e.g. PLA, PETG, ABS, ASA, PC, Nylon. Default: \"PLA\"."
    • addedInput schema / properties / measured_height_mm / description
      Added value: +"The part's height with calipers."
    • addedInput schema / properties / measured_hole_shrink_mm / description
      Added value: +"How much smaller your printer makes a hole than drawn (draw 10 mm, measure 9.8 -> 0.2)."
    • addedInput schema / properties / measured_size_mm / description
      Added value: +"Calipers on the part: a nut across flats, an insert's knurl diameter, a magnet's diameter. Beats the table."
    • addedInput schema / properties / printers / description
      Added value: +"The registered printers to draw the pocket for: one size per machine from the holes each has measured, plus the one pocket that fits all of them. ``[]`` means every registered printer. Runs on your own Kiln, since Kiln's servers hold no printers."
    • addedInput schema / properties / roof_mm / description
      Added value: +"Plastic printed over a drop-in, in mm."
    • addedInput schema / properties / screw_through_mm / description
      Added value: +"Thickness of part a screw passes before an insert; given, the answer names the screw to buy."
    • changedInput schema / properties / through_hole / description
      Previous value: -"Default: false."New value: +"True when an insert's hole goes right through. Default: false."
    • addedInput schema / properties / torque_nm / description
      Added value: +"The torque you intend to tighten to (nuts)."
    • addedInput schema / properties / wall_mm / description
      Added value: +"Plastic between the pocket and the outside of the part, in mm."
  3. Addedv1.5.0

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety behavior is covered. The description adds that answer depth depends on subscription tier, but it does not explain auth requirements, rate limits, or whether free-tier output is truncated.

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

Conciseness3/5

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

The first sentence is efficient and front-loads the core purpose. The second sentence is a dense inline tier list that reads more like marketing than invocation guidance and is harder to parse, though the overall description is not long.

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?

For a 25-parameter tool with no output schema, the description gives only the high-level purpose and tiered output levels. The rich parameter schema compensates for input gaps, but the description does not explain the grading output or how CAD and measured values are used.

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 25 parameters, so the schema itself carries the parameter semantics. The description adds no parameter-level meaning beyond the schema and does not clarify how the required hardware value interacts with optional measurements; 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 description states specific verbs ('size', 'grade') and a specific resource ('the pocket for a piece of hardware in a 3D-printed part'), and it distinguishes two modes: sizing a new pocket versus grading one that is drawn. It does not differentiate from siblings such as auto_recess_pocket, so it is clear but not fully sibling-aware.

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 explicit when-to-use, when-not-to-use, or alternative-tool guidance. The second sentence discusses subscription tiers rather than invocation context, leaving the agent to infer that this tool is for pocket sizing or grading.

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