Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

solver_sequence_create

Creates automatic or manual solver sequences for COMSOL studies, configuring study steps, variables, and solver features so models can be solved.

Instructions

Create a solver sequence for a study (automatic or explicit/manual).

Args: study: study tag (None = the only study in the model). mode: "auto" (Study.createAutoSequences; COMSOL default settings) or "manual" (explicit StudyStep + Variables + solver feature sequence). sequence_tag: tag for a manual sequence (None = automatic "sol1", ...). sequence_type: for mode="auto": "all" (default), "sol" or "jobs". solver_feature_types: for mode="manual": extra feature types to add inside each solver feature, e.g. ["Direct", "FullyCoupled"]. attach: attach the manual sequence to the study (default true). 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_sequence_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoauto
modelNo
studyNo
attachNo
sequence_tagNo
sequence_typeNoall
solver_feature_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it discloses that auto mode uses COMSOL defaults, that manual mode attaches to the study by default, and that sequence_tag defaults to "sol1". It does not say what happens when a sequence already exists, whether existing sequences are overwritten, or what is returned on success.

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?

Front-loads the one-line purpose, then uses a compact per-argument list with no filler sentences. The mode-specific qualifiers ("for mode='auto'", "for mode='manual'") are placed where they are needed.

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 creation tool with no annotations and no output schema, the argument documentation is thorough, but the description never states what the tool returns (e.g., the generated sequence tag) or what failures look like. That gap leaves the agent guessing about the result of an otherwise well-documented call.

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?

With schema description coverage at 0%, the description compensates fully, explaining all seven parameters with valid values and defaults: mode values, sequence_type values ("all"/"sol"/"jobs" restricted to auto mode), solver_feature_types with a concrete example, attach default true, and the None-means-default semantics for study, model, and sequence_tag. This adds meaning well beyond the bare schema titles.

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 ("Create a solver sequence for a study") and immediately names the two modes (automatic vs explicit/manual). An agent can distinguish this from solver_sequence_list, solver_sequence_remove, and solver_configure by name, though the description does not explicitly point at those siblings.

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?

Gives clear context for choosing between the two operating modes: "auto" maps to Study.createAutoSequences with COMSOL default settings, while "manual" builds an explicit StudyStep + Variables + solver feature sequence. It does not name an alternative tool or state when a sequence is unnecessary, so no exclusions are provided.

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