Skip to main content
Glama

workbench_dwg_bridge

Converts DXF to DWG or DWG to DXF through a separately installed LibreCAD CLI, with status and probe checks, plus verified read-back before reporting a written file.

Instructions

Optional offline DWG/DXF exchange via a separately installed LibreCAD CLI.

status reports whether the executable is found; probe performs a real
minimal DXF -> DWG -> DXF round trip. Neither claims DWG support without
evidence. convert writes one file under outputs/dwg-bridge, refusing to
overwrite, and accepts the result only after reading the artifact back
(DWG header signature, or ezdxf parse for DXF). LibreCAD is GPL-2.0 and is
never bundled or linked here; the user installs it separately. On Windows
the GUI executable returns before the conversion ends and sets no exit
code, so process success is never used as proof. Converted files are
exchange artifacts: geometry fidelity, standards compliance and delivery
acceptance remain unverified. No AutoCAD connection is made or required.

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

Input Schema

NameRequiredDescriptionDefault
sourceNo
targetNo
timeoutNo
versionNo
directionNo
operationNostatus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations at all, the description carries the entire behavioral burden and does so well: it states that overwrites are refused, that outputs land under outputs/dwg-bridge, that success is only accepted after reading the artifact back, and that Windows GUI exit codes are explicitly ignored as proof. It also discloses the GPL-2.0 dependency, the separate-install prerequisite, and that geometry fidelity and delivery acceptance remain unverified.

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?

It is front-loaded with the purpose and then walks operation by operation; nearly every sentence adds substantive information. Slight redundancy between 'separately installed' and 'the user installs it separately' and between 'Optional' and the install caveat keeps it short of perfect.

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?

For a six-parameter tool with no annotations and no output schema, the description covers prerequisites, mutation safety, verification method, and known limitations (fidelity, Windows exit codes). The remaining gap is return-value shape and the meaning of source/target/timeout/version, which an agent would still have to infer.

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 0% across six parameters, so the description must compensate. It explains the operation enum's three values well and implies the direction via the DXF->DWG->DXF round trip, but it never mentions source, target, timeout, or version, so the input-path semantics, timeout units/effect, and version selection remain undefined.

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 opening sentence names a specific verb and resource (offline DWG/DXF exchange via a LibreCAD CLI), and the body enumerates the three concrete operations (status, probe, convert) with what each produces. The closing note that no AutoCAD connection is made distinguishes it from the cad_* connection-oriented siblings.

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?

It gives clear contextual guidance for each operation: status to check whether the executable is found, probe to verify a real round trip, convert to produce a file. The 'No AutoCAD connection is made or required' line implicitly routes live-CAD work to other tools, but no explicit exclusions or named alternatives are given.

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