Skip to main content
Glama

set_entity_linetype

Assign a linetype to one or more AutoCAD entities to control line display in drawings. Provide entity IDs and the target linetype.

Instructions

Set entity linetype display metadata on one or more entities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linetypeYes
entity_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 burden. It conveys only that the change is display metadata and operates on one or more entities; it omits whether the linetype name must pre-exist, whether the change is reversible/undoable, and what happens on failure.

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?

One efficient sentence with the operation and target front-loaded and no filler. It is well-sized for the tool, though it is so terse that brevity edges into under-specification.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations, no output schema, and 0% parameter documentation, the definition is too thin. An agent knows the intent but lacks the parameter constraints and behavioral caveats needed to call it reliably.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does not. It never explains the expected format of 'linetype' (e.g., a loaded linetype name) or whether 'entity_ids' accepts multiple entity types, leaving both required parameters semantically opaque.

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 description uses a specific verb ('Set') and resource ('entity linetype'), telling an agent exactly what operation is performed on what object. It does not, however, distinguish itself from the close sibling setters (set_entity_layer, set_entity_color, set_entity_lineweight), which is the main gap.

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, no prerequisites (e.g., the linetype must already be defined/loaded in the drawing), and no mention of related setters. The agent must infer context entirely.

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

Deploy Server

Other Tools