Skip to main content
Glama
auto-autocad-mcp

auto-autocad-mcp

by xoaicc

sheet discover

auto_sheet_discover
Read-only

Lists drawing-layout sheet pairs under a root folder by opening each DWG, applying include/exclude globs, and skipping empty layouts.

Instructions

List the (dwg, layout) sheets under root, instead of listing them by hand.

Every drawing is opened to read its layouts, so this is a seat job, not a file scan; Model is never a sheet and a layout with no paper (AutoCAD's spare tabs plot on 0x0) is left out unless exclude_empty=false. include / exclude are fnmatch globs against each drawing's path relative to root ("01. Shopdrawing/*.dwg"); an excluded drawing is named in skipped, and one that will not open in issues. Rows are sorted by drawing then layout, so two calls on one tree agree.

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": {
      "root": "<root>"
    },
    "name": "auto_sheet_discover"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootYes
excludeNo
includeNo
max_drawingsNo
exclude_emptyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond readOnlyHint=true the description discloses substantial behavior: every drawing is opened (cost/seat implication), Model is never returned, paperless layouts are dropped unless exclude_empty=false, excluded drawings surface in `skipped`, unopenable ones in `issues`, and ordering is deterministic across calls. This is exactly the operational context annotations cannot carry.

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 purpose and the cost caveat are front-loaded, and the remaining sentences each carry distinct payload (filters, output buckets, sort order). Density is high but no sentence is filler; it could be trimmed slightly by folding the sort-order note into a single clause.

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?

With an output schema present, the description need only cover invocation semantics, and it does: the filtering model, the two drop conditions, the skipped/issues reporting, and determinism. Nothing an agent needs to call this correctly over a large drawing tree is missing apart from the max_drawings cap.

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 description coverage is 0%, so the description must compensate and largely does: include/exclude are explained as fnmatch globs relative to root with a concrete example, and exclude_empty's effect is spelled out. The one gap is max_drawings (default 500), which is never mentioned in the description.

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 precise verb and resource ('List the (dwg, layout) sheets under root'), specifying exactly the tuple-shaped output. It implicitly contrasts with manual listing ('instead of listing them by hand') but never names a sibling such as auto_drawing_list, so the differentiation from neighbouring tools is left to inference.

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?

'Every drawing is opened to read its layouts, so this is a seat job, not a file scan' gives an agent clear context on when this expensive call is warranted versus a cheap file listing. It stops short of naming an explicit alternative tool or stating exclusions, so it sits just under the top band.

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