Skip to main content
Glama

Review Manufacturability

dfm_review
Read-onlyIdempotent

Use this when you need a manufacturability (DFM) report before printing or machining a part: returns a pass/fail checklist, no dfmSpec(...) needed. Pass { file | code } and optional processes (default ['fdm', 'cnc']). FDM 3D printing checks: fdm.overhangs (unsupported overhang steeper than max_overhang_deg, default 45° from vertical), fdm.bridging (bridges over max_bridge_mm, default 10), fdm.min-wall (walls under 2 × nozzle_mm, default 0.4 mm nozzle), fdm.min-hole (holes under 5 × nozzle), fdm.min-pin (warn), fdm.bed-fit (printer profile bed, default generic-fdm), fdm.bed-contact (warn). CNC 3-axis milling checks: cnc.undercuts (surface unreachable from approach_axes, default ['+z']; list several axes for several setups) and cnc.internal-corner-radius (sharp internal corners and fillets smaller than the end-mill radius, tool_diameter_mm default 6). Returns { ok, verdict: 'pass'|'fail', checks: [{ id, process, part, status: 'pass'|'fail'|'warn', summary, value?, limit? }], fdm?, cnc?, diagnostics }. Settings from the script's dfmSpec({ process: 'fdm' }) are used as defaults; call options win. For the script-declared gates (clearance, voids, channels) use verify({ check: 'dfm' }).

Input Schema

NameRequiredDescriptionDefault
codeNoInline kernelCAD script source.
fileNoPath to a .kcad.ts script file. Hosted server: cannot read files from your machine — pass `code`, or `project:<slug>` for a saved project.
printerNoFDM printer profile id for the bed-fit check. Default 'generic-fdm'.
nozzle_mmNoFDM nozzle diameter, mm. Default 0.4.
processesNoProcesses to review. Default ['fdm', 'cnc'].
approach_axesNoCNC tool approach directions, one per setup (the tool comes from that side). Default ['+z'].
max_bridge_mmNoFDM longest unsupported bridge, mm. Default 10.
build_directionNoFDM part-local axis pointing up from the bed. Default '+z'.
max_overhang_degNoFDM steepest printable overhang, degrees from vertical (0 = wall, 90 = flat ceiling). Default 45.
tool_diameter_mmNoCNC end-mill diameter, mm. Default 6.
max_undercut_area_mm2NoCNC unreachable area tolerated before cnc.undercuts fails, mm². Default 1.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly/idempotent/non-destructive), and the description adds substantial context beyond them: the exact checks run, their thresholds and defaults, the pass/fail/warn outcome space, diagnostics, and the precedence rule that dfmSpec settings act as defaults while call options win.

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-loaded with the use case and return shape, then organized by process (FDM block, CNC block, return shape, precedence). It is dense and list-heavy, but every clause carries operational information and nothing is redundant with the title.

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?

For an 11-parameter, zero-required, multi-check tool this covers everything an agent needs: input alternatives, defaults, per-check trigger conditions, result shape and the sibling to use for a different class of checks. The output schema exists, but the description's restatement of verdict/checks semantics is additive rather than filler.

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 coverage is 100%, so the baseline is 3; the description still earns credit by explaining derived semantics the schema cannot, e.g. that min-wall triggers under 2 × nozzle_mm and min-hole under 5 × nozzle, and that listing several approach_axes corresponds to several CNC setups. Some defaults (printer, max_bridge_mm, tool_diameter_mm) are simply restated from the schema.

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 and resource ('returns a pass/fail checklist' for a 'manufacturability (DFM) report') and bounds the scope to pre-printing/machining review. It also distinguishes itself from the nearest sibling by explicitly routing script-declared gates to verify({ check: 'dfm' }).

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

Usage Guidelines5/5

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

Opens with an explicit when-to-use trigger ('before printing or machining a part') and names the alternative with its selecting condition ('For the script-declared gates ... use verify'). It also clarifies that no dfmSpec(...) declaration is needed, removing the most likely invocation mistake.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.