Skip to main content
Glama

export_file

Export Rhino 3D models to STL for 3D printing, STEP for CAD, or 3DM native format, with options to save all objects or selected ones.

Instructions

导出文件,按扩展名决定格式:.stl(3D 打印)/.step(工业 CAD)/.3dm(Rhino 原生)。

path: 保存路径。不知道确切路径时必须省略、不要传,用默认桌面 base.stl;
绝不要自己拼造 C:\Users\某用户名\... 这类路径(v0.3.0 真机出现过模型
编造用户名导致导出失败)。只有用户明确给了完整路径时才传 path。
object_ids 不填则导出全部对象(.3dm 始终保存整个文档副本)。

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": "export_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
object_idsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses that format is inferred from the file extension rather than a parameter, that .3dm always saves a full document copy, and that a fabricated path containing a made-up username previously broke export in v0.3.0. It does not state overwrite behavior or where files land if the path already exists, so it is not exhaustive.

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 text is short and front-loads the most important fact (format follows extension) before the per-parameter rules. The parenthetical v0.3.0 incident is a minor digression, though it earns some place as a concrete warning against hallucinated paths.

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?

An output schema exists, so return values need not be explained, and both optional parameters are fully characterized for a zero-coverage schema. What remains unaddressed is edge behavior such as overwriting an existing file or the effect of passing a directory instead of a file path.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 supply all parameter meaning, and it does: path is the save location whose extension selects the format, with an explicit default and a real-world prohibition against inventing user paths; object_ids is a filter whose absence means all objects, with the caveat that .3dm ignores it. This goes well beyond the bare string/array schema.

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 opens with a specific verb+resource (export file) and enumerates the exact output formats (.stl for 3D printing, .step for industrial CAD, .3dm for Rhino native), which tells an agent precisely what the tool produces. It does not explicitly differentiate itself from siblings such as capture_viewport, so it stops short of a 5.

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?

Clear conditional guidance for the path parameter: omit it when the exact path is unknown and fall back to the desktop default base.stl, and only pass it when the user supplied a complete path. object_ids likewise has an explicit default (export everything), and .3dm is noted to always copy the whole document. No guidance is offered on when to prefer this tool over viewport capture or script-based export, which keeps it at 4.

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