Skip to main content
Glama
C48H74

AutoCAD MCP Server

by C48H74

dxf_create

Destructive

Create a new empty DXF file with standard dimension styles and linetypes without opening AutoCAD, then add entities offline.

Instructions

Cria um DXF novo e vazio (com estilos de cota e tipos de linha padrão) sem abrir o AutoCAD.

QUANDO USAR: iniciar um desenho offline (esquema de suporte, folha de detalhe) para preencher com dxf_add_entities. Parâmetros: path (.dxf); units (mm, cm, m, in, ft); version (R2000..R2018); overwrite (padrão false). Exemplo: dxf_create(path="suporte-S12.dxf", units="mm")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
unitsNomm
versionNoR2018
overwriteNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations carry the safety profile (readOnlyHint=false, destructiveHint=true), so the bar is lower. The description still adds real context beyond annotations: it creates an empty file with default dimension/linetype styles, works offline, and notes overwrite defaults to false, which clarifies the write/destructive nature.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose sentence followed by labeled WHEN-TO-USE, Parameters, and Example sections. Every line earns its place with no redundancy.

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?

An output schema exists so return values need no explanation. Purpose, trigger, full parameter semantics, and a usage example together give an agent everything needed to call the tool correctly.

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 coverage is 0%, so the description must compensate and it does: it lists all four params and supplies the enum-like values (mm, cm, m, in, ft), the version range (R2000..R2018), the .dxf extension for path, and the overwrite default. This adds substantial meaning the schema lacks.

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 ('Cria um DXF novo e vazio') with a distinguishing scope qualifier ('sem abrir o AutoCAD') and notes the default styles included. It slots itself into the flow by naming dxf_add_entities as the fill step, so an agent can separate it from other creation siblings.

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?

The 'QUANDO USAR' block gives an explicit trigger (start an offline drawing such as a support schematic or detail sheet) and names the follow-up tool dxf_add_entities. Clear context, though it offers no when-not-to-use or contrasting alternative for online/AutoCAD scenarios.

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