Skip to main content
Glama

Import a DXF drawing

import_2d

Import a DXF as a new project, extruded into solid geometry. Unlike a mesh import this stays PARAMETRIC — every closed outline becomes an extrude node whose profile and height you can then edit, so a drawing someone sent you becomes a model you can change. The response reports what the file declared its units to be, and names any entity types it contains that were not read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoAn https address we fetch server-side. For a file already on the web.
nameNoProject name.
base64NoThe .dxf file bytes, base64-encoded. Max 6 MB decoded. Only usable if your own CODE fills this in — if the file is on disk, call create_upload and send `ticketId` instead.
heightNoExtrusion depth in mm (default 5, minimum 0.1).
ticketIdNoA create_upload ticket, minted for `dxf`, whose file has been PUT.
unitFactorNoMillimetres per file unit, overriding what the file declared. Set this only after reading the reported unit and finding it wrong — most DXFs declare one correctly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the write/network profile is covered. The description adds genuinely useful behavior beyond that: closed outlines become editable extrude nodes, and the response reports declared units and unread entity types.

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 core verb and resource, and each sentence carries information (parametric behavior, editable nodes, response contents). Slightly dense with three long clauses in the middle, but nothing is wasted.

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?

No output schema exists, yet the description compensates by describing what the response reports (declared units, unread entity types). Combined with full schema coverage and annotations covering safety, the definition is sufficient for correct invocation.

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 description coverage is 100% across all six parameters, so the schema already documents url, base64, ticketId, height and unitFactor including the create_upload routing and the 6 MB limit. The description's unit-reporting sentence reinforces unitFactor's role but adds no new parameter syntax. Baseline 3 applies.

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 ('Import a DXF as a new project, extruded into solid geometry') and immediately differentiates itself from the sibling import_model by contrasting parametric vs mesh behavior. An agent can select it correctly 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 Guidelines4/5

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

The contrast with mesh import ('Unlike a mesh import this stays PARAMETRIC') gives clear context for when this tool is the right choice. However it stops short of explicitly naming import_model as the alternative or stating exclusions, leaving the routing to inference.

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