Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

solver_run

Run a COMSOL solver sequence on the current or specified model—all steps, from a start feature, or between features—and optionally create plots.

Instructions

Run a solver sequence (runAll / runFrom / runFromTo).

Args: sequence: solver sequence tag (None = the only one). mode: "all" (default, SolverSequence.runAll), "from" (runFrom), or "from_to" (runFromTo). from_feature: feature tag to start from (mode="from"/"from_to"), e.g. "st1" or "s1". to_feature: feature tag to stop at (mode="from_to"). generate_plots: ask runAll to create plots (where supported). 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_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoall
modelNo
sequenceNo
to_featureNo
from_featureNo
generate_plotsNo

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, and it discloses very little: no indication of whether the run is long-blocking, whether it mutates the model or study state, what happens if from_feature is invalid, or what is returned. The one genuine behavioral note is the qualifier "where supported" on generate_plots, which is helpful but isolated.

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 purpose sentence is front-loaded and the remaining content is a compact Args block where each line adds information. There is no filler or repetition, though the Args-list style is slightly mechanical compared to prose that would tie mode to the from/to parameters.

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?

With no output schema and no annotations on a six-parameter execution tool, the description should say more about execution semantics and results than it does. Parameter documentation is complete, but an agent still cannot tell whether the call blocks, whether it alters the model, or how to interpret success, which is a meaningful gap for a run/execute tool.

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% across six parameters, so the description must compensate, and it largely does: each argument is defined, defaults are restated (mode="all", None = current model, None = the only sequence), and concrete tag examples ("st1", "s1") are given for from_feature. It stops short of stating whether tags are validated or what error results from a bad tag, and the interaction between mode and the from/to params is implied rather than enforced.

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 opening line names a specific verb and resource ("Run a solver sequence") and enumerates the three underlying run variants, so an agent knows this executes a configured sequence rather than configuring or listing one. It does not explicitly contrast itself with siblings like solver_configure or solver_sequence_create, which keeps it short of a 5.

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 mode argument effectively encodes when to use each variant (all / from / from_to) and names the corresponding API calls, which is useful selection guidance within the tool. However, there is no guidance on when to pick this tool over solver_configure, solver_sequence_create, or the other *_run siblings, and no prerequisites (e.g. whether a sequence must exist first) 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