Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_export_dxf

Export named FreeCAD objects to a DXF file at a specified absolute path for CAD interchange or downstream processing.

Instructions

Export objects to a DXF file.

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": {
      "objectNames": "<objectNames>",
      "filePath": "<filePath>"
    },
    "name": "freecad_export_dxf"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesAbsolute path for the output DXF file
objectNamesYesNames of objects to export

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about writing to disk: no overwrite/create semantics for filePath, no behavior when an object name does not exist, and no units or DXF version implications. Only the bare fact of producing a DXF is conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and contains no filler. But its brevity is closer to under-specification than to efficient conciseness; a clausal addition naming the source document or output behavior would have earned its place.

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 a file-writing tool with no annotations and no output schema, an agent still needs to know which document the objects are resolved against and how existing files are handled. The definition supplies neither, so it is not complete enough for confident invocation despite the simple two-parameter schema.

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%, with filePath and objectNames both documented in the schema, so the baseline is 3. The description adds no syntax detail beyond the schema — nothing on whether objectNames accepts qualified names or how paths are resolved.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Export objects to a DXF file'), so the basic action is unambiguous. However, it does not differentiate itself from close siblings such as freecad_techdraw_export_dxf or the other format exporters (iges, step, svg), leaving the agent to infer when DXF-from-model is the right choice.

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 exporter versus the TechDraw DXF exporter or other format exports. No prerequisites are mentioned, such as needing an open/active document or pre-existing object names, so the agent must guess the calling context.

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