Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_revolve

Revolve 2D work-plane objects into 3D geometry by specifying angle, axis, and input objects for COMSOL Multiphysics modeling.

Instructions

Revolve 2D work-plane objects into 3D.

Args: angle: revolution angle in degrees (360 = full revolution). input_objects: work-plane tags/objects to revolve (None = last work plane). pos: point on the axis in the work-plane local system, e.g. [0, 0]. axis: axis direction in the work-plane local system, e.g. [0, 1]. properties: extra COMSOL properties (e.g. {"axistype": "2d"}). tag: feature tag (None = automatic, e.g. rev1). 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_revolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
posNo
tagNo
axisNo
angleNo
buildNo
labelNo
modelNo
geometryNogeom1
componentNo
propertiesNo
input_objectsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/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 hints at side effects via 'build: build after creation (default true)' and auto-naming/tagging behavior, but it never states that this creates and adds a feature to the geometry sequence, what happens on rebuild or failure, or what the call returns. For a geometry-mutating operation this leaves major behavioral gaps.

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 purpose sentence is front-loaded and the args list follows a consistent, scannable shape with no filler. It is docstring-style rather than prose, but every line maps to a parameter and nothing is redundant.

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?

With 11 parameters, no annotations, and no output schema, the parameter coverage is good but the operational context is thin: no return value, no failure modes, and only vague wording for the axis geometry ('point on the axis', 'axis direction'). Adequate to invoke, but not complete for a complex CAD mutation.

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, and it does: all eleven parameters are explained with meaning and defaults (angle in degrees with 360 = full revolution, None = last work plane for input_objects, None = automatic tag 'rev1', defaults for build/geometry/model). The examples for pos and axis clarify the local coordinate convention that the bare schema would not.

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+resource: 'Revolve 2D work-plane objects into 3D,' which is unambiguous. It does not, however, distinguish this tool from closely related siblings like geom_extrude, geom_sweep, or geom_loft, so an agent must infer the choice from the names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states what the tool does but never says when to use it versus alternatives such as extrude or sweep, nor does it state prerequisites (an existing work plane with 2D objects). The only usage signal is the implicit requirement that the source objects live on a work plane.

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