Skip to main content
Glama
auto-autocad-mcp

auto-autocad-mcp

by xoaicc

source list

auto_source_list
Read-only

Rebuild a base drawing list from DWG text grids or a live ACAD_TABLE, then mint project-specific code entries and report issues such as numbering gaps, mismatched towers, or uncoded rows.

Instructions

Rebuild the base design's drawing list and mint the project's own codes.

kind names the reader (the profile's source.kind when left blank). text_grid -- the default -- reads the .dwg headless (the core converts it; the input is never written), rebuilds its text table (the profile's source.layer, e-text by default) row by row. acad_table reads a real ACAD_TABLE instead, through the live seat: the source drawing is brought into AutoCAD and its table read by one AutoLISP call, so the seat is left on that drawing -- the one side effect of this otherwise read-only tool.

Either way each row with a source code becomes a project entry (the profile's codes.prefix). Section headers and rows with no code are reported in issues and left out; a tower/plan mismatch or a numbering gap is reported, not fixed.

order="list" reads the left table then the right one; "row" interleaves them top down. include_catalog=false drops the two drawing-list sheets. With out the list is also written to CSV/XLSX.

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": {
      "path": "<path>"
    },
    "name": "auto_source_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
fmtNo
outNo
kindNo
pathYes
layerNo
orderNolist
sheetNo
include_catalogNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=true: it states the source input is never written, discloses the one side effect (the AutoCAD seat is left on the source drawing in acad_table mode), explains that headers and codeless rows go to 'issues' rather than being fixed, and that tower/plan mismatches and numbering gaps are reported not repaired. Writing to 'out' CSV/XLSX is also surfaced.

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 sentence, then mode and per-parameter behavior follow in a logical block. Density is high and the backtick-heavy register is terse, but nearly every clause carries operational information; only the layer-default aside is minor filler.

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 complex 8-parameter, dual-mode tool with real side effects, the description covers mode choice, side effects, issue reporting, and output writing, and an output schema covers return values. Gaps remain for sheet (multi-sheet selection) and fmt, which matter in a drawing-list rebuild.

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 coverage the description must carry all eight parameters. It explains kind (both values), order (list vs row interleaving), include_catalog, and out, and references the profile defaults for layer. It leaves path, sheet, and fmt entirely unexplained, so it compensates for only about half the surface.

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?

Opens with a specific verb+resource: 'Rebuild the base design's drawing list and mint the project's own codes.' The two reading modes (text_grid via headless .dwg text table, acad_table via live seat) make the operation concrete. It does not explicitly contrast itself with siblings such as auto_drawing_list, so it lands at 4 rather than 5.

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?

It gives real selection guidance between the two modes ('text_grid -- the default' vs 'acad_table reads a real ACAD_TABLE ... through the live seat') and notes include_catalog=false drops the drawing-list sheets. However, there is no statement of when to choose this tool over the sibling drawing-list/export tools, so usage is implied rather than prescribed.

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