Skip to main content
Glama
znk-mcp

znk-mcp

znk_import

Imports STEP, IGES, DXF, DWG, STL, OBJ, or ZNK files by content probing and returns body measurements plus a replayable import recipe; enable mass properties when needed.

Instructions

Import STEP / IGES / DXF / DWG / STL / OBJ / ZNK through znk2_cli (content-probed; extension is not trusted) and return body measurements plus a replayable recipe {kind:"import",file}. Use path or inline text (STEP text is written to a server-side temporary file kept for 7 days); format is an optional hint. Default import path is fast (volume/area/centroid are null); set with_mass=true to measure mass properties. Import does not modify the source file.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "znk_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoabsolute or server-relative file path to import
textNoinline file text (for example STEP), instead of path
formatNooptional extension hint for inline text (content probe wins)
with_massNomeasure volume/area/centroid (slower; default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that content probing overrides the extension hint, that inline STEP text is persisted to a server-side temporary file retained for 7 days, that default imports return null volume/area/centroid, and that the source file is not modified. It omits error behavior, file-size limits, and any auth or permission prerequisites.

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 critical constraints (content probing, non-destructive, fast-by-default) are front-loaded in a compact block with no filler. The first sentence is dense and packs several unrelated facts, which slightly hurts scannability but nothing is wasted.

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 four-parameter import tool with no output schema, the description covers return values (body measurements plus a replayable {kind:"import",file} recipe), side effects, and the measurement trade-off. Missing failure modes and size limits are the only notable gaps.

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, and the description adds real meaning on top: format is only a hint that loses to content probing, with_mass trades speed for measurement, and inline text has a 7-day server-side retention consequence. That goes beyond the schema's own wording.

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 states a specific verb (import) and resource (STEP/IGES/DXF/DWG/STL/OBJ/ZNK files) and explains the content-probed mechanism. It never names a sibling tool or contrasts itself with znk_export or znk_create, so an agent must infer the boundary from the verb alone.

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 gives conditional guidance within the tool (path vs inline text, default fast import vs with_mass=true for mass properties), which is genuinely useful. However, it offers no when-to-use or when-not-to-use guidance relative to alternatives such as znk_create or znk_describe, leaving tool selection implicit.

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