Skip to main content
Glama
SolidWorks MCP

SolidWorks MCP

by zmf678

add_hole_wizard

Adds GB or ISO Hole Wizard holes in SolidWorks: clearance, counterbore, countersink or tapped at a point, through or to depth, with close, normal or loose fit and optional modeled metric thread.

Instructions

A GB (default) or ISO hole from SolidWorks' Hole Wizard.

standard='GB' (default) uses GB/T 5277 clearance, GB/T 70.1 socket head cap, GB/T 70.3 countersunk socket head and GB tapped-hole tables; standard='ISO' uses the ISO 273/4762/10642 tables. kind: 'clearance', 'counterbore', 'countersink' or 'tapped'; size e.g. 'M3'. Centred at (x, y, z) mm on the face through that point; through all, or depth_mm deep. fit: 'close' / 'normal' / 'loose'. For tapped holes thread='modeled' cuts a real, printable metric thread instead of SolidWorks' cosmetic one. Returns the standard's sizes in hole and mass properties.

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": {
      "kind": "<kind>",
      "size": "<size>",
      "face": "<face>",
      "x_mm": "<x_mm>",
      "y_mm": "<y_mm>",
      "z_mm": "<z_mm>"
    },
    "name": "add_hole_wizard"
  }
}

Input Schema

NameRequiredDescriptionDefault
fitNonormal
faceYes
kindYes
nameNo
sizeYes
x_mmYes
y_mmYes
z_mmYes
threadNocosmetic
depth_mmNo
standardNoGB

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does most of it well: it explains that the hole is centred on the face through (x, y, z), that it can be through-all or depth-limited, and that thread='modeled' cuts a real printable thread instead of SolidWorks' cosmetic one. It also notes the return payload (standard's sizes plus mass properties). It omits prerequisites such as needing an active document or a valid face reference.

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 text is dense but front-loads the standards/tables decision and then walks parameters in a predictable order with no filler sentences. A lead sentence stating the core action would improve orientation, since the opening clause alone reads like a noun phrase.

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?

For an 11-parameter, 6-required mutation tool with no annotations and no output schema, the description covers the standard/kind/size/fit/thread matrix, placement semantics, depth behavior, and the return contents. Remaining gaps are minor (units on depth_mm, defaults for through-all vs depth, required-document prerequisite).

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

Parameters4/5

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

Schema coverage is 0% across 11 parameters, so the description is the only source of meaning, and it supplies enum values the schema lacks for standard ('GB'/'ISO'), kind ('clearance'/'counterbore'/'countersink'/'tapped'), fit ('close'/'normal'/'loose'), and thread ('modeled' vs cosmetic), plus the size format example 'M3'. It leaves 'name' and 'face' only weakly characterized (face is inferable from the centring sentence).

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 names a specific resource (a SolidWorks Hole Wizard hole) and enumerates the standards and hole kinds it produces, so an agent can tell this is a standards-driven hole creator rather than a primitive. It does not, however, distinguish itself from siblings like add_counterbore_hole or add_hole, even though its 'counterbore'/'countersink' kinds overlap with them.

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

Usage Guidelines3/5

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

Usage is only implied through the parameter space (standard, kind, fit, thread) rather than stated as when-to-use guidance. Nothing tells the agent when to pick this over add_counterbore_hole or add_hole, which is a real ambiguity given the overlapping 'kind' values.

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