Skip to main content
Glama
SolidWorks MCP

SolidWorks MCP

by zmf678

make_drawing

Generate a dimensioned 2D drawing of the current part as a PDF or editable .slddrw with front, top, right, and isometric views on an A4 sheet; save the part first.

Instructions

Make a 2D drawing of the current part: a PDF, or an editable .slddrw.

Front, top and right views in GB/T 14692 first-angle projection plus an isometric view, on an A4 sheet (GB/T 14689) at the scale SolidWorks picks, with the model's own dimensions, each shown once: a dimensioned sketch to print or send. template: optional .drwdot; pass SolidWorks' GB drawing template for a GB title block, or leave it None to use the default drawing template. Save the part first (save_part): the drawing refers to its file.

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": {
      "path": "<path>"
    },
    "name": "make_drawing"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
templateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the created file types, the A4/GB sheet standard, first-angle projection, that SolidWorks picks the scale, that model dimensions are inserted once each, and that a saved part file is a hard dependency. It does not disclose whether an existing file at the target path is overwritten or what is returned.

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?

Front-loaded with the core action and outputs in the first sentence, followed by the template decision rule and the save prerequisite. The standard designations (GB/T 14692, GB/T 14689) and view list are dense but earn their place by predicting the output. Minor redundancy between the opening clause and the closing 'a dimensioned sketch to print or send'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter creation tool with no output schema, the description covers behavior and the optional parameter well, but leaves the required 'path' parameter and the return/overwrite behavior undefined. An agent could still call it, but would be guessing at the destination semantics.

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

Parameters3/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. It explains 'template' well (.drwdot, GB title block, or None for default), but the required 'path' parameter is never mentioned in the description, leaving its meaning (output destination? part path?) to inference. Partial compensation only.

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?

States a concrete verb and resource ('Make a 2D drawing of the current part') and immediately names both output forms (PDF or editable .slddrw). It goes further by specifying the view set, projection standard, sheet size and dimensioning, so an agent knows exactly what artifact results. No sibling produces a drawing, so differentiation is implicit but clear.

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?

Explicitly states the prerequisite 'Save the part first (save_part): the drawing refers to its file', naming the sibling to call first. It also gives a decision rule for the template parameter: pass SolidWorks' GB template for a GB title block, or leave None for the default. It lacks any when-not-to-use guidance, e.g. what to do if a drawing already exists.

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