Skip to main content
Glama

dxf_create

Create a new empty DXF file at a specified path and choose a DXF version from R12 to R2018 to match target CAD software compatibility.

Instructions

创建一个新的空 DXF 文件。

Args: path: 输出文件完整路径(.dxf)。 dxfversion: DXF 版本,可选 R12/R13/R14/R2000/R2004/R2007/R2010/R2013/R2018, 默认 R2010(兼容性最好的常用版本;AutoCAD 2024 全部支持)。 给老软件用就选更老的版本。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
dxfversionNoR2010

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It helpfully discloses the default version and its compatibility rationale, but omits critical file-creation semantics: whether an existing file at 'path' is overwritten or errors, and whether parent directories are created. These gaps are material for a write/create tool with zero annotation coverage.

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?

Front-loaded with the one-line purpose followed by an Args block for exactly the two parameters. It is appropriately sized with little waste; the version list is lengthy but earns its place given the schema has no enum.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter create tool with no output schema, the description covers purpose and both parameters, but omits what the call returns (e.g., the created path or a handle) and the overwrite behavior on an existing path. These omissions leave an agent unable to predict the result of a call.

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 description coverage is 0% and the schema provides no enum or default text, so the description must compensate. It does so well: it names the required full output path (with .dxf extension) and lists the full set of valid dxfversion values with the R2010 default plus selection advice, information absent from the schema itself.

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?

States a specific verb and resource: 'creates a new empty DXF file.' This clearly distinguishes it from siblings like dxf_read, dxf_draw, and dxf_render, which operate on existing files. An agent can identify the create operation without opening the schema.

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?

Usage is implied by the tool name and sibling set (use this to initialize a file before drawing), but the description never explicitly says when to use this versus dxf_read/dxf_draw. The only guidance offered is version-selection advice ('use older versions for old software'), which is parameter guidance rather than tool-selection guidance.

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