Skip to main content
Glama
Vectorworks MCP

Vectorworks MCP

vw_vs_lookup

Read-only

Search the Vectorworks vs.* scripting API by keyword to find function signatures, parameter types, and safety flags before writing Python code.

Instructions

Search the vs.* scripting API of the running Vectorworks by keyword.

Read-only (one small job). Use it before writing code for vw_exec_python: it shows the signature the bridge will enforce. Returns [{name, doc (signature and description as Vectorworks ships them), types (the parameter types the bridge checks, "name:TYPE, ..." plus the codes), safety (null, or "crash" / "hang" / "interactive" / "document_level" from the safety sweep: crash and hang are refused, interactive needs allow_dialogs)}].

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of matches, best name matches first. Default 25.
queryYesWords to look for in function names and their built-in docs, all of which must match, such as "record field", "symbol insert" or "LDevice". Case-insensitive.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of matches, best name matches first. Default 25."
    • addedInput schema / properties / query / description
      Added value: +"Words to look for in function names and their built-in docs, all of which must match, such as \"record field\", \"symbol insert\" or \"LDevice\". Case-insensitive."
  2. First observedv0.1.0

TDQS

A4.3/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, and the description goes beyond them by disclosing the enforcement policy the bridge applies: crash/hang safety codes are refused, interactive needs allow_dialogs. That is genuinely useful behavior an agent could not infer from annotations. The return-shape sentence adds further context, though it overlaps with the 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the when-to-use routing come first and are compact. The final paragraph describing the return tuple is a dense run-on that partly repeats what the output schema already provides, so it does not fully earn its space.

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?

Covers purpose, the call-ordering relationship to vw_exec_python, and the meaning of the safety codes well enough to invoke the tool correctly. The explanation of the 'types' string format is terse, and the return-value detail partly duplicates the output schema, but nothing critical 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 query and limit are fully documented in the schema, and the description adds little beyond the word 'keyword'. Baseline 3 applies; no syntax or matching-behavior detail is added beyond what the schema already states.

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: searching the vs.* scripting API of the running Vectorworks by keyword. The scope ('scripting API of the running Vectorworks') is precise enough that an agent can distinguish it from sibling tools like vw_exec_python or vw_lint without further reading.

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?

Explicitly says to use it before writing code for vw_exec_python, and names the reason (it shows the signature the bridge will enforce). That is a clear when-to-use directive tied to a named sibling, with the sequencing constraint front-loaded.

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