Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_export

Exports COMSOL geometry objects to CAD or mesh files (STL, STEP, IGES, DXF, ACIS) and returns the output file path, size, and existence confirmation.

Instructions

Export geometry objects to a CAD/mesh file (STL, STEP, IGES, DXF, ACIS...).

Args: export_type: stl | stlascii | step | iges | dxf | acisbin | acisascii | parasolidbin | parasolidascii | nativebin | nativeascii. (VTK/3MF are not supported by COMSOL geometry export.) path: output file path; when omitted the file goes to the artifact workspace with an automatic name. objects: geometry object names to export (None = current objects). geometry: geometry sequence tag (default "geom1"). model: model name/tag (None = current model). Returns the absolute file path, size and confirmed existence.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "geom_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
modelNo
objectsNo
geometryNogeom1
export_typeNostl

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does disclose the return payload (absolute path, size, existence check) and the fallback behavior when path is omitted, but for a tool that writes files it says nothing about overwrite behavior, whether existing files are clobbered, required permissions, or what happens on unsupported format/object combinations.

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 lead sentence front-loads purpose and formats, followed by an argparse-style parameter list. Every line carries information; the parenthetical about VTK/3MF is somewhat tangential but still earns its place as an exclusion.

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

Completeness4/5

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

For a five-parameter tool with no annotations and no output schema, the description covers parameters and return values adequately, so an agent can call it correctly. The gap is behavioral rather than informational: write-side effects and overwrite semantics are absent from an unannotated mutation tool.

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 description coverage, the description is the only source of parameter meaning and it delivers: every one of the five parameters is explained, including the full export_type enumeration, the None-means-current semantics for objects and model, and the default geometry tag 'geom1'. It falls short of 5 only because the export_type default (stl) and the path default are not restated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb + resource (export geometry objects) and enumerates concrete output formats (STL, STEP, IGES, DXF, ACIS). It does not differentiate itself from sibling exporters such as export_geometry or mesh_export, so an agent still has to guess which exporter applies to which object type.

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?

Usage is only implied: the agent can infer 'use this to write geometry to a file'. The one exclusionary note is that VTK/3MF are not supported by COMSOL geometry export, which is genuinely useful, but there is no statement of when to prefer this over export_geometry, export_mesh, or export_model_file.

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