Skip to main content
Glama
b123d-print-mcp

b123d-print-mcp

by KD5RYN

download_part

Retrieves a complete part from a remote server as a zip in the local parts/ layout, including script, selected exports/renders/sections, and reference models.

Instructions

Bring a whole part home from a remote server, in the same layout a local install writes: parts//.py, parts//out/ (exports, renders, sections) and parts//ref/ (reference models). Over HTTP: ONE signed link (no token needed, expires) to a zip of all of it; run curl -fLo <name>.zip '<link>' and unzip it in the project folder, then check the files are there. Over SSH: the b123d-print pull command that writes the same files. Locally (stdio): says where the files already are. variant: only that variant's out/ files ('standard' = ''); formats: only those out/ files (step, stl, 3mf, png, glb, print, hardware, bom, bom_csv, spec); the script and ref/ always come. Over HTTP it also gives the 3D view links of the views export wrote (in a browser, no token). embed=True also puts the zip (up to 8 MB) into the result (over HTTP and SSH), for clients whose shell has no network (Antigravity/agy) or that can neither fetch URLs nor read resources: unzip it from where the client saved it. Call it as the last step of remote work, before reporting: a part is not done until its files are on the user's machine. 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.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
embedNo
formatsNo
variantNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.12

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so: it discloses that HTTP returns a single signed link that expires and needs no token, that SSH uses b123d-print pull, that server-side files are a temporary working copy deleted when unused, and that embed=true injects a zip capped at 8 MB into the result. These are non-obvious operational facts (auth model, size cap, side effects) found nowhere in the schema.

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?

Purpose is front-loaded in the first clause and the rest is organized by transport, which suits the branching behavior. It is dense with real information rather than filler, but the parts/<name>/ layout is restated at the end ('one zip in the parts/<name>/ layout') after already being spelled out, and the per-format list is bulky.

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?

Given no annotations, no output schema, and four parameters, the description covers everything an agent needs to call it correctly: transport-specific mechanics, required ordering in a workflow, filtering semantics, the embed escape hatch, and the constraint that no server shell exists. Nothing material is left for the caller to guess.

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 0%, so compensation is required, and the description delivers for variant ('only that variant's out/ files', with 'standard' = ''), formats (enumerating step, stl, 3mf, png, glb, print, hardware, bom, bom_csv, spec and noting that script and ref/ always come), and embed (zip up to 8 MB in the result, with the reason: clients lacking network). It does not state whether formats is comma-separated or repeated, and never explicitly defines name, which keeps this from a 5.

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 verb and resource are stated precisely and concretely: 'Bring a whole part home from a remote server,' with the exact resulting layout (parts/<name>/<name>.py, out/, ref/). An agent immediately knows this is a file-materialization tool, not a build or edit tool. It loses a point only because it never names a specific sibling (read_part, export, write_part) to contrast against, so the boundary with those tools is left to inference.

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?

Explicit when-to-use is given per transport ('Over HTTP… Over SSH… Locally (stdio)…'), plus a strong ordering rule: 'Call it as the last step of remote work, before reporting: a part is not done until its files are on the user's machine.' It also supplies a hard exclusion ('Never use ssh, scp or a shell on the server: there is none'), which is exactly the when-not guidance that prevents a common wrong move.

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