Skip to main content
Glama

autocad_insert_block

Insert a block reference into an AutoCAD drawing by block name or external DXF/DWG file; specify insertion point, scale, rotation, layer, and attributes.

Instructions

Insert a block reference, by name (already defined in the drawing) or by an external drawing file path to import.

Args: params (InsertBlockInput): - name (str): block name, or a path to an external '.dxf' file (COM backend also accepts '.dwg'). - insertion_point (Point), x_scale/y_scale/z_scale (float > 0, default 1.0). - rotation (float): DEGREES, counter-clockwise positive (default 0). - layer (str): default '0'. - attributes (Optional[dict[str, str]]): initial {tag: value} for any attributes defined on the block.

Returns: str: JSON {"status": "created", "type": "INSERT", "handle", "block"}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=false, and destructive=false, so the safety profile is covered. The description adds that a new INSERT entity is created and returns a JSON status/handle, but it does not disclose side effects such as layer auto-creation or external file import behavior. With annotations carrying the safety burden, this is adequate but not rich.

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 sentence is front-loaded and the Args/Returns structure is clear and scannable. The Args list is necessary given the nested parameter object. The Returns block is somewhat redundant because an output schema exists, but it is not wasteful enough to lower the score further.

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 block-insertion tool with a nested parameter object and mutation annotations, the description supplies the core action, all parameter semantics, and the return shape. It does not cover error cases or usage routing, but an output schema and the annotations already carry much of the remaining burden.

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?

The description documents all nested fields with types, defaults, and constraints, including that rotation is in degrees counter-clockwise positive and that x/y/z scale values must be positive. It also adds backend nuance about COM accepting .dwg, which is not obvious from the top-level schema signal. It largely mirrors the schema's own $defs descriptions, so it is strong but not fully additive.

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: 'Insert a block reference.' It also distinguishes the two insertion modes (defined block name vs. external drawing file path). However, it does not contrast itself with any sibling tool, so it falls short of the top score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no when-not-to-use guidance, and no alternatives named. The description implies usage from the operation itself but leaves routing decisions entirely to the agent.

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