Skip to main content
Glama
formlabs-local-mcp

formlabs-local-mcp

by mkebiclioglu

export_models

Destructive

Export model geometry from a .form file to STL files in an existing directory, as one file per model or a single scene file, with optional canonical placement mode.

Instructions

Write models to STL files in an existing directory (absolute path): one <model_id><filename_postfix>.stl per model, or with single_file one <scene_id><filename_postfix>.stl. Exports the geometry as imported, without supports, hollowing, labels or drain holes; export_mode CANONICAL_MODEL ignores the model's placement. Use it to get a model back out of a .form file. Models imported from STEP or made by PreForm cannot be exported. Overwrites files with the same names. Needs PreFormServer 3.65.0 or later.

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

Input Schema

NameRequiredDescriptionDefault
folderYes
scene_idNoScene id; omit for the default scenedefault
model_idsNoModels to export; omit for every model in the scene
export_modeNo
single_fileNo
filename_postfixNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.16

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true; the description explains why — 'Overwrites files with the same names' — and adds that geometry is exported as imported, without supports, hollowing, labels or drain holes, plus that CANONICAL_MODEL ignores placement. These are behaviorally material facts an agent cannot derive from the schema or annotations.

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?

Dense but front-loaded, leading with the write action and output path before edge cases and prerequisites. Nearly every clause carries information; only the version requirement placement is slightly awkward relative to the export semantics.

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 a destructive 6-parameter export with no output schema, the description covers destination, naming, filtering defaults implied by siblings, geometry fidelity, overwrite risk, unsupported sources, and a version requirement. Nothing essential to calling it safely is missing.

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 33%, so the description must compensate and largely does: it defines folder as an absolute path to an existing directory, explains single_file's output pattern, and gives the semantic effect of export_mode CANONICAL_MODEL. It leaves model_ids/scene_id defaults and the meaning of NORMAL unstated, but those are partially documented in 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?

A precise verb + resource + output artifact: 'Write models to STL files in an existing directory (absolute path)', with the naming convention spelled out for both the per-model and single_file cases. This clearly separates it from siblings like import_model or send_models_to_scene.

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 a positive use case ('get a model back out of a .form file') and a hard exclusion ('Models imported from STEP or made by PreForm cannot be exported'), plus a version prerequisite. It does not name an alternative sibling for unsupported sources, so it stops short of the explicit when/when-not/alternative triad.

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