Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

session_start

Launch COMSOL and establish a client-server connection for simulation workflows. Set cores, version, port, or standalone mode, then get session status, licensed modules, and loaded models.

Instructions

Start COMSOL and connect (client-server mode by default).

Args: cores: number of solver cores (None/0 = all available cores). version: COMSOL version string such as "6.4" (None = newest installed). port: server port (0/None = pick a free port automatically). standalone: true = run COMSOL in-process (faster, less isolated). Returns session status including version, licensed modules and loaded models.

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_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNo
coresNo
versionNo
standaloneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does disclose the default mode (client-server) and the return payload (version, licensed modules, loaded models), which is genuine value. It omits license-checkout implications, startup blocking behavior, and failure modes such as an already-running server, leaving significant mutation-like behavior undisclosed.

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 core action and default mode are front-loaded in the first sentence, and the Args block is terse with no filler. The numpydoc-style formatting is slightly verbose for a tool description but every line still earns its place.

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 process-launching tool with no annotations and no output schema, the description does cover parameters and return contents. It is still missing operational context an agent needs to call it safely: license prerequisites, expected startup duration, and behavior when a session already exists.

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 coverage is 0%, so the description must compensate, and it does: all four params get meaning plus default semantics (cores None/0 = all, version None = newest installed, port 0/None = auto-pick, standalone = in-process and faster but less isolated). It does not clarify whether port is ignored under standalone or whether standalone and client-server can be combined, so it falls short of a perfect 5.

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?

"Start COMSOL and connect (client-server mode by default)" gives a specific verb+resource and implies process launch, which is distinguishable in spirit from session_connect/session_restart. It never names those siblings, so the agent must infer the boundary between starting a new session and attaching to an existing one.

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: an agent can gather that this is the entry point before other session operations, and the standalone flag hints at a speed/isolation tradeoff. There is no explicit when-to-use/when-not guidance, no statement about what happens if a session already exists, and no routing to session_connect as the alternative.

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