Skip to main content
Glama
C48H74

AutoCAD MCP Server

by C48H74

dxf_create_layout

Destructive

Create a paper-space layout in a DXF file with scaled viewports that frame model geometry, so you can assemble a print sheet before exporting to PDF.

Instructions

Cria um layout (folha) de papel num DXF, com viewports que enquadram o modelo em escala.

QUANDO USAR: montar a folha de impressão antes de dxf_export (PDF). Parâmetros: path; name; paper (A4, A3, A2, A1, A0); landscape; margins_mm; output_path; viewports [{center:[x,y] no papel, width, height em mm, view_center:[x,y] no modelo, scale: papel/modelo (0.01 = 1:100)}]. Exemplo: dxf_create_layout(path="a.dxf", name="Folha1", paper="A3", viewports=[{"center":[210,148],"width":380,"height":260,"view_center":[750,0],"scale":0.1}])

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
pathYes
paperNoA3
landscapeNo
viewportsNo
margins_mmNo
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the agent knows this mutates data. The description adds useful scope detail (viewports, paper, scale) but never explains why the operation is destructive, nor whether it modifies `path` in place versus writing to `output_path`, which matters for a destructive tool.

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 purpose, then a clearly labeled QUANDO USAR line, a parameter line, and a concrete example. It is dense but every section earns its place; the long parameter line is slightly dense but justified at 0% schema coverage.

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 an output-schema-bearing tool, return values need no explanation, and the description covers purpose, usage ordering, all parameters, and an example. The only real gap is the in-place vs output_path write behavior, which is not disambiguated.

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 carries the full burden and does so: it enumerates all seven parameters, gives the allowed paper values (A4–A0), and defines the nested viewport object fields (center, width, height, view_center, scale) including the non-obvious scale convention (0.01 = 1:100). The worked example reinforces the semantics.

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 layout (folha) de papel num DXF") plus the scope of what the layout contains (viewports framing the model at scale). It is clearly distinguishable from siblings like dxf_create or dxf_export.

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?

"QUANDO USAR: montar a folha de impressão antes de dxf_export (PDF)" gives explicit ordering guidance and names the downstream sibling, which is exactly what an agent needs for sequencing. No when-not condition or exclusion is offered, so it falls short of a 5.

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