Skip to main content
Glama
MatteoBaisini

solidworks-mcp

export_flat_pattern

DestructiveIdempotent

Export the flat pattern of the active SolidWorks sheet metal part to a DXF file, optionally next to the part or at a custom path, replacing any existing file.

Instructions

Exports the flat pattern of the active sheet metal part to a DXF file. Existing files with the same name are replaced. path: absolute path or relative filename for the DXF export. Omit to export next to the part.

Input Schema

NameRequiredDescriptionDefault
pathNo
remove_bendsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, but the description adds critical overwrite context: existing files with the same name are replaced. It does not explain the effect of remove_bends or failure modes, but it adds meaningful destructive behavior beyond annotations.

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?

Four short sentences, front-loaded with the action and overwrite warning, followed by useful path semantics. No filler or redundant restatement.

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?

An output schema exists and annotations cover the safety profile, so return values and destructive status need not be explained. The description still leaves remove_bends and error/precondition behavior undocumented.

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 description coverage is 0%, so the description must compensate. It fully explains path as absolute/relative or omitted to export next to the part, but never explains what the remove_bends boolean does, leaving a clear gap.

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 specific verb and resource: exporting the flat pattern of the active sheet metal part to a DXF file. The sheet-metal/DXF specificity distinguishes it from the generic export_document sibling even without naming it.

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?

Implies usage for exporting a sheet metal flat pattern and explains the path-omission behavior. It does not state when to use export_document instead or mention prerequisites/exclusions such as requiring an active sheet metal part.

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