Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

solver_feature_remove

Removes a solver-configuration feature from a COMSOL solver sequence using model and feature path, reporting the COMSOL 6.4 deletion limitation when refused.

Instructions

Remove a solver-configuration feature (COMSOL 6.4 limitation).

Args: sequence: solver sequence tag (None = the only one). feature: feature path inside the sequence, e.g. "s1/d2". model: model name/tag (None = current model).

Note: COMSOL 6.4's client API refuses to delete solver-configuration features ("cannot remove feature"); this tool reports that as a documented limitation. To restructure a solver sequence, remove and recreate it (solver_sequence_remove + solver_sequence_create).

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": {
      "feature": "<feature>"
    },
    "name": "solver_feature_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
featureYes
sequenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden and does the most valuable thing possible: it discloses that the underlying client API refuses deletion and that this tool surfaces it as a documented limitation rather than a silent failure. It does not describe what a successful return looks like, whether state changes partially, or what permissions are needed, which keeps it from a 5.

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 Args block restates parameter names already present in the schema but pairs each with meaning, and the limitation note is front-loaded enough to be read before invocation. It is slightly long for a three-parameter mutation, though nearly every sentence carries decision-relevant information.

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 simple mutation with no output schema and no annotations, the definition covers the parameters, the failure mode, and the escape hatch, which is what an agent needs to avoid a dead end. It omits the return/error payload shape and any permission prerequisites, minor gaps given the tool's simplicity.

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

Parameters5/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 documents all three parameters: sequence as a solver sequence tag with 'None = the only one', feature as a path with a concrete example ('s1/d2'), and model with 'None = current model'. This adds format and default semantics that the bare JSON schema does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ('Remove a solver-configuration feature') scoped to solver configurations, which cleanly separates it from solver_feature_add, solver_feature_set, and solver_feature_list. The parenthetical immediately signals this is a constrained operation, so an agent can tell it apart from siblings without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent away from this tool when the goal is restructuring: 'To restructure a solver sequence, remove and recreate it (solver_sequence_remove + solver_sequence_create).' That is concrete alternative guidance naming real siblings. It stops short of stating the positive case ('use this when you only need to drop one feature and 6.4 permits it'), but the context is clear enough.

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