Skip to main content
Glama
vespo92

SolidWorks MCP Server

vba_assembly_components

Generate VBA macros to automate inserting, replacing, patterning, mirroring, exploding, or dissolving components in SolidWorks assemblies.

Instructions

Generate VBA for inserting and managing components

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYes
componentPathNoPath to component file
componentNameNoComponent name in assembly
configurationNameNo
positionNo
quantityNo
patternTypeNo
spacingNoSpacing in mm
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It does not disclose what the generated VBA does (e.g., modifies the assembly, creates a macro), whether it requires user confirmation, or what side effects occur. The description is too brief to provide any behavioral context.

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

Conciseness2/5

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

The description is a single, short sentence that packs little information. While concise, it sacrifices clarity and completeness. It could be expanded to list operations or provide usage context without being overly long.

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?

With 8 parameters, no output schema, and no annotations, the description is insufficient. It does not explain the return value (likely VBA code), how to use the generated code, or the relationship between parameters. The description leaves many gaps for an AI agent.

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 only 38% (3 of 8 parameters have descriptions), and the tool description adds no additional meaning. Key parameters like `position` (nested object), `quantity`, and `patternType` are not explained in the description. The description fails to compensate for the low schema coverage.

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

Purpose3/5

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

The description states 'Generate VBA for inserting and managing components', which gives a general idea but 'managing' is vague and does not explicitly list the supported operations (insert, replace, pattern, mirror, explode, dissolve) as shown in the schema. It does not distinguish from sibling VBA tools like vba_assembly_mates or vba_assembly_configurations.

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 on when to use this tool versus alternatives. The description does not mention prerequisites, such as requiring an open assembly or that it generates code rather than directly modifying the model. No explicit 'when not to use' or referral to sibling tools.

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