Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

geom_rename_feature

Change a geometry feature's display label or programmatic tag, optionally in a specified model and geometry sequence. Use it to clarify model trees or adjust tags before updating referenced selections.

Instructions

Change a feature's display label and/or its tag.

Args: tag: current feature tag. label: new display label (None = keep). new_tag: new programmatic tag (None = keep). Referenced selections may need updating afterwards. 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_rename_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
labelNo
modelNo
new_tagNo
geometryNogeom1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose genuinely useful behavior: None means "keep" for label, new_tag and model, and renaming a tag can invalidate referenced selections. It still omits whether the operation is reversible, what happens if new_tag collides with an existing tag, and what errors occur for an unknown tag.

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?

A single front-loaded sentence states the operation, followed by a compact Args block covering every parameter. There is no filler, though the docstring-style layout is slightly less scannable than a prose summary would be.

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 five-parameter mutation tool with no annotations, no output schema and zero schema coverage, the description covers every parameter and warns about the main downstream consequence. Missing pieces are edge-case behavior (tag collisions, nonexistent tags) and return information, which is minor given the tool's simplicity.

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 description must compensate, and it documents all five parameters with meaning beyond the bare titles: tag is the current feature tag, label and new_tag use None-as-keep semantics, model None means current model, and geometry defaults to "geom1". The only gap is that tag/model format conventions (name vs numeric tag) are not clarified.

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?

"Change a feature's display label and/or its tag" names a specific verb (change/rename) and resource (a geometry feature's label and tag), which clearly separates it from siblings like geom_delete_feature, geom_reorder_feature or geom_run_feature. It does not explicitly name any alternative, but the resource scope 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 Guidelines2/5

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

The description never states when to use this tool versus the other rename tools (mat_rename, model_rename, phys_rename) or versus geom_get_properties, nor does it state prerequisites such as the feature tag having to exist. The only guidance-like content is the caution that referenced selections may need updating afterwards, which is a side effect rather than a when-to-use 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