Skip to main content
Glama

autocad-site-mcp

cad_batch_add_entities

Fast batch insertion of multiple CAD entities (LINE, LWPOLYLINE, CIRCLE, ARC, ELLIPSE, XLINE, RAY, DONUT, SOLID, TRACE, WIPEOUT, SPLINE, ARRAY (associative rect/polar/path), MLINE (multiline), TABLE (title, header and data cells), IMAGE (picture embedded in the drawing), TEXT, MTEXT, DIMENSION, TOLERANCE, LEADER, HATCH (pattern or gradient), POINT, INSERT, POLYLINE3D). LINE, POINT and POLYLINE3D points take z.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entitiesYesArray of CAD entity definition objects

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It hints at performance ('Fast') and mutation ('insertion'), but says nothing about permissions, whether insertion is atomic or partial on error, whether it modifies the current drawing, or what it returns. For a batch write tool with zero annotation coverage this is a significant gap.

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

Conciseness2/5

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

The purpose is front-loaded, but the bulk of the description is a verbatim enumeration of the 26 entity types that already appears in the schema's 'type' field description. This duplication is pure waste and makes the description long without adding selection value.

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?

For a single-parameter batch tool with a rich nested schema but no annotations and no output schema, the definition covers input shape by deferring to the schema. It omits return information (e.g., created handles/IDs) and error/partial-failure behavior, which an agent would want before a batch write.

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 description coverage is 100%, so the per-entity fields (dir, data, gradient, tolerance, etc.) are already documented in the schema; baseline 3 applies. The description's only added semantics is that LINE, POINT and POLYLINE3D accept a z coordinate, which is genuinely useful but marginal.

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?

The opening clause 'Fast batch insertion of multiple CAD entities' gives a specific verb (batch insertion) and resource (CAD entities). The batch qualifier implicitly separates it from singular creation siblings like cad_create_block or cad_insert_block, though no sibling is named explicitly. Clear but not differentiated from alternatives by name.

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 guidance on when to use this tool versus alternatives such as cad_solids, cad_generate_parametric, cad_execute_script or cad_run_commands. The description states what it does but never addresses selection context or prerequisites (e.g., requires an open drawing).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources