Skip to main content
Glama
U-C4N
by U-C4N

Create Block From Entities

block_create_from_entities

Create a block definition from selected entities using their handles. Specify block name and base point to group geometry into a reusable block.

Instructions

Create a new block definition from existing entities in the drawing.

Note: This tool works by using AutoCAD's BLOCK command (COM backend only). For ezdxf backend, entities must be added to a block definition directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNew block definition name
base_xNoBlock base point X
base_yNoBlock base point Y
handlesYesList of entity handles to include in the block

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations indicate write operation (readOnlyHint=false). Description adds that it uses BLOCK command under the hood, relevant for understanding behavior across backends.

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?

Two sentences: first states purpose, second gives necessary backend detail. No redundant text.

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?

With full input schema and output schema present, the description is adequate. It doesn't mention duplicate name handling, but that may be in output schema.

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 100%, so description doesn't need to add much. It ties 'existing entities' to handles but offers no additional meaning for name, base_x, base_y.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'create' and resource 'block definition' from existing entities, distinguishing it from siblings like block_insert and block_explode.

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?

Provides backend-specific notes (COM vs ezdxf), indicating when the tool works and a limitation, but lacks explicit comparison to alternative tools or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/U-C4N/Autocad-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server