Skip to main content
Glama
C48H74

AutoCAD MCP Server

by C48H74

dxf_info

Read-only

Inspect a DXF file without opening AutoCAD to get version, units, layers, layouts, blocks, dimension styles, and extents. Run it first to confirm units and layer/layout names before editing.

Instructions

Resume um DXF sem abrir o AutoCAD: versão, unidades, camadas, layouts, blocos, estilos de cota, extensão.

QUANDO USAR: primeiro passo antes de qualquer outra ferramenta dxf_*; confirma unidades e nomes de camada/layout. Parâmetros: path = caminho do .dxf dentro das pastas permitidas. Exemplo: dxf_info(path="C:/Users/eu/autocad-mcp-workspace/linha-L12.dxf")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds useful context beyond that: it operates without opening AutoCAD and reports a specific set of structural facts, though it doesn't discuss limits (e.g., very large files).

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-loads the purpose, then layers WHEN-TO-USE, parameters, and a concrete example in labeled blocks. Every line earns its place and nothing is redundant.

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 needn't be detailed, and annotations cover the safety profile. Combined with the stated purpose, usage rule, parameter constraint, and runnable example, an agent has everything needed to invoke it correctly.

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%, so the description must carry the parameter meaning, and it does: path is the .dxf path constrained to 'pastas permitidas'. The worked example reinforces the expected format. It stops short of specifying path syntax or behavior on invalid/out-of-scope paths.

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 ('Resume um DXF') and enumerates exactly what it reports (version, units, layers, layouts, blocks, dimension styles, extension), so an agent knows precisely what it returns. It also positions itself against siblings by being the entry point before any other dxf_* tool.

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 a clear routing rule: use it first, before any other dxf_* tool, to confirm units and layer/layout names. It names the relevant alternative set implicitly but offers no explicit when-not-to-use case, keeping it short of a perfect 5.

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