Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

solution_remove

Removes a stored solution (solver sequence) from a COMSOL Multiphysics model, optionally targeting a specified model instead of the current one.

Instructions

Remove a stored solution (solver sequence) from the model.

Args: solution: solution tag (e.g. "sol1"). 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": {
      "solution": "<solution>"
    },
    "name": "solution_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
solutionYes

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 behavioral burden, and it discloses very little: 'Remove' implies a destructive, likely irreversible mutation, but the description never says whether the removal is permanent, whether results/plots referencing the solution are affected, what happens if the tag is unknown, or what is returned. For a no-annotation mutation tool this is a substantial gap.

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 one-line summary is front-loaded and the Args block is compact with no filler. The docstring-style parameter listing is slightly redundant with the schema, but it costs little and stays readable.

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 simple two-parameter removal tool with no output schema, the definition covers identity and parameter meaning adequately. It is missing the mutation-safety context (irreversibility, side effects on dependent results) that an agent needs before invoking a delete operation with no annotations.

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%, so the description must compensate; it does document both parameters, giving an example tag format ('sol1') and explaining that model=None targets the current model, which is genuinely useful beyond the bare schema types. It stops short of stating accepted tag formats beyond the example or how errors surface for an invalid tag.

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 stored solution') and clarifies that a solution is a solver sequence, which helps orient an agent among the many *_remove siblings. It does not, however, distinguish itself from solution_list/solution_info/solver_sequence_remove, so the agent must infer the boundary from names alone.

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 (e.g. must the model be loaded or the solution unselected first?), and no mention of alternatives for removing a solver sequence versus a solution. The only guidance is the implicit note that model=None means the current model.

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