Skip to main content
Glama
ShimmyCAD MCP

ShimmyCAD MCP

by ShimmyCane

acad_add_polyline

Draws a 2D polyline from coordinate vertices, with optional bulge arcs, closed loops, and constant width for AutoCAD geometry.

Instructions

Add a 2D polyline. vertices: [[x, y], ...] or [[x, y, bulge], ...]. A bulge other than 0 makes an arc to the next vertex (bulge = tan(angle/4)). closed=true joins the last vertex to the first. width_in: constant width along the whole polyline (0 to 100 in). Omit for a hairline.

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": {
      "vertices": "<vertices>"
    },
    "name": "acad_add_polyline"
  }
}

Input Schema

NameRequiredDescriptionDefault
layerNo
closedNo
verticesYes
width_inNo
color_indexNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.3/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 add real behavioral detail — bulge arc math, how closed=true joins endpoints, and the 0–100 in width range — but says nothing about what layer the entity lands on, whether the drawing must be active, mutation side effects, or units of the coordinates.

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?

Compact and front-loaded: the resource definition comes first, then parameter semantics in a logical order. The parenthetical bulge formula earns its place by making arc construction unambiguous. Slightly dense with no visual grouping, but no filler sentences.

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?

An output schema exists, so return values need not be explained here. However, for a 5-parameter geometry-creation tool with zero annotation coverage, the omission of layer and color_index semantics and of coordinate units leaves meaningful gaps an agent would have to guess at.

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 coverage is 0%, so the description must compensate. It documents three of five parameters substantively: nested vertex array formats including the optional bulge, the closed flag's effect, and the width_in range plus the null/hairline meaning. layer and color_index are left entirely undocumented, which keeps it from a 5.

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?

Opens with a specific verb+resource: "Add a 2D polyline." An agent immediately knows the operation and object type, and the vertex/arc discussion reinforces it. It stops short of distinguishing itself from siblings like acad_add_polyarc or acad_add_line, so it does not reach a 5.

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 explicit statement of when to choose a polyline over a line, spline, or polyarc, nor any prerequisites or exclusions. The only conditional guidance is parameter-level ("Omit for a hairline"), which does not help an agent select between tools.

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