Skip to main content
Glama
auto-autocad-mcp

auto-autocad-mcp

by xoaicc

sheet build

auto_sheet_build

Builds one AutoCAD layout per index entry, drawing ISO title blocks or project frames, creating missing layouts, and saving the completed sheets to a DWG or DXF output.

Instructions

Draw one layout per index entry: the ISO title block, or the project frame.

A layout is created when it does not exist and drawn into when it does. Sheet numbers default to position/total and the revision to the entry's (the profile's list.default_revision if unset). save writes the drawing once every sheet is drawn.

size and the project frame's own geometry come from the profile (sheets.*) unless given here. frame (a path to X-FRAME-E.dwg) draws the project's own frame instead: the DWG is attached as an external reference on every layout, and the entry's code, title and scale are written into the frame's cells (title_vi and revision fill their cells only when given). That path never writes the drawing the backend is bound to, so save requires output -- a new DWG (COM) or DXF (headless, which cannot write DWG).

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

Input Schema

NameRequiredDescriptionDefault
dateNo
saveNo
sizeNo
frameNo
originNo
outputNo
prefixNo
companyNo
entriesNo
drawn_byNo
revisionNo
title_viNo
checked_byNo
frame_scaleNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

Goes well beyond readOnlyHint=false/destructiveHint=false: it explains create-vs-update semantics for layouts, that save writes the drawing once, that the frame path attaches the DWG as an external reference and never touches the backend-bound drawing, and that headless cannot write DWG. It stops short of saying what happens to content already on a layout that gets 'drawn into'.

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?

Front-loads the core action and then the mode-specific rules, with code formatting isolating profile keys and file names. Dense but nearly every clause carries information; the save/output caveat is slightly buried at the end.

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?

The return values are covered by an output schema, and the risky interactions (frame, save, output, format limits) are explained. However, for a 14-parameter mutation tool with no schema descriptions, half the parameters remain opaque, which is a real gap for correct invocation.

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 carries the full burden and only partly does: size, frame, output, save, revision, title_vi and frame_scale are given real meaning, but date, origin, prefix, company, drawn_by, checked_by and the shape of 'entries' are never explained.

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 verb and resource: 'Draw one layout per index entry', with two modes (ISO title block vs project frame). An agent can tell it is a sheet-drawing tool rather than a discovery or export tool, though no sibling is named to sharpen the contrast.

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?

Usage is implied by the mode branches ('frame' path for the project's own frame, otherwise profile defaults) and by the hard rule that the frame path requires 'output'. There is no explicit when-to-use/when-not guidance and no routing to auto_sheet_discover or auto_sheet_set, so selection still requires inference.

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