Skip to main content
Glama
SolidWorks MCP

SolidWorks MCP

by zmf678

add_chamfer

Chamfer edges of the current part by a distance and angle, with selectable edge sets or face-relative angles for printable underside edges; returns edge count and mass properties.

Instructions

Chamfer edges of the current part: distance_mm back along a face, at angle_deg (default 45掳) to it.

edges: "all" (default), "x"/"y"/"z", a face outline like "+z:outline", a feature's edges like "feature:Boss", or explicit indices like "2,5" from list_edges. Another angle than 45掳 needs from_face, which way the face that the distance runs along faces: "-z", angle_deg=60 makes an underside edge printable without support (round an arc the chamfer is a cone). Returns the number of edges chamfered and the 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": {
      "distance_mm": "<distance_mm>"
    },
    "name": "add_chamfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoChamfer
edgesNoall
angle_degNo
from_faceNo
distance_mmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

A3.6/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 discloses that the tool modifies the current part and returns the number of edges chamfered plus mass properties, but it does not state whether the operation is permanent/destructive or what constraints apply.

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 description is front-loaded with the core operation and then explains edge selection and angle behavior. It is mostly efficient, though the formatting and a typo/encoding artifact slightly reduce polish.

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 five-parameter mutation tool with no annotations and no output schema, the description covers geometry semantics, edge selector forms, angle dependency, and return values. It still omits the optional name parameter and does not discuss reversibility or permissions.

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 most parameters: edges syntax, angle_deg default, from_face dependency, and distance_mm are all explained. The name parameter is not described, keeping this just below full 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 gives a specific verb and resource: chamfering edges of the current part with distance and angle semantics. It is clear what the tool does, but it does not explicitly distinguish the operation from siblings such as add_fillet or add_full_round.

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 description explains the available edge selector forms and when from_face is needed for non-45-degree chamfers. However, it does not state when to use this tool instead of related alternatives like add_fillet, nor does it give broader preconditions or exclusions.

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