Skip to main content
Glama
Vectorworks MCP

Vectorworks MCP

vw_rename_layer

Rename a design or sheet layer while keeping its objects in place; the call fails if the new name is already in use.

Instructions

Rename a design or sheet layer; its objects stay where they are. Fails if the new name exists. 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_layer"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCurrent layer name, as vw_list_layers 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=false, openWorld=false) the description adds real behavioral detail: objects keep their position, the operation fails on duplicate names, and it is a single revertible step. It even discloses the return payload {name, new_name} despite no output schema.

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 clauses, each carrying a distinct fact: what changes, what is preserved, the failure mode, and the undo/return contract. The core action is front-loaded and nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 no output schema, the description covers the mutation's effect, its failure condition, reversibility, and the return shape, while the schema already covers the document-switching precondition. Nothing an agent needs to invoke it correctly is missing.

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 both required parameters and the optional document guard are already fully documented in the schema. The description only restates the duplicate-name constraint on new_name and adds no syntax or format detail beyond it, so baseline 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?

"Rename a design or sheet layer" names a specific verb and resource and scopes which layer types are eligible, which is enough to separate it from siblings such as vw_rename_class or vw_create_layer. It also states the key constraint that objects inside the layer are unaffected.

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?

It gives concrete preconditions (fails if the new name exists) and an explicit follow-up path (vw_revert_last renames it back), which tells the agent when this call is safe and how to undo it. It does not explicitly contrast with vw_rename_class, but the layer scoping already implies the boundary.

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