Skip to main content
Glama
seraphinernst4

Keystone for Vectorworks

vw2d_edit

Replace a polygon, polyline, or rectangle outline exactly using points, paths, or raw vertices, with optional holes; edits preserve attributes and create one undo step.

Instructions

Replace the outline of a polygon/polyline/rect exactly.

Give one of: points [[x, y], ...] (corners), path (same format as vw2d_draw paths, lines + true arcs) or raw vertices [[x, y, type, radius]] as returned by vw2d_read. holes: list of point lists or paths. Same vertex count and no holes: edited in place (uuid stays), otherwise rebuilt with the same class, attributes, name, group and stacking position (new uuid returned). One undo step.

Input Schema

NameRequiredDescriptionDefault
pathNo
unitNodocument
uuidYes
holesNo
closedNo
pointsNo
relativeNo
verticesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A4/5.0
Behavior5/5

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

Annotations only say readOnly=false/destructive=false; the description goes much further, disclosing the in-place vs rebuild fork, that uuid is preserved on in-place edits and a new uuid is returned on rebuild, that class/attributes/name/group/stacking survive a rebuild, and that the operation is one undo step. That is exactly the behavioral context an agent needs before calling a mutation tool.

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 mutation behavior is front-loaded in the first sentence and the remaining clauses are all load-bearing, with zero filler. Dense but readable, sized appropriately for an 8-parameter geometry edit.

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?

For a destructive-capable geometry rewrite with no output schema and no schema descriptions, the description covers the essential contract (input modes, identity/rebuild semantics, undo). The gaps are the unexplained unit, relative, and closed parameters, which an agent must guess at from the schema defaults alone.

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 coverage is 0% across 8 parameters, so the description has to carry the load. It does well on the three geometry inputs (points as corner pairs, path matching vw2d_draw, vertices as [x, y, type, radius] from vw2d_read) and on holes, but says nothing about uuid, unit (which has an enum), closed, or relative, leaving half the parameters undocumented anywhere.

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 and resource: 'Replace the outline of a polygon/polyline/rect exactly.' An agent can tell this mutates an existing object's geometry rather than creating one. It never names a sibling such as vw2d_draw or vw2d_transform to sharpen the boundary, so it stops short of 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 Guidelines3/5

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

'Give one of: points, path or raw vertices' explains the mutually exclusive input modes and points at vw2d_draw paths and vw2d_read output as the canonical formats, which strongly implies edit-existing vs draw-new. But there is no explicit when-to-use statement and no exclusions (e.g. why choose this over vw2d_draw or vw2d_transform).

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