Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

phys_remove

Removes a physics interface and all its associated features from a COMSOL model, optionally targeting a specific model, to clean up or reconfigure simulations.

Instructions

Remove a physics interface (and all its features) from the model.

Args: interface: interface tag, label or type (e.g. "ht"). 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_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
interfaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/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 does disclose an important behavior beyond the schema — that all contained features are deleted along with the interface — but says nothing about irreversibility, required model/physics state, or what happens if the interface tag is not found.

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 destructive scope is front-loaded in the first sentence, and the Args block is compact with no filler. Slightly better structure would state the cascade consequence even more prominently, but nothing is wasted.

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 two-parameter mutation tool with no output schema and no annotations, the description covers both parameters and the key destruction side effect. Gaps remain around return value and failure modes, which keeps it from 5.

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 largely does: 'interface' is documented as accepting a tag, label, or type with a concrete example ('ht'), and 'model' is documented as name/tag with None meaning the current model.

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 concrete verb and resource ('Remove a physics interface') and adds scope detail ('and all its features') that separates it from the sibling phys_remove_feature, which removes a single feature. It does not name alternatives explicitly, so it stops short of 5.

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?

Usage is implied by the destructive verb, and the cascade note hints at the tool's scope, but there is no explicit when-to-use vs phys_remove_feature or phys_add, and no statement of prerequisites or exclusions.

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