Skip to main content
Glama
Vectorworks MCP

Vectorworks MCP

vw_get_selection

Read-only

Reads the objects currently selected on the active layer and returns their UUIDs, types, names, classes, layers, bounding boxes, and attached records, so you can inspect or reference the user's current selection.

Instructions

Describe the objects the user has selected on the active layer.

Read-only. Returns [{uuid, type, type_code, name, class, layer, bbox, records (attached record names)}]. Use it when the user says "this one"; vw_find_objects searches by criteria instead. UUIDs stay valid across calls.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vw_get_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of selected objects to return. Default 500.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of selected objects to return. Default 500."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so 'Read-only' is largely redundant. However the description adds genuinely new behavioral facts: the returned field set (uuid, type, type_code, name, class, layer, bbox, attached records) and the guarantee that UUIDs stay valid across calls, which matters for chaining calls.

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?

Front-loaded with the core purpose, then behavior, then the sibling distinction — good ordering with no filler sentences. Minor waste in restating 'Read-only' already carried by the annotations and in listing the return shape that the output schema also covers.

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?

A read-only, single-optional-parameter tool with full schema coverage, annotations, and an output schema. The description supplies everything an agent needs beyond those structured fields: when to reach for it and how its results relate across calls.

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% and the single 'limit' parameter is fully documented in the schema (max selected objects, default 500). The description adds no meaning beyond that, so the 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?

States a specific verb and resource ('Describe the objects the user has selected on the active layer') with explicit scope (active layer, user selection). It also names the sibling it is not (vw_find_objects), so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit selection rule ('Use it when the user says "this one"') and an explicit alternative with its contrasting behavior ('vw_find_objects searches by criteria instead'). The condition that selects this tool versus the search tool is unambiguous.

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