Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_create

Create a new geometry sequence for a COMSOL component, specifying dimension (3D, 2D, 1D, or axisymmetric) and unique geometry tag to start building your model geometry.

Instructions

Create a new geometry sequence for a component.

Args: geometry: tag of the new geometry (must be unique in the model), e.g. "geom2". component: component tag (None = first component, usually "comp1"). dimension: 3 (3D), 2 (2D), 1 (1D), or "2Daxi" for axisymmetric 2D. axisymmetric: mark a 2D geometry as axisymmetric (same as dimension="2Daxi"). model: model name/tag (None = current model).

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_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
geometryNogeom1
componentNo
dimensionNo
axisymmetricNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose real behavioral traits: the geometry tag must be unique in the model, component defaults to the first component, model defaults to the current model, and axisymmetric is equivalent to dimension="2Daxi". It omits what happens if the tag already exists (error vs overwrite), whether the operation mutates the active model, and 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?

Front-loaded with the action sentence, followed by an Args block that maps one-to-one onto parameters with no filler. The docstring formatting is functional rather than polished, and the axisymmetric line partially repeats the dimension line, but nothing is wasted.

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 five-parameter mutation tool with no annotations and no output schema, the definition covers inputs adequately but leaves the result side unexplained: an agent cannot tell whether the call returns the new geometry tag, whether it becomes active, or how failures are surfaced. It is workable for invocation but incomplete for handling the outcome.

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%, and the description compensates well by documenting all five parameters, including the accepted dimension values (3, 2, 1, "2Daxi") that the schema leaves as an unconstrained field. The null-default semantics for component and model are spelled out, though the description does not clarify how dimension and axisymmetric interact when they conflict.

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 first sentence states a specific verb and resource ('Create a new geometry sequence') and adds the container scope ('for a component'), which is enough to distinguish it from feature-level siblings such as geom_add or geom_primitive. It stops short of naming any sibling explicitly, so an agent must infer the boundary itself.

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 tool creates a geometry container, so an agent can reason it is the prerequisite step before building features. There is no explicit when-to-use/when-not, no statement that the model or component must already exist, and no pointer to alternatives such as geom_add or model_create.

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