Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_import

Import CAD or mesh files such as STEP, IGES, DXF, and STL into a COMSOL geometry sequence, with optional automatic build.

Instructions

Import a CAD or mesh file into the geometry sequence (STEP/IGES/DXF/STL...).

Args: filename: absolute path to the file (STL, STEP, IGES, DXF, mphbin, ...). tag: feature tag (None = automatic, e.g. imp1). label: display label. properties: extra Import properties, e.g. {"importtype": "full3d", "type": "cad", "repairgeom": "on"} (COMSOL auto-detects most formats). build: build after importing (default true). geometry: geometry sequence tag (default "geom1"). component: component tag (None = auto). model: model name/tag (None = current model).

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": {
      "filename": "<filename>"
    },
    "name": "geom_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
buildNo
labelNo
modelNo
filenameYes
geometryNogeom1
componentNo
propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the behavioral burden. It discloses build-after-import default true, automatic tag/component/model defaults, and COMSOL auto-detection, but omits side effects such as model mutation, overwrite or validation behavior, permissions, and return details.

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 purpose is front-loaded and the Args list is compact for eight parameters. Wording is efficient, though a few defaults are repeated from the schema rather than adding new meaning.

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?

The description covers all input parameters and some import behavior, but without annotations or an output schema it leaves gaps around return values, failure behavior, and explicit write side effects. An agent can call it with correct arguments but cannot fully predict the result.

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?

Schema description coverage is 0%, so the description must compensate, and it documents all eight parameters: filename path and formats, tag auto naming, label, properties examples, build default, geometry default, and component/model defaults. Some tag and label details remain shallow, but it adds substantial meaning beyond the schema.

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?

The opening sentence gives a specific verb ('Import'), resource ('CAD or mesh file'), destination ('geometry sequence'), and example formats. It does not explicitly contrast with mesh_import or geom_create, so sibling differentiation is inferred rather than stated.

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

Usage Guidelines2/5

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

There is no explicit when-to-use/when-not-to-use guidance or prerequisites beyond the implied case of bringing an existing CAD/mesh file into geometry. It does not route the agent toward mesh_import or geom_create for related tasks.

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