Skip to main content
Glama
jmcaamanog

multiCAD-mcp-server

manage_files

Create, open, save, close, list, and switch active CAD drawing files (.dwg, .dxf), handling document lifecycle and active-file context for subsequent CAD operations.

Instructions

Open, save, create, close, list, and switch active CAD drawing files (.dwg, .dxf).

Behavior:

  • Mutation: Modifies document collection state. save writes files to disk; new initializes fresh drawing; close unloads drawing from CAD memory.

  • Destructive Actions: Flag close|false as destructive if unsaved changes exist (discards edits without saving).

  • Persistence: Saves document files permanently to disk in DWG or DXF formats.

  • Side Effects: Switches active document context for all subsequent CAD operations.

Usage Guidelines:

  • When to Use: Call to manage CAD file lifecycle (create blank drawing, save backup or work in progress, list open files, close tab, or switch active drawing).

  • Sibling Routing / Alternatives:

    • For plotting or exporting data/measurements into PDF, Excel, or BC3, use export_data.

    • For referencing external drawings without opening them as active editing documents, use manage_xrefs.

    • For CAD connection lifecycle (connecting to CAD software, status, undo/redo), use manage_session.

Shorthand Grammar:

  • new: Create a new blank drawing.

  • save|filename|format: Save drawing to disk (formats: dwg, dxf, pdf. Default: dwg).

  • close|save_changes: Close active drawing (save_changes: true/false. Default: false).

  • list: List all currently open drawings and indicate active file.

  • switch|drawing_name: Switch active document focus to specified open drawing.

Parameters:

  • operations: Shorthand string (one command per line) or JSON array of file operation objects.

Returns: JSON string containing per-operation execution results, active file names, and status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does so well: it states that the tool mutates document-collection state, that save persists to disk, that close|false is destructive and discards unsaved edits, and that switching changes active context for all subsequent operations. The gaps are unmentioned auth/permission requirements and any failure or error semantics.

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?

The definition is front-loaded with the core purpose and then clearly sectioned into Behavior, Usage, Grammar, Parameters and Returns; each block is useful. The Returns block is redundant since an output schema already exists, which keeps it just short of a 5.

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

Completeness5/5

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

For a single-parameter mutation tool with no annotations, the description supplies the behavior, routing, and per-command syntax an agent needs, and return-value detail is already covered by the output schema. Nothing critical for correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 0% for the single required parameter, so the description must compensate, and it largely does: it documents the shorthand grammar for each command (new, save|filename|format with default dwg, close|save_changes default false, list, switch|drawing_name) plus the accepted formats. It is weaker on the alternate 'JSON array of file operation objects' form, whose object fields are never specified.

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 opens with a specific set of verbs (open, save, create, close, list, switch) applied to a named resource (CAD drawing files .dwg/.dxf), so the tool's scope is unambiguous despite the generic name 'manage_files'. It also names the siblings it must not be confused with, letting an agent differentiate without opening any schema.

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?

The 'When to Use' section enumerates concrete triggers (create blank drawing, save work in progress, close tab, switch active drawing) and the 'Sibling Routing' section explicitly assigns alternatives with the condition that selects them: export_data for plotting/export, manage_xrefs for non-active references, manage_session for connection lifecycle.

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