Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_transform

Move, copy, rotate, scale, mirror, array, or rigidly transform COMSOL geometry objects by specifying operation, translation vectors, axes, angles, scale factors, and array sizes.

Instructions

Move, copy, rotate, scale, mirror, array or rigidly transform objects.

Args: operation: Move | Copy | Rotate | Scale | Mirror | Array | RigidTransform. objects: object names to transform (e.g. ["blk1"]). displ: translation vector for Move/Copy/Array, e.g. ["0.1","0","0"]. pos: center point for Rotate/Scale/Mirror, e.g. ["0.05","0.025","0"]. axis: axis/normal vector for Rotate/Mirror, e.g. ["0","0","1"] or "z". rot: rotation angle in degrees (Rotate/RigidTransform). factor: scale factor (Scale), scalar or [sx,sy,sz]. size: array size (Array): integer (linear) or [n1,n2,n3] (rectangular/3D). properties: extra COMSOL properties (e.g. {"keep": "on"}). tag: feature tag (None = automatic, e.g. mov1). label: display label. build: build after creation (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": {
      "operation": "<operation>"
    },
    "name": "geom_transform"
  }
}

Input Schema

NameRequiredDescriptionDefault
posNo
rotNo
tagNo
axisNo
sizeNo
buildNo
displNo
labelNo
modelNo
factorNo
objectsNo
geometryNogeom1
componentNo
operationYes
propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose meaningful traits: 'build: build after creation (default true)' reveals an implicit side effect, 'tag (None = automatic, e.g. mov1)' and 'model/component (None = current model)' explain auto-resolution defaults, and the operations clearly mutate geometry. However, it says nothing about what happens on failure, whether Move alters vs. adds features, or what the call returns.

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?

A single scoping sentence is front-loaded, followed by a compact, consistently formatted Args list — easy to scan for the one required parameter (operation). Minor waste: it restates schema defaults ('build default true', 'geometry default "geom1"') rather than only adding the semantic meaning behind them.

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?

For a 15-parameter mutation tool with no annotations and no output schema, input semantics are well covered but the description never says what a successful call returns (feature tag, build result, error text) or how failures surface. An agent can construct a call correctly but cannot anticipate the response.

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 description coverage is 0%, so the description must compensate for all 15 parameters and largely does: it glosses each one with meaning, applicable operation, expected shape, and a concrete example (['0.1','0','0'], ['0','0','1'] or 'z', integer vs [n1,n2,n3] for size). Only 'properties: extra COMSOL properties' remains vague, and units for displ/pos are only implied by example.

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 opening line names the concrete operations (move, copy, rotate, scale, mirror, array, rigid transform) and the resource they act on (objects). The operation list makes it immediately distinguishable from siblings like geom_boolean, geom_extrude, or geom_primitive, which create rather than transform geometry.

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?

There is no explicit when-to-use/when-not guidance and no named alternative sibling to route against. The per-operation applicability notes (e.g. 'displ: translation vector for Move/Copy/Array', 'factor: scale factor (Scale)') give useful invocation context for picking an operation, but the agent must infer that this tool is for transforming existing objects rather than creating them.

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