Skip to main content
Glama

Add Hole To Part

add_hole_to_part

Add a circular hole to the active SolidWorks part by specifying diameter, position, and depth, modifying the existing part for follow-up design requests.

Instructions

Adds a circular cut hole to the currently active part document, preserving and modifying that part. Use for follow-up requests such as adding holes; do not call new_part first.

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": {
      "diameter": "<diameter>"
    },
    "name": "add_hole_to_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
xcNo
ycNo
depthNo
diameterYes
through_allNo
plane_or_faceNoFront Plane

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose that the tool mutates the active part document and preserves the part, implying a state prerequisite (an open part must exist). It omits units, what happens if no document is active, whether the operation is reversible, and any error behavior for a geometric mutation.

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?

Two short sentences, front-loaded with the action and followed by routing guidance; nothing is wasted. 'Preserving and modifying that part' is slightly redundant but not harmful.

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?

An output schema exists, so return values need no explanation, but this is a geometry-mutating CAD tool with six fully undocumented parameters and no annotations. Units, coordinate frame, depth semantics, and the no-active-document case are all left unspecified, which is a substantial gap for this complexity.

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 0% across six parameters, so the description must compensate and does not — it never mentions diameter units, the depth versus through_all interaction, positioning via xc/yc, or the meaning of plane_or_face. An agent must guess critical geometric semantics from bare property names.

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 verb and resource ('Adds a circular cut hole to the currently active part document'), which distinguishes it from siblings like add_pocket_to_part and add_boss_to_part by the resulting geometry. It stops short of explicitly naming those siblings, so the differentiation is implied rather than stated.

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

Usage Guidelines4/5

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

It gives a clear use context ('follow-up requests such as adding holes') plus an explicit exclusion ('do not call new_part first'), which is exactly the kind of routing guidance an agent needs. It does not address when to choose this over add_pocket_to_part for a non-circular cut, leaving one likely ambiguity.

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