Skip to main content
Glama
KD5RYN

b123d-print-mcp

by KD5RYN

make_template

Create a thin fit-test template cut from a 3D part to verify size, hole pattern, and mating clearances before printing the full part.

Instructions

A fit-test template: a quick thin print cut from the real part (same hole compensation and clearances) to check size, hole pattern and mating fits before printing the whole part. kind: 'slice' (plane XY/XZ/YZ at = Z/Y/X: the part between two planes thickness apart, centered on at), 'face' (face: an id from list_faces, a side such as 'bottom', or 'x,y,z' on it: that flat face with its holes as a plate; a side means the largest face facing that way) or 'crop' (center, size: x,y,z in mm: the part inside that box, with a thin base plate where it needs one; base=False: never). thickness: mm (default 1.2). label: engrave ' ' (default), your own text, or false; skipped when there is no room. The template is laid flat (template face down, Z=0) and checked like a part. Writes template.* in formats (default: the formats setting): 3MF/STL in parts//out/print/templates/, STEP in out/cad/; with png also out/images/<...>_where.png, the part with the template's source in red (returned as the image; inline=False: only the file). Confirm the face or region with the user first (list_faces with highlight). Remote server (HTTP/SSH): the files stay on the server, as a temporary working copy deleted when unused; bring the part home with download_part (one zip in the parts// layout). Never use ssh, scp or a shell on the server: there is none.

Input Schema

NameRequiredDescriptionDefault
atNo
baseNo
faceNo
kindYes
nameYes
partNo
sizeNo
labelNo
planeNo
centerNo
inlineNo
formatsNo
variantNo
thicknessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.12

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it states that files are written to specific paths, that PNG output is returned as an image unless inline=False, and that on remote servers files stay as a temporary working copy deleted when unused. It also warns never to use ssh, scp, or a shell. It doesn't cover failure modes or whether overwriting an existing template is possible.

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?

It is front-loaded and every clause carries information, with no filler. The structure suffers, though: a single dense paragraph of nested parentheticals makes it hard to scan, especially the kind explanation, which could have been bulleted.

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

Completeness4/5

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

For a complex 14-parameter tool with no annotations and no output schema, the description is substantially complete: it covers output locations, formats, the PNG side image, remote-server behavior, and the user-confirmation step. Only variant and the role of part remain unexplained.

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 0%, so the description must compensate, and it does for most of the 14 parameters: kind's three modes, at, face, plane, center, size, thickness, label, formats, base, and inline all receive meaning. However, variant is never explained and part/name are only indirectly implied, leaving real gaps in a large parameter set.

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 defines the artifact precisely: a thin test print from the real part with the same hole compensation, used to check size, holes, and mating fits. It distinguishes itself from siblings by pointing to list_faces for face confirmation and download_part for remote retrieval, though it never quite states a crisp verb+resource like 'Create a fit-test template'.

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

Usage Guidelines4/5

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

It gives an explicit precondition: confirm the face or region with the user first, using list_faces with highlight. It also explains the remote-server workflow and directs the agent to download_part. It lacks when-not-to-use guidance versus check_fit or other verification siblings, but the relevant alternative is named.

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