Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mesh_remove

Remove an entire mesh sequence from a COMSOL component by specifying the mesh tag; optionally auto-detect the component and use the current model.

Instructions

Remove an entire mesh sequence from its component.

Args: mesh: mesh sequence tag, e.g. "mesh1". component: component tag (None = auto-detect). 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": {
      "mesh": "<mesh>"
    },
    "name": "mesh_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
meshYes
modelNo
componentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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 says 'Remove' but never states irreversibility, whether an undo is possible, what happens to dependent features or studies, or what the call returns on success or failure — significant gaps for a destructive operation.

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?

Front-loaded with a single clear sentence, then an Args block that earns its place by explaining defaults the schema omits. No filler or restated boilerplate beyond the parameter names themselves.

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?

A destructive, 3-parameter tool with no annotations and no output schema, so the description should explain consequences and return behavior. It covers inputs adequately but leaves the agent uninformed about side effects, dependencies, and result, which matters given how much this call can destroy.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% (only bare titles), and the description does add real meaning for all three parameters: a tag format example ('mesh1'), component auto-detect when None, and current-model default for model. That compensates partially, but model name/tag format and ambiguity between tag and name remain unspecified.

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 plus scope: 'Remove an entire mesh sequence from its component.' The word 'entire' implicitly distinguishes it from mesh_remove_feature, but no sibling is named explicitly, so the differentiation is inferred rather than stated.

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 guidance on when to use this versus mesh_remove_feature, mesh_clear, or solver_sequence_remove, and no prerequisites such as whether the mesh must be unbuilt or whether referencing physics/solutions block removal. The agent must guess the selection conditions.

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