Skip to main content
Glama
SlncTrZ

CDT AutoCAD Provider

batch_create_entities

Creates 1–10,000 generic CAD primitives (line, circle, arc, polyline, text) in one call with document PID and predecessor fingerprint binding for optimistic locking.

Instructions

Create 1..10000 generic typed CAD primitives through the managed native bridge using caller-supplied document PID and predecessor fingerprint binding.

Side-effects: Creates multiple entities in active space with idle yields. Disambiguation: Use for high-throughput batch primitive creation; for single entities use entity_create_*.

Input Schema

NameRequiredDescriptionDefault
entitiesYesList of generic typed CAD entity creation payloads (line, circle, arc, polyline, text)
document_pidYesPersistent document identifier matching active CAD drawing
expected_parent_fpYesExpected predecessor semantic fingerprint for optimistic locking

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A4.4/5.0
Behavior3/5

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

The only annotation is readOnlyHint=false, so the description carries most of the behavioral burden. It usefully discloses side effects, active-space creation, idle yields, and predecessor fingerprint binding, but it does not state atomicity or what happens if expected_parent_fp mismatches or if only some entities fail.

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 short, front-loaded, and cleanly segmented into purpose, side effects, and disambiguation. Every sentence adds useful selection or invocation context.

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 schema descriptions and an output schema present, the definition gives enough context for selection and invocation. The remaining gap is failure semantics for a batch mutation, particularly partial-failure behavior and fingerprint mismatch handling.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds meaningful parameter semantics by stating the 1..10000 batch limit and framing document_pid plus expected_parent_fp as caller-supplied binding inputs.

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 states a specific verb and resource: creating 1..10000 generic typed CAD primitives. It also explicitly distinguishes the tool from entity_create_* for single-entity creation, so an agent can route correctly without inspecting sibling schemas.

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

Usage Guidelines5/5

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

It gives clear when-to-use guidance: high-throughput batch primitive creation. It also names the alternative for single entities, entity_create_*, making the selection rule explicit.

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