Skip to main content
Glama
danielproxd2

MCP_CAD

by danielproxd2

edit_sketch

Reopen an existing sketch to add or modify dimensions, relations, or geometry without rebuilding the part. After editing, exit with a feature operation to lock changes.

Instructions

Reabrir un croquis existente para editarlo (agregar cotas, relaciones, o geometría) SIN reconstruir la pieza desde cero. Tras reabrir, las herramientas add_sketch_dimension / add_sketch_relation / create_line funcionan igual que en un croquis recién creado.

Uso típico CSWA: parametrizaste el Tool Block con cotas A/B/C; para ajustar otra arista, reabre el croquis con edit_sketch, agrega/edita, y sal con la siguiente operación (extrude/etc.) para fijar el cambio.

[en: Reopen an existing sketch for editing (dims, relations, geometry) without rebuilding the part. After reopening, add_sketch_dimension / add_sketch_relation / create_line behave as on a fresh sketch.]

Args: sketch_name: exact sketch name, e.g. "Croquis1".

Returns {name, editing: True}. The sketch stays OPEN — you MUST exit it (extrude_sketch or another sketch-consuming op) to lock the changes in; a rebuild while open will exit it on SW 2026 ES.

Related: create_sketch (new sketch); modify_dimension (drive a named cota without even reopening).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sketch_nameYes
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that the sketch stays open, must be exited to save changes, and that a rebuild while open will exit it on SW 2026 ES. It also notes that other sketch tools work as on a fresh sketch. Missing error handling (e.g., sketch not found) slightly reduces score.

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 fairly concise and front-loaded with the purpose. It includes both Spanish and English, which may be redundant but adds clarity for bilingual users. Key sections: purpose, usage, args, returns, caveat.

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

Completeness5/5

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

Given the tool's simplicity (1 param, no output schema, no annotations), the description is thorough: explains purpose, usage, behavioral nuances, return value, and related tools. Nothing critical is missing.

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?

With 0% schema coverage, the description compensates by specifying the parameter 'sketch_name' as an exact name with an example ('Croquis1'). This adds meaning beyond the schema.

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 clearly states the tool's purpose: reopening an existing sketch for editing (dimensions, relations, geometry) without rebuilding the part. It distinguishes itself from sibling tools by specifying it's for editing, not creating.

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

Usage Guidelines5/5

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

The description provides a typical CSWA usage example and explicitly mentions when to use alternatives like create_sketch or modify_dimension. It also instructs that after editing, the user must exit with a sketch-consuming operation to lock changes.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielproxd2/solidworks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server