Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

phys_rename

Rename a COMSOL physics interface display label or programmatic tag to keep model organization clear and identifiers unique.

Instructions

Rename a physics interface (display label and/or programmatic tag).

Args: interface: current interface tag or label. new_label: new display label shown in the COMSOL GUI (optional). new_tag: new programmatic tag (optional; must be unique). 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": {
      "interface": "<interface>"
    },
    "name": "phys_rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
new_tagNo
interfaceYes
new_labelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two behavioral facts: new_tag must be unique, and model=None means the current model. It does not say whether renaming cascades to dependent features/selections, what error occurs on a tag collision, or whether the change is undoable or persists — significant gaps for a mutation tool.

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 block is compact and scannable. The Args list duplicates schema field names, but with 0% schema coverage that restatement earns its place; no filler text.

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 a 4-parameter mutation tool with no annotations and no output schema, the description covers inputs adequately but leaves return value/confirmation format and side effects (cascading renames, persistence) unexplained. It is workable but not complete.

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%, and the description compensates well by explaining all four parameters: interface is the current tag or label, new_label is the GUI display label, new_tag is the programmatic tag with a uniqueness constraint, and model defaults to the current model. It stops short of naming allowed character/format rules or what happens when both new_* are omitted.

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 description gives a specific verb and resource ('Rename a physics interface') and clarifies the two renameable facets (display label and programmatic tag). This is clearly distinct from siblings like model_rename or mat_rename by resource, though no sibling is explicitly named as an alternative.

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?

There is no when-to-use/when-not guidance, no prerequisites (e.g., whether the interface must exist or the model be open), and no mention of alternatives such as removing and re-adding an interface. Only the implied 'rename' semantics convey usage.

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