Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

solver_feature_set

Configure solver feature properties in a COMSOL model by specifying the solver sequence, feature path, and property values to control settings such as linear solver, iterations, and tolerances.

Instructions

Set properties of a solver-configuration feature.

Args: sequence: solver sequence tag (None = the only one). feature: feature path inside the sequence, e.g. "s1" or "s1/fc1". properties: property name -> value, e.g. {"linsolver": "pardiso"}, {"maxiter": 200}, {"stol": 1e-4}. 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": {
      "feature": "<feature>",
      "properties": "<properties>"
    },
    "name": "solver_feature_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
featureYes
sequenceNo
propertiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 for a mutation tool. It does not say whether unknown property names raise an error or are silently ignored, whether values are type-checked, whether changes require a solver re-run to take effect, or whether the operation is reversible.

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 purpose statement is front-loaded and the argument block is compact, with each entry adding real information. The docstring formatting ('Args:') is slightly mechanical but wastes no space.

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-parameter mutation tool with a free-form nested properties object, no annotations and no output schema, the description covers inputs adequately but leaves the effects and failure modes unexplained. An agent could call it correctly but cannot predict what it returns or how it fails.

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 largely does: it documents all four parameters, including the None-defaults for sequence and model, the path syntax for feature, and concrete property-name/value examples for the free-form properties object. What it omits is any hint about which property names are valid.

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?

The description opens with a specific verb and resource: 'Set properties of a solver-configuration feature.' That distinguishes it from siblings like solver_feature_add, solver_feature_list and solver_feature_properties, though it never names those siblings to make the distinction explicit.

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 only implied: the feature-path argument ('s1' or 's1/fc1') signals that the feature must already exist, but the description never says when to use this versus solver_feature_add or how to discover valid feature paths (solver_feature_list). No exclusions or prerequisites are stated.

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