Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_thicken

Thickens selected 3D surfaces into solid shells or 2D boundary edges into thick geometry, converting open surfaces into simulation-ready solids.

Instructions

Thicken surfaces/boundaries into a solid shell (3D) or 2D thicken.

In 3D the COMSOL Thicken feature operates on whole SURFACE objects (e.g. a primitive created with properties={"type": "surface"}) and turns them into solid shells; in 2D Thicken2D operates on boundary edges.

Args: objects: surface object names to thicken (3D), e.g. ["blk1"] (None = all current objects). In 2D these are ignored. entities: boundaries to thicken as {"object": [edge numbers]} (2D only). entity_dim: entity dimension for the 2D selection (default 1 = boundaries). thickness: total thickness (symmetric offset), e.g. 0.002. offset: "symmetric" (default) or "asymmetric". upthick: upward thickness for asymmetric offset. downthick: downward thickness for asymmetric offset. keep: keep input objects. properties: extra COMSOL properties. tag: feature tag (None = automatic, e.g. thi1). 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

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

Input Schema

NameRequiredDescriptionDefault
tagNo
keepNo
buildNo
labelNo
modelNo
offsetNo
objectsNo
upthickNo
entitiesNo
geometryNogeom1
componentNo
downthickNo
thicknessNo
entity_dimNo
propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral load. It does disclose meaningful traits: `build` defaults to true (so the feature is created and built in one call), `keep` preserves the input surfaces, symmetric offset is the default, and the tag is auto-generated (e.g. thi1). It does not state whether the operation mutates an existing geometry sequence destructively, what happens on invalid selections, or what the call reports back.

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?

Purpose is front-loaded in one sentence, and the 3D/2D behavioral note immediately follows before the parameter list, which is the right ordering. The Args block is long by necessity (15 params) but each entry is a single tight line with no filler.

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 15-parameter, zero-annotation, no-output-schema mutation tool, the definition covers the selection model, units, offset modes, defaults and lifecycle flags, which is what an agent needs to call it correctly. The remaining gap is return/result reporting and error behavior, which matters somewhat given `build=true` by default.

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 coverage is 0% and there are 15 parameters, so the description must compensate entirely, and it does — every parameter appears with added meaning: units/example for thickness (0.002), symmetric-vs-asymmetric semantics with upthick/downthick only applying to asymmetric, the 3D-only nature of `objects` (None = all), the 2D-only dict shape for `entities`, the default for `entity_dim` (1 = boundaries), and defaults for tag/geometry/component/model.

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 line gives a specific verb and resource ('Thicken surfaces/boundaries into a solid shell') and immediately splits the behavior into the 3D case (whole SURFACE objects become solid shells) and the 2D case (Thicken2D on boundary edges). It does not explicitly contrast itself with nearby siblings like geom_extrude, geom_sweep or geom_midsurface, but the operation itself is unambiguous.

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?

The description establishes the mode-selection condition well: in 3D you pass surface object names, in 2D you pass boundary entities and `objects` is ignored. What is missing is when to choose thicken over the other shell/sweep/extrude operations offered by siblings, and there are no prerequisites or failure conditions stated.

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