Skip to main content
Glama

unmake file tools

Render and check a DXF drawing

dxf_render
Read-onlyIdempotent

Render and check a DXF drawing. Reads a DXF drawing (R12-2018, ASCII) with programs and returns each layout as SVG (real size in mm when the file sets its units), PDF (fitted to the layout's paper or a chosen size, scale on paper reported) and PNG, plus the version, units, layouts with sizes, layers (colour, on/off, object counts), blocks with insert counts and a dimension check: every linear, aligned, radius and diameter dimension's printed value compared with the distance between its own definition points. Use when: A DXF drawing has to be seen, printed, converted to PDF/SVG/PNG or its dimensions checked without CAD software. Not for: DWG files (use dwg_to_dxf); binary DXF; 3D solids; editing. File types: dxf. Max 30 MB.

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

Input Schema

NameRequiredDescriptionDefault
optionsNoTool options, if any (see the tool description).
file_urlNoPublic https URL of the file (preferred).
filenameNoFile name with its extension, e.g. part.step.
file_base64NoThe file as base64, for small files without a URL (give filename too).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish read-only, non-destructive, idempotent, open-world behavior; the description adds substantive context beyond them: accepted formats/versions (R12-2018, ASCII only), the max file size, precisely what is computed (dimension printed value vs. actual distance between definition points), and what units the SVG uses when the file declares them. Those are operational facts an agent cannot get from the annotation flags.

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 action and outputs, with exclusions clearly grouped at the end; nothing is padding. The middle sentence is long enough that the SVG/PDF/PNG and inspection details run together, costing some scannability.

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?

There is no output schema, so the description carries full responsibility for return values, and it does describe them thoroughly (per-layout SVG/PDF/PNG plus metadata and a dimension check). The remaining gap is the nested `options` parameter, whose available keys are never specified, which matters for a tool with nested input.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the three file-input parameters are well documented in the schema itself, so the baseline of 3 applies. The description adds only partial meaning to the nested `options` object — hinting that a PDF paper size is choosable — but never enumerates which options exist, so it does not fully compensate for the vague "see the tool description" schema text.

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?

The description states a specific verb and resource ("Render and check a DXF drawing") and then enumerates the exact outputs — SVG real-size in mm, PDF fitted to paper with reported paper scale, PNG — plus version, units, layouts, layers, blocks and a dimension check. An agent can immediately tell this apart from dwg_to_dxf, pdf_to_dxf, or drawing_compare.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit "Use when" clause (view, print, convert to PDF/SVG/PNG, or check dimensions without CAD) and an explicit "Not for" clause that names the alternative for DWG (dwg_to_dxf) and excludes binary DXF, 3D solids, and editing. File type and a 30 MB cap are also given, so inclusion/exclusion conditions are unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources