Skip to main content
Glama

drawing

Manage AutoCAD drawing files by creating, opening, saving, exporting to DXF or PDF, purging unused objects, and checking extents, layers, blocks, and system variables.

Instructions

Drawing file management.

Operations:
  create     — Create a new empty drawing. data: {name?}
  open       — Open an existing drawing. data: {path}
  info       — Get drawing extents, entity count, layers, blocks.
  save       — Save current drawing. data: {path?} (saves to path if given, else QSAVE)
  save_as_dxf — Export as DXF. data: {path}
  plot_pdf   — Plot to PDF. data: {path}
  purge      — Purge unused objects.
  get_variables — Get system variables. data: {names: [...]}
  undo       — Undo last operation.
  redo       — Redo last undone operation.

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": {
      "operation": "<operation>"
    },
    "name": "drawing"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
operationYes
include_screenshotNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.0

TDQS

B3.4/5.0
Behavior3/5

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

The description adds useful operational context beyond the single readOnlyHint=false annotation, notably the save fallback semantics ('saves to path if given, else QSAVE') and which operations mutate state (purge, undo, redo). It does not disclose what purge destroys, whether save overwrites an existing file, whether undo is reversible, or what the info/plot operations return or cost.

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?

Purpose is front-loaded in one line, followed by a compact, uniformly formatted operation table that is easy to scan. Wording is terse with no filler; the only inefficiency is that the data hints are inconsistent in format across entries.

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

Completeness3/5

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

For a multi-operation dispatch tool with an untyped string operation parameter and no enum, the description does the essential job of enumerating valid operations. It falls short on the undocumented include_screenshot flag, missing payload details for several operations, and the absence of any failure-mode or permission context for a tool that writes, exports, and purges drawing data.

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?

With 0% schema description coverage the description must carry parameter meaning, and it does document the accepted `operation` values and the `data` payload per operation ({name?}, {path}, {names: [...]}), which is substantial. But the payload shapes are only sketched (info, purge, undo, redo show no data at all), and the third parameter `include_screenshot` is never mentioned anywhere, leaving a real gap.

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?

States a specific resource domain ('Drawing file management') and enumerates the ten concrete operations (create, open, info, save, save_as_dxf, plot_pdf, purge, get_variables, undo, redo), so an agent can tell this is the drawing-document lifecycle tool rather than an entity/layer/block editor. It lacks an explicit contrast with siblings, but the operation list itself makes the scope legible.

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

Usage Guidelines3/5

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

The operation list implies when each action is appropriate (e.g., save_as_dxf for export, plot_pdf for output), and the save entry distinguishes path-supplied vs QSAVE behavior. However, there is no explicit when-to-use/when-not guidance relative to the sibling tools (entity, layer, block, view), nor any stated prerequisites such as needing an open drawing first.

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