Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

session_restart

Restart the COMSOL server process to recover from errors or get a clean state. Save open models first, then reload them after reconnecting.

Instructions

Restart the COMSOL server process and reconnect (recovery / clean state).

All models are unloaded by COMSOL; save them with model_save first and reload afterwards with model_load.

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": "session_restart"
  }
}

Input Schema

NameRequiredDescriptionDefault
coresNo
versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/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 and it does disclose the critical side effect: all models are unloaded by COMSOL, with the mitigation steps named. It stops short of describing what happens to open connections, whether cores/version settings persist, or how long the restart takes, which keeps it out of the 5 range.

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?

Three short clauses, front-loaded with the core action and immediately followed by the data-loss warning and remedy. No wasted wording.

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 destructive restart with no annotations and no output schema, the description covers the major hazard and recovery path, but leaves the two parameters entirely opaque and says nothing about post-restart state (connection validity, session_status verification). Adequate but with a clear gap.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and both optional parameters ('cores', 'version') appear in the description only as unmentioned names — they are never explained anywhere. The agent gets no guidance on what values are acceptable, whether omitting them preserves current settings, or what 'version' refers to.

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 ('Restart the COMSOL server process and reconnect') plus a parenthetical scope hint ('recovery / clean state'). An agent can distinguish it from session_start/session_stop/session_kill by the restart-and-reconnect framing, though it never explicitly names 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 a clear use condition ('recovery / clean state') and, more importantly, prescribes the surrounding workflow: save with model_save first, reload with model_load afterwards. That is actionable guidance an agent can follow without inference, even though it doesn't spell out when to prefer session_kill or session_start instead.

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