Skip to main content
Glama
CaeliaEve

AutoCAD MCP Ultra

by CaeliaEve

List Entities

entity_list
Read-only

List drawing entities with optional type and layer filters to retrieve handles, types, layers, and properties for subsequent entity operations.

Instructions

List entities in the drawing with optional type and layer filters.

Returns handle, type, layer, color, and type-specific properties. Use handles with entity_get, entity_move, entity_delete, etc.

This is the most expensive result on the server — the full record runs ~250 characters per entity, and properties.bounding_box alone is about a third of it. When all you need is handles, say so::

entity_list(layer_filter="GEOMETRY", fields=["handle", "type"], compact=True)

Paging honesty: a plain list has nowhere to say that more entities followed the page, so compact=True is the only mode that reports total, truncated and next_offset — all measured against the same filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum entities to return
fieldsNoProject to these fields, in this order (e.g. ['handle','type','layer']); 'properties.<key>' reaches one nested value. Omit for the full record; an unknown name errors and lists the valid ones.
offsetNoNumber of entities to skip
compactNoReturn a columnar {fields, rows, count, offset, total, truncated, next_offset} envelope instead of dicts: much cheaper per row, and the only shape that reports truncation.
type_filterNoFilter by entity type: LINE, CIRCLE, ARC, LWPOLYLINE, TEXT, MTEXT, INSERT, HATCH, etc.
layer_filterNoFilter by layer name

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With readOnlyHint=true already covering safety, the description adds substantial behavioral insight: the large per-entity payload cost, the role of bounding_box in that cost, the fact that plain list mode cannot communicate truncation, and that only compact mode reports total, truncated, and next_offset. This goes well beyond the annotations and helps the agent anticipate performance and pagination 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?

The description is front-loaded with the core purpose, then return shape, then the most important performance caveat, then a concrete usage example, then the paging subtlety. Every sentence carries actionable information; the length is justified by the tool's complexity and the need to warn about expensive results and truncation behavior.

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?

The description covers filters, return fields, field projection, nested properties, performance characteristics, the two result shapes, paging edge cases, and downstream usage of returned handles. An output schema exists and readOnlyHint is declared, so the description does not need to restate return-value structure or safety. Nothing important for selecting and invoking this tool correctly is missing.

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 input schema already documents all six parameters with 100% coverage, so the baseline is 3. The description adds meaning beyond the schema by explaining why fields projection matters, giving a concrete example with layer_filter, fields, and compact, and clarifying exactly which result envelope supports truncation reporting. This is useful semantic guidance layered on top of an already-complete schema.

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 opens with a specific verb and resource: 'List entities in the drawing with optional type and layer filters.' It immediately states what is returned (handle, type, layer, color, type-specific properties) and how handles flow into sibling tools like entity_get, entity_move, and entity_delete. This fully differentiates it as the general entity-listing tool.

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?

The description gives strong practical context: it warns that entity_list is the most expensive server result, shows exactly when to use fields and compact, and explains the paging limitation. It also tells agents to pass returned handles to downstream entity operations. It stops short of explicitly naming alternative list-like tools or saying 'use X instead when...', so it is clear but not exhaustive.

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/CaeliaEve/autocad-mcp-ultra'

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