Skip to main content
Glama
kerfkit-mcp

kerfkit-mcp

Official
by junixlabs

slot_width

Calculate the slot width needed for a given sheet thickness, clearance and kerf so parts fit, and optionally judge an existing slot as tight, ok or loose or size a dowel hole.

Instructions

Slot width to draw so a sheet of this thickness fits, given the kerf: thickness + clearance - kerf. Optionally judge a slot already drawn (tight / ok / loose) and size a dowel hole.

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": {
      "thickness_mm": "<thickness_mm>"
    },
    "name": "slot_width"
  }
}

Input Schema

NameRequiredDescriptionDefault
kerf_mmNoKerf, default 0.
dowel_mmNoDowel / pin diameter to size a hole for.
drawn_mmNoA slot width already in the file.
clearance_mmNoPlay, default 0.
thickness_mmYesMeasured sheet thickness.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the core formula and judgment categories, but omits return format, rounding behavior, threshold definitions for tight/ok/loose, and whether it writes anything or is purely a calculator.

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?

Front-loads the purpose and formula in one compact sentence, then appends the optional modes. There is no filler, and the dense phrasing still reads as deliberate.

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 simple calculation tool with 100% schema coverage, the description is adequate, but with no output schema and no annotations it should explain what is returned and how tight/ok/loose is decided. Those behavioral details are left unstated.

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 100%, but the description adds meaning by giving the combining formula thickness + clearance - kerf and by tying drawn_mm and dowel_mm to the optional modes. It still leaves threshold logic and dowel-hole sizing rules implicit.

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?

States a specific computation: slot width for a given thickness, clearance, and kerf using an explicit formula. It also identifies optional judging and dowel-hole sizing modes. It does not explicitly differentiate itself from siblings such as check_laser_file or refit_slots, so it falls short of a 5.

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?

Describes optional modes (judge an existing slot, size a dowel hole), which implies usage, but does not state when to choose this tool versus the sibling tools or specify exclusions. The main calculation is clear, but routing guidance is absent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.