Skip to main content
Glama
ShimmyCAD MCP

ShimmyCAD MCP

by ShimmyCane

acad_attach_xref

Attach an existing .dwg file as an external reference at a specified point; set confirm_outside_root=true when the file lies outside the project folder.

Instructions

Attach another DWG as an xref at point. The file must exist and end in .dwg. A file outside this project folder needs confirm_outside_root=true; ask the user first.

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>",
      "point": "<point>"
    },
    "name": "acad_attach_xref"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
pathYes
layerNo
pointYes
confirm_outside_rootNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry behavior, and it does disclose validation constraints (file must exist, must end in .dwg) and a security gate requiring user confirmation for outside-root files. It omits what happens on success, whether existing attachments conflict, and any permission scope.

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?

Two sentences, front-loaded with the primary action and followed by hard constraints. No wasted wording, though the file-existence and extension rules could be merged more tightly.

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?

An output schema exists, so return values need no explanation, and the critical constraints are stated. However, with five parameters at 0% schema coverage and no annotations, the missing semantics for name and layer leave the definition partially incomplete.

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?

Schema coverage is 0%, so the description must compensate. It adds meaning for path (existing .dwg), point (xy attach location), and confirm_outside_root (required for outside-root files), but leaves name and layer entirely undocumented.

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 clear verb + resource: attach another DWG as an xref at a point. The DWG specificity distinguishes it from siblings like acad_attach_image and acad_attach_pdf, though it does not contrast with acad_bind_xref.

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 (attaching an external DWG reference). The only explicit guidance is conditional: a file outside the project folder needs confirm_outside_root=true and user confirmation. There is no when-to-use vs alternatives routing.

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