Skip to main content
Glama
ShimmyCAD MCP

ShimmyCAD MCP

by ShimmyCane

acad_import_block

Copy a block definition from another DWG into the current drawing while leaving the source file read-only; duplicate block names are automatically renamed with a copy suffix.

Instructions

Copy one block definition from another .dwg into this drawing. The source file is only read.

If this drawing already has a block with that name, the copy is named NAME_copy01 (then _copy02, ...). Use acad_list_file_blocks to get the name. If the file is outside the allowed folders, ask the user first, then pass confirm_outside_root=true.

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>",
      "block_name": "<block_name>"
    },
    "name": "acad_import_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
block_nameYes
confirm_outside_rootNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.1/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 burden and does well: it discloses that the source file is read-only, that name collisions produce NAME_copy01/_copy02, and that out-of-root access requires explicit confirmation. It omits whether the current drawing is modified beyond the definition being added, and any permission or failure behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short, front-loaded blocks: the core action, the collision-naming rule, then the prerequisite and confirmation workflow. No redundant or filler sentences.

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?

Output schema exists, so return values need not be explained, and the description covers the non-obvious behaviors (collision renaming, root restriction, name discovery). Remaining gaps are path format and whether a block reference is inserted into the drawing.

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 it largely does: confirm_outside_root gets a full when-to-set explanation, block_name is tied to acad_list_file_blocks output, and path is framed by the allowed-folders constraint. The path format (absolute vs. relative, .dwg extension requirement) is never specified.

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 ('Copy one block definition from another .dwg into this drawing'), which distinguishes it from acad_list_file_blocks and acad_create_block. It does not explicitly contrast with acad_insert_block, so the definition-vs-instance distinction is left implicit.

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?

Gives a concrete prerequisite ('Use acad_list_file_blocks to get the name') and an explicit edge-case procedure for files outside the allowed root (ask the user, then set confirm_outside_root=true). No when-not-to-use or alternative-tool guidance is provided.

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

Deploy Server

Other Tools