Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

solver_configure

Configure COMSOL solver sequences by listing features, adding new features, and setting properties on existing ones.

Instructions

Generic solver-configuration access: list features, add one, set properties.

One tool for all low-level solver edits:

  • with just sequence -> feature tree of the sequence;

  • with add_feature_type -> create a feature (optionally under parent);

  • with feature + properties -> edit an existing feature.

Args: sequence: solver sequence tag (None = the only one). feature: existing feature path to edit, e.g. "s1/d2". properties: properties to set on feature (or on the new feature). add_feature_type: feature type to create, e.g. "Direct", "FullyCoupled". add_tag: tag for the new feature (None = automatic). parent: parent feature path for the new feature (None = sequence root). 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": "solver_configure"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
parentNo
add_tagNo
featureNo
sequenceNo
propertiesNo
add_feature_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key behavioral trait: the tool's effect is conditional on which arguments are supplied, with one read mode and two mutating modes. It does not state whether edits persist to the model, whether `properties` merges with or replaces existing settings, what errors occur on bad `feature` paths, or what a create returns. Adequate but incomplete for a multi-mode mutation tool.

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?

Front-loaded summary, then a scannable three-bullet mode map, then a conventional Args block. Every sentence carries information — the bullets do double duty as mode documentation and parameter semantics, and there is no filler.

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 seven-parameter, zero-schema-coverage, no-annotation, no-output-schema tool, the definition covers inputs and modes but leaves two agent-critical questions open: what the tool returns in each mode (tree shape, new tag) and how it relates to the specialized solver_feature_* siblings. Sufficient to call it, not sufficient to call it confidently.

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 Args block is doing essential work by defining all seven parameters, their defaults (None = only sequence / automatic tag / sequence root / current model), and example values ('s1/d2', 'Direct', 'FullyCoupled'). Gaps remain: `properties` is only described as 'properties to set' with no key vocabulary, and no precedence rule is given when both `feature` and `add_feature_type` are supplied.

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?

Opening line names a specific verb set and resource ('Generic solver-configuration access: list features, add one, set properties'), and the three bullets enumerate the exact modes. An agent knows precisely what operations the tool performs, though it gets no signal to distinguish this from dedicated siblings like solver_feature_add.

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?

The bullet list effectively documents intra-tool usage: pass `sequence` alone to list, `add_feature_type` to create, `feature` + `properties` to edit. That is real mode-selection guidance. However, there is no when-to-use-this-vs-alternative guidance despite the catalog containing solver_feature_add, solver_feature_set, solver_feature_list, and solver_feature_properties that appear to overlap, and no stated prerequisites (e.g. must a sequence already exist?).

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