Skip to main content
Glama
Vectorworks MCP

Vectorworks MCP

vw_rename_class

Rename a class so every object in it and its viewport overrides update with it; built-in classes can't be renamed and the change reverts in one step.

Instructions

Rename a class; every object in it follows, as do viewport overrides. Built-in classes (None, Dimension) cannot be renamed. One revertible step: vw_revert_last renames it back. Returns {name, new_name}.

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>",
      "new_name": "<new_name>"
    },
    "name": "vw_rename_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCurrent class name, as vw_list_classes shows it.
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.
new_nameYesNew name; must not be in use. 'A-B' makes it show under group A in the palette.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, closed-world behavior, so the bar is lower, and the description adds real value: cascading renames to member objects and viewport overrides, built-in exceptions, and one-step reversibility via vw_revert_last. It does not cover authorization requirements or what happens on name collisions beyond the schema's "must not be in use".

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?

Three tight sentences, front-loaded with the action and its consequences, then the constraint, then the recovery path and return value. Nothing redundant.

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 mutation tool with no output schema, the description supplies the return shape ({name, new_name}), the cascade behavior, and undo guidance, which covers what an agent needs to call it safely. Only minor gaps (permission requirements, collision error text) remain.

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 100%, so all three parameters are fully documented in the schema itself, including the document-guard semantics and the 'A-B' palette grouping trick. The description adds no parameter detail beyond the schema, matching the baseline 3.

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?

Names a specific verb and resource ("Rename a class") and immediately states the blast radius: every object in the class and its viewport overrides follow. This clearly distinguishes it from siblings like vw_create_class or vw_rename_layer without needing the schema.

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?

Gives concrete exclusions (built-in classes None and Dimension cannot be renamed) and names vw_revert_last as the undo path, plus the document-parameter prerequisite of switching documents first. It stops short of explicitly contrasting with vw_create_class for the 'class doesn't exist yet' case, so it is clear context rather than full routing guidance.

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