Skip to main content
Glama
ShimmyCAD MCP

ShimmyCAD MCP

by ShimmyCane

acad_add_line

Draws a line in model space using start and end [x, y] or [x, y, z] coordinates, then returns the new entity handle for markups and dimensions.

Instructions

Add a line in model space. start and end are [x, y] or [x, y, z] in drawing units (inches). Returns the new entity's handle, which markups and dimensions use.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "acad_add_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
layerNo
startYes
color_indexNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that coordinates are in drawing units (inches) and accept either 2D or 3D points, and that the new entity's handle is returned and used by markups and dimensions. It does not state that a drawing must be active, what layer/color defaults apply when the optional parameters are null, or that the operation mutates the drawing and is undoable.

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 short sentences with zero waste: the operation and scope come first, coordinate format and units second, and the return value last. Every sentence earns its place and nothing is repeated from structured fields.

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 simple primitive-creation tool with no annotations, the definition covers the core call path (points, units, return handle) adequately. It stops short of describing the effect of the optional layer/color_index arguments and any prerequisite drawing state, which are the remaining unknowns an agent would face.

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 0%, so the description must compensate: it fully documents the two required parameters (start/end as [x, y] or [x, y, z] in inches), which is the most valuable information. However, the optional layer and color_index parameters are never mentioned, so only half the parameters gain meaning beyond the bare 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?

States a specific verb and resource ("Add a line") plus the scope ("in model space"), which separates it from the sibling modification tools (acad_trim_line, acad_break_line) and from other add_* primitives. It also names the coordinate inputs and the return value, so the agent knows exactly what operation it is selecting.

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

Usage Guidelines3/5

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

Usage is implied by the description: use this to create a new line entity in model space. There is no explicit when-to-use versus alternatives (e.g., polyline for multi-segment geometry), no statement of preconditions such as an active drawing, and no exclusions, leaving the agent to infer the context.

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