Skip to main content
Glama
vespo92

SolidWorks MCP Server

create_batch_vba

Automate batch operations on SolidWorks files by generating VBA macros for export, property update, rebuild, or print based on file patterns.

Instructions

Generate VBA for batch processing multiple files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYes
filePatternYesFile pattern to match (e.g., "*.sldprt")
outputFormatNoOutput format for export operations
propertyNameNoProperty name for update operations
propertyValueNoProperty value for update operations
Behavior1/5

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

With no annotations and no description of side effects, safety, or limitations, the tool's behavior is opaque. It does not state whether generation overwrites existing files, requires user confirmation, or has any constraints.

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, concise but too vague. It lacks structure and fails to provide essential details despite being short.

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 the absence of an output schema and the complexity of generating VBA for various operations, the description is incomplete. It does not explain the return value (e.g., generated code string) or how to use the output.

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?

The schema covers 80% of parameters with descriptions, so the description adds little beyond the schema. The tool description does not explain how parameters influence the generated VBA. Baseline 3 is appropriate given schema coverage.

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 processing multiple files' clearly indicates the tool generates VBA code for batch operations. It distinguishes from sibling tools like batch_export or run_vba_macro that execute rather than generate. However, it could be more specific about the types of batch operations supported.

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 such as batch_export, run_vba_macro, or vba_batch_operations. The description does not mention prerequisites or exclusion criteria.

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