Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_extrude

Extrude 2D work-plane objects or planar faces into 3D with configurable distance, scale, and twist for COMSOL geometry sequences.

Instructions

Extrude 2D work-plane objects (or planar faces) into 3D.

Args: distance: extrusion distance expression/humber, e.g. 0.2 or "0.2". A list creates several layers, e.g. [0.1, "0.2"]. input_objects: work-plane tags/objects to extrude (None = objects of the last preceding work plane). scale: scale factor of the extrusion top (optional). twist: twist angle in degrees (optional). properties: extra COMSOL properties for the Extrude feature. tag: feature tag (None = automatic, e.g. ext1). 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_extrude"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
buildNo
labelNo
modelNo
scaleNo
twistNo
distanceNo
geometryNogeom1
componentNo
propertiesNo
input_objectsNo

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 load. It usefully discloses defaults (build=true, geometry="geom1", tag automatic, model=current model), but it never states that creating with build=true mutates the geometry sequence and triggers a build, what happens on failure, 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?

The first line front-loads the purpose, then a clean Args block covers each parameter once. Wording is tight apart from a typo ("humber") and slight redundancy between tag and label descriptions, but nothing is padded.

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 11-parameter mutation tool with no annotations and no output schema, the definition covers inputs well but omits the return value (e.g. resulting feature tag), error conditions, and any indication of cost or side effects of the default build. Enough to call it, not enough to call it confidently.

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 coverage is 0% across 11 params, so the description must compensate, and it largely does: every parameter gets a line, distance includes concrete examples (0.2 or "0.2") and the multi-layer list form ([0.1, "0.2"]), and None sentinels are explained for input_objects, tag, component, and model. It stops short of type/precision details for scale and twist beyond their units, keeping it from a 5.

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?

"Extrude 2D work-plane objects (or planar faces) into 3D" is a specific verb plus resource with a clear input domain (2D work-plane objects or planar faces). It does not reference nearby siblings such as geom_sweep, geom_revolve, or geom_loft, so the agent must infer the distinction from the geometry domain alone.

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 implied rather than stated: the input_objects arg explains that None means "objects of the last preceding work plane," which informs a common calling pattern, and build defaults to true. There is no explicit when-to-use/when-not guidance, no prerequisite (e.g. that a work plane must exist), and no routing to alternative extrusion-like siblings.

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