Skip to main content
Glama
vespo92

SolidWorks MCP Server

vba_batch_operations

Automate batch file operations on SolidWorks documents: open all, save all, export all, convert format, update references, pack and go, and rename files via VBA macros.

Instructions

Generate VBA for batch file operations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYes
sourcePathYesSource folder path
destinationPathNoDestination folder path
fileFilterNoFile filter (e.g., "*.sldprt")
exportFormatNo
includeSubfoldersNo
optionsNo
Behavior2/5

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

With no annotations, the description must fully disclose behavior. It only says 'Generate VBA' but does not mention what the output is (e.g., returns a VBA script string), whether it modifies files, or that operations like save_all or convert_format have side effects. This is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The description is a single sentence, which is concise but lacks structure and front-loading of key information. It could be improved with a brief listing of operations or output.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 7 parameters, many sibling tools, and no output schema, the description is incomplete. It does not specify return values, how the generated VBA is returned, or the purpose of the options object. The tool's complexity demands more context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 43% (3 of 7 parameters described), but the description adds no additional meaning beyond the schema. It does not explain what the options object contains or the role of fileFilter, leaving the agent with gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Generate VBA for batch file operations' indicates the tool creates VBA code for batch tasks, which is reasonably clear. However, it lacks detail on what operations are included (e.g., open_all, save_all) and does not distinguish from sibling tools like batch_export or create_batch_vba, so it scores 4 instead of 5.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. Given many sibling tools for batch operations (batch_export, batch_run_macros, etc.), the absence of selection criteria makes it hard for an agent to choose correctly.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vespo92/SolidworksMCP-TS'

If you have feedback or need assistance with the MCP directory API, please join our Discord server