Skip to main content
Glama
SolidworksMCP-python

SolidworksMCP-python

Export IGES

export_iges
DestructiveIdempotent

Exports the active SolidWorks part or assembly as an IGES file (.igs or .iges) when the recipient cannot read STEP; writes the file and leaves the open document unchanged.

Instructions

Write a IGES copy of the active document; it stays open on its own file.

Use it only when the receiver can't read STEP; prefer export_step. SolidWorks picks the format from the file's extension, so end file_path in .igs or .iges. Needs: an open, active part or assembly. Changes: writes the file, creating its folder and replacing a file already there; the open document is unchanged. Returns: export with file_path and format.

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": {
      "input_data": "<input_data>"
    },
    "name": "export_iges"
  }
}

Input Schema

NameRequiredDescriptionDefault
input_dataYesThe export. `file_path` (ending in .igs or .iges) is required; `format_type` is not needed: the file extension decides the format.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv2.0.0
    • changedInput schema / properties / input_data / description
      Previous value: -"The input data value."New value: +"The export. `file_path` (ending in .igs or .iges) is required;\n`format_type` is not needed: the file extension decides the\nformat."
    • addedInput schema / properties / input_data / properties / format_type / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / input_data / properties / format_type / default
      Added value: +null
    • changedInput schema / properties / input_data / properties / format_type / description
      Previous value: -"Export format (step, iges, stl, pdf, dwg, jpg, png)"New value: +"Not needed: the file extension sets the format; defaults to the tool's own format"
    • removedInput schema / properties / input_data / properties / format_type / type
      Removed value: -"string"
    • removedInput schema / properties / input_data / properties / options
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Format-specific export options"
      -}
    • changedInput schema / properties / input_data / required
      Previous value: -[
      -  "file_path",
      -  "format_type"
      -]New value: +[
      +  "file_path"
      +]
  2. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true) by specifying exactly what the destructive behavior means: it creates the target folder and replaces an existing file at that path, while the open document itself is unchanged. That is the precise 'what gets overwritten' detail the hints cannot convey.

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 action, then scoped with 'Use it only when...', then the Needs/Changes/Returns labels make it scannable. Minor redundancy between 'it stays open on its own file' and 'the open document is unchanged' costs one point but nothing is padding.

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?

Despite a nested input object and an output schema, the description covers the action, prerequisites, side effects, and return shape, so an agent has everything needed to call it correctly. Nothing material is deferred to fields the agent may not read.

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 100% and the schema already documents file_path and explains that format_type is unnecessary because the extension sets the format. The description's .igs/.iges extension rule restates that rather than adding new meaning, so the baseline 3 applies.

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 ('Write a IGES copy of the active document') and immediately names the sibling it is not the default choice over ('prefer `export_step`'), so an agent can distinguish it from export_step/export_dwg without opening any schema.

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?

Gives an explicit when-to-use rule ('only when the receiver can't read STEP') plus the preferred alternative and the prerequisite posture (open, active part or assembly). Both the selection condition and the exclusion are stated, leaving nothing to inference.

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

Deploy Server

Other Tools