Skip to main content
Glama
danielproxd2

MCP_CAD

by danielproxd2

capture_views

Render the active part or assembly to PNG images for visual verification. Supports standard views and optional section cuts to reveal internal features.

Instructions

Render the active part or assembly to PNG for visual verification.

Privacy warning: the connected MCP client decides where returned image content is sent. A hosted model provider may receive these screenshots. Pixels are not redacted and may contain confidential geometry, logos, file names, or part numbers. Review the client's data policy before using this tool with sensitive models.

Cadence — render at CHECKPOINTS and at the END of a build, not after every feature: each call is one image per view (heavy tokens). Between features trust the cheap signals (mutator receipt.feature_count, batch summary); a final render before declaring a part done is mandatory (or bundle it via verify_build_report capture_view_names). Per-feature renders are for debugging a flaky build.

Args: views: subset of ["iso", "front", "top", "right", "trimetric"]. Default (None) = ["iso", "front", "top", "right"]. Unknown view name → ValueError (fail fast, no silent default). with_dims: accepted but a v1 NO-OP (dimension-annotation overlay needs a much larger surface). The param exists so the signature is stable. TODO(with_dims). section: optional {"plane": "front"|"top"|"right" (or Spanish UI name), "offset_mm": float} — render each view through a graphics CUT PLANE so INTERNAL cuts the outer silhouette hides (pockets, banded/saddle cuts, bores) become visible. offset_mm is signed from the standard plane (0 = through origin). Use this to diff against a drawing's SECTION view. Standard projections cannot show an occluded internal cut; for a purely internal feature an iso render proves nothing — also confirm it via list_faces.

Returns a list: one inline image per requested view, followed by a summary dict with the resolved views, the local PNG paths, with_dims, and a privacy note.

Caveat: requires a part open in SolidWorks. Image bytes are NOT name-redacted (see ADVERTENCIA). Temp PNGs live in the OS temp dir and are read lazily when the result is serialized — they are not deleted by this tool.

Example — verify a base plate before drilling: extrude_sketch(25.0) capture_views(views=["iso", "front"]) # eyeball it get_bounding_box() # confirm extents

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewsNo
sectionNo
with_dimsNo
Behavior5/5

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

No annotations provided, so the description carries full burden. It discloses privacy risks (images may contain confidential data, sent to client/host), cadence advice, behavior of parameters (with_dims is a no-op, section creates cut planes), return format (list of images + summary), and caveats (requires open part, temp files not deleted). No contradictions.

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 lengthy but well-structured with clear sections (privacy warning, cadence, args, returns, caveat, example). Each part adds value, though it could be slightly tightened. The front-loading of purpose and privacy warning is effective.

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 no output schema, the description covers return values (list of images + summary dict with resolved views, paths, with_dims, privacy note) and handles edge cases (unknown view raises ValueError, section behavior, with_dims no-op). Includes an example showing integration with other tools. All essential context for correct use is present.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 0% description coverage; the description fully explains all three parameters. views: acceptable subset of view names, default, error on unknown. section: optional dict with plane and offset_mm, how it works for internal cuts. with_dims: accepted but no-op, rationale. Provides concrete examples and constraints.

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 renders the active part or assembly to PNG for visual verification. It uses specific verbs and resources (render, PNG, visual verification) and distinguishes itself from sibling tools by emphasizing its role in visual checks, not modeling or other operations.

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 explicit guidance: use at checkpoints and end of build, not after every feature; trust cheaper signals in between; per-feature renders only for debugging; mandatory final render. It also mentions an alternative (verify_build_report capture_view_names) for bundling renders.

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