Skip to main content
Glama
Vectorworks MCP

Vectorworks MCP

vw_delete_class

Delete a Vectorworks class only when unused, or force removal and move its objects to None. Built-in classes cannot be deleted.

Instructions

Delete a class, by default only when no object uses it. Built-in classes (None, Dimension) cannot be deleted. This call is a revert barrier: vw_revert_last cannot recreate the class or put objects back into it. Returns {name, objects_moved_to_none}.

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

Input Schema

NameRequiredDescriptionDefault
nameYesClass name, as vw_list_classes shows it.
forceNoTrue deletes the class even while objects use it (they move to class None). Default False refuses then.
documentNoName of the document this call may change, as listed by vw_list_documents. If given and another document is in front, nothing changes and the call fails; use vw_switch_document first. Always pass it for writes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A3.8/5.0
Behavior2/5

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

Substantively the description is rich: it discloses the default refusal, that forced deletions move objects to class None, and that the effect is irreversible because vw_revert_last cannot undo it, plus the return shape. However, this accurate destructive/irreversible profile directly conflicts with the annotation destructiveHint=false, so the agent receives contradictory signals about how dangerous the call is.

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?

Four short sentences, front-loaded with the verb and default behaviour, then the exclusions, the irreversibility caveat, and the return value. Nothing is redundant and each sentence carries operational weight.

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 three-parameter mutation with full schema coverage, the description covers default behaviour, exclusions, irreversibility and the return payload. The only shortfall is that the conflict with destructiveHint=false is left unreconciled, so the agent must decide which signal to trust.

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 100%, so name, force and document are already fully documented, including the document-in-front failure mode. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

"Delete a class, by default only when no object uses it" names a specific verb and resource plus the default guard. It distinguishes itself from neighbours such as vw_delete_layer and vw_delete_objects by being explicitly about classes, and adds the built-in-class exclusion so the agent knows what is out of scope.

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

Usage Guidelines4/5

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

The description states the default behaviour (refuses when in use) versus the force alternative documented in the schema, and rules out built-in classes. It also warns that the call is a revert barrier, which is real when-to-use guidance; the only gap is that it does not point at vw_create_class or vw_rename_class as the recovery paths for a mistaken delete.

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