Skip to main content
Glama
KD5RYN

b123d-print-mcp

by KD5RYN

section

Render a PNG cross-section of an assembly or selected parts along an XY, XZ, or YZ plane at a set coordinate to inspect fit, clearances, and internal geometry before printing.

Instructions

Cross-section as a PNG image, each part in its own color. plane: 'XY' (at = Z height), 'XZ' (at = Y) or 'YZ' (at = X), in mm. parts: default the assembly if the script has one (shows fit and clearances), else all printable parts; or comma-separated names (only those are built). size: 'normal' or 'small' (~800 px wide). inline=False returns only the file (over HTTP: its download link), not the image itself. Uses the pieces cached by an earlier build; fresh=True builds them again. 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
atYes
nameYes
sizeNonormal
freshNo
partsNo
planeYes
inlineNo
variantNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.12

TDQS

A3.7/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 discloses important behavior: inline=False returns only a file or HTTP download link, remote files are temporary working copies, and fresh=True rebuilds cached pieces. It also clearly warns not to use ssh, scp, or a shell on the server, though it does not describe permissions or error handling.

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?

The description is dense but front-loaded with the core purpose and key parameter behavior. The remote-server caveat and download_part guidance are relevant, though the text is somewhat run-on and could be more scannable.

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 tool with no annotations, no output schema, and 0% schema description coverage, the description covers most operational behavior including remote file handling, caching, and inline output. It is not fully complete because name and variant are unexplained, but the overall coverage is strong enough for correct invocation in most cases.

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 0%, so the description must compensate, and it does explain plane, at, parts, size, inline, and fresh. However, it leaves the required name parameter and the optional variant parameter undocumented, which is a meaningful gap for an 8-parameter tool.

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 clearly states that the tool produces a cross-section PNG image with each part in its own color, which is a specific resource and output. It does not explicitly distinguish itself from sibling tools such as render_preview, but the cross-section focus makes its purpose unmistakable.

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?

It provides useful context for when parts default to the assembly versus all printable parts, and explains caching and fresh builds. However, it does not explicitly say when to use this tool versus alternatives like render_preview or before_after, so usage guidance is implied rather than fully spelled out.

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