Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_add

Creates and optionally builds any COMSOL geometry feature, such as blocks, cylinders, fillets, arrays, or imports, using catalog types and properties for a selected model and geometry sequence.

Instructions

Create any geometry feature (type from the geometry catalog).

Args: feature_type: COMSOL geometry feature type, e.g. "Block", "Cylinder", "Difference", "Array", "BoxSelection", "Fillet3D", "Import". Invalid types return suggestions from the catalog. tag: feature tag (None = generated from the catalog tag prefix). label: optional display label. properties: dict of feature properties, e.g. {"size": ["0.1","0.05","0.02"]}. build: build the sequence after creating the feature (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": {
      "feature_type": "<feature_type>"
    },
    "name": "geom_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
buildNo
labelNo
modelNo
geometryNogeom1
componentNo
propertiesNo
feature_typeYes

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?

No annotations are supplied, so the description carries the full burden. It does disclose real behavior: that build=true builds the sequence after creation (a side effect with cost/failure implications) and that invalid types return catalog suggestions rather than erroring opaquely. It does not say what happens if the build fails (whether the feature persists), what permissions or model state are required, or whether the operation is reversible.

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 one-line purpose is front-loaded and the Args list is terse and scannable. Given zero schema coverage, the per-parameter lines are load-bearing rather than redundant, though feature_type's multi-line example list is slightly heavy relative to the rest.

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 an eight-parameter mutation with no annotations and no output schema, the description covers inputs and defaults reasonably but omits what is returned (presumably the created feature's tag), what happens on build failure, and how it relates to the sibling build/create/primitive tools. An agent could call it, but would be guessing at the result shape and failure semantics.

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 Args block is the only documentation and it covers all eight parameters, including non-obvious semantics like tag=None deriving from the catalog tag prefix, component=None being auto-resolved, model=None meaning the current model, and a concrete properties example. It falls short by not enumerating valid property keys or types per feature_type.

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?

A specific verb (Create) plus a specific resource (any geometry feature, typed from the geometry catalog), with concrete example types (Block, Cylinder, Difference, Array, Fillet3D). It does not distinguish itself from siblings like geom_primitive, geom_boolean, or geom_create, leaving the agent unsure when the generic path is preferred.

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: 'create any geometry feature' suggests this is the general-purpose entry point, and the note that invalid types return catalog suggestions helps recovery. There is no explicit guidance about when to prefer the more targeted siblings (geom_primitive, geom_boolean, geom_fillet) instead, and no stated prerequisites.

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