Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

mesh_remove_feature

Removes one mesh feature and all child features from a COMSOL mesh sequence, letting you target the model, component, mesh, and feature tags.

Instructions

Remove one mesh feature (and its child features) from a sequence.

Args: mesh: mesh sequence tag (None = first). feature: feature tag to remove, e.g. "ftet1". component: component tag (None = auto-detect). model: model name/tag (None = current model).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mesh_remove_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
meshNo
modelNo
featureNo
componentNo

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. It does add real value by disclosing the cascade: child features are removed along with the target, which is exactly the kind of destructive side effect an agent must know. But it does not say whether removal is reversible/undoable, what happens if the tag does not exist, or whether a model update/recompute is triggered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The one-line summary is front-loaded and the remaining lines are a compact per-parameter list with no filler. Every sentence carries information an agent needs to fill arguments.

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 four-optional-parameter destructive mutation with no annotations and no output schema, the definition covers identification and the cascade side effect adequately. It is still missing failure semantics, reversibility, and any indication of what the call returns or whether downstream features/state become invalid.

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: each of the four parameters is documented with its meaning, a format example ('ftet1'), and the None fallback behavior (first mesh, auto-detect component, current model). Only the exact tag-source (where to find valid tags) is left implicit.

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?

A specific verb-plus-resource statement: 'Remove one mesh feature (and its child features) from a sequence.' It clearly scopes the operation to mesh features rather than a whole mesh or geometry/geometry-sequence features, so an agent can distinguish it from generic remove tools. It stops short of naming a sibling it is explicitly not (e.g. mesh_remove), so it is clear but not differentiating.

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 or when-not-to-use guidance, no prerequisites, and no mention of alternatives such as phys_remove_feature or geom_delete_feature. Usage is only implied by the parameter list (locate feature by tag within a mesh sequence).

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