Skip to main content
Glama
hjbaard

SolidWorks-MCP

by hjbaard

add_chamfer

Add 45° chamfers to selected edges of a part by specifying distance, then get the chamfered edge count and updated mass properties.

Instructions

Chamfer edges of the current part at 45° with the given distance (mm).

edges: "all" (default), "x"/"y"/"z", or explicit indices like "2,5" from list_edges. Returns the number of edges chamfered and the resulting mass properties.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoChamfer
edgesNoall
distance_mmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses the mutating nature ('Chamfer edges of the current part'), the return value, and the dependency on list_edges for edge indices. It stops short of stating side effects such as irreversibility or failure behavior when edges are invalid or exhausted.

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

Conciseness5/5

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

The description is compact and front-loaded: the core action appears in the first sentence, followed by essential edge-value semantics and the return summary. Every sentence adds useful information with no filler.

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 a three-parameter CAD mutation with no output schema, the description covers the required distance, accepted edge selectors, the dependency on list_edges, and what is returned. It lacks only edge-case details such as behavior without an open part or with empty edge selections, which are unlikely to be blockers for correct invocation.

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%, so the description must compensate, and it does for two of the three parameters: it explains that distance_mm is the chamfer distance in millimeters and fully specifies the edges parameter with 'all', axial shortcuts, and list_edges indices. The optional name parameter is not explained, but it is a minor labeling field with a schema default.

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

Purpose5/5

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

The description uses a specific action ('Chamfer edges') and identifies the exact resource ('the current part'), plus the fixed 45° angle and mm distance. This clearly distinguishes it from sibling operations like add_fillet, so an agent can select it without inspecting the schema.

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?

The edge-selection paragraph and the reference to list_edges provide practical context for when and how to invoke the tool. However, it does not explicitly state when to prefer this over alternatives such as add_fillet, nor does it state exclusions or prerequisites beyond 'current part.'

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