Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_import_dxf

Import a DXF file into a FreeCAD document using an absolute file path, enabling geometry from DXF sources to be reused in CAD workflows.

Instructions

Import a DXF file into a FreeCAD document.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filePath": "<filePath>"
    },
    "name": "freecad_import_dxf"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesAbsolute path to the DXF file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether the DXF is merged into the active document or opened as a new one, how layers/units are handled, whether the operation is destructive to existing content, or what happens on a missing or malformed file. The mutation semantics are only implied by the verb "Import."

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?

One short, front-loaded sentence with no filler or redundancy. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated file-import mutation with no output schema, the description should cover target-document behavior, overwrite/merge semantics, and failure modes. None of that is present, leaving the agent to guess at the most consequential aspects of the call.

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?

There is a single required parameter and the schema documents it fully at 100% coverage ("Absolute path to the DXF file"), so the baseline of 3 applies. The description adds no meaning beyond the schema, such as path format constraints or relative-path behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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: "Import a DXF file into a FreeCAD document." The format name (DXF) distinguishes it from the IGES/STEP/STL/SVG import siblings and the export siblings, so an agent can identify it without opening the schema. It stops short of any explicit sibling differentiation in prose, so it is clear but not exemplary.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus freecad_import_step/iges/stl/svg or the DXF export tools, and no statement of prerequisites such as whether a document must already be open or whether a new one is created. The only usage signal is implicit in the tool name.

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

Deploy Server

Other Tools