Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

phys_remove_feature

Removes a specified physics feature from a COMSOL interface so you can simplify model setup; default or required features cannot be deleted.

Instructions

Remove a physics feature (COMSOL default/required features cannot be removed).

Args: interface: interface tag/label/type (e.g. "ht"). feature: feature tag/label (e.g. "temp1"). 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>",
      "feature": "<feature>"
    },
    "name": "phys_remove_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
featureYes
interfaceYes

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 provided, so the description carries the full behavioral burden. It does disclose a real behavioral constraint — that removal fails for COMSOL default/required features — but says nothing about whether removal cascades to dependent physics nodes, whether it is reversible, or what the call returns on success.

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?

One-line summary with the important constraint front-loaded in the parenthetical, followed by a compact per-argument list. No filler; the only mild inefficiency is the docstring-style Args block, which is functional but slightly more verbose than inline prose.

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 three-parameter mutation tool with no annotations and no output schema, the description adequately covers inputs and the main failure mode. It stops short on side effects and return behavior, which an agent invoking a destructive physics operation would reasonably want.

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 does: each of the three parameters is explained with its accepted identifier form and a concrete example (interface "ht", feature "temp1"). The note that model=None means the current model adds meaning beyond the schema's bare default of null.

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?

States a specific verb and resource ("Remove a physics feature") and immediately qualifies scope with the parenthetical that COMSOL default/required features cannot be removed. An agent can distinguish this from phys_add_feature or phys_toggle_feature without further reading, though no sibling is named explicitly.

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?

The parenthetical supplies a genuine when-not condition (default/required features are off-limits), which is more than most definitions offer. However, there is no guidance on when to use remove versus toggle or the other remove variants (mesh_remove_feature, solver_feature_remove), so the agent must infer alternatives from names alone.

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