Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_run_feature

Builds a COMSOL geometry up to and including one specified feature and returns current counts; use geom_build afterward to finalize the full sequence.

Instructions

Build the geometry up to and including one feature.

The returned counts reflect the current build state; call geom_build afterwards to build (and finalize) the whole sequence.

Args: tag: feature tag to run up to (e.g. "blk1", "dif1"). geometry: geometry sequence tag (default "geom1"). 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": {
      "tag": "<tag>"
    },
    "name": "geom_run_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
modelNo
geometryNogeom1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does usefully disclose that the build is partial and that returned counts reflect only the current build state, which is real side-effect information. It omits whether previously built features are rebuilt, what happens on an invalid tag, and 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core action in one sentence, immediately follows with the crucial follow-up step, then moves to a compact Args block. No filler or repetition, and the important ordering constraint is stated before the parameter list.

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?

There is no output schema, and the description compensates by explaining that returned counts reflect partial build state. All three parameters are documented. What is missing is a description of the return payload's exact shape and error behavior, which matters for a build-mutating tool with no annotations.

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%, so the Args block is the only documentation, and it covers all three parameters, including defaults ('geom1'), the meaning of null model ('None = current model'), and example tag values. It does not specify the tag format rules or whether the tag must already exist in the sequence.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and object ('build the geometry up to and including one feature') and contrasts it against the sibling geom_build, which builds the whole sequence. An agent can distinguish it from geom_build without opening either schema.

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

Usage Guidelines4/5

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

Gives explicit sequencing guidance: use this for an incremental build up to one feature, then call geom_build to finalize the whole sequence. It does not spell out failure conditions (e.g., unknown tag) or say when incremental stepping is unnecessary, so it is clear context rather than a full when/when-not rule.

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