Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

session_kill

Force-kills the managed COMSOL server process when a solve hangs and job_cancel fails, serving as an escape hatch before restarting the session.

Instructions

Force-kill the managed COMSOL server process (escape hatch).

Use when a solve hangs and job_cancel cannot stop it. Afterwards call session_start to bring COMSOL back (models must be reloaded/saved first).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does most of it: "force-kill" and "escape hatch" signal an abrupt, non-graceful operation, and the parenthetical that models must be reloaded/saved first warns of state loss. It stops short of saying what happens to the return value or whether the call fails when no server is running.

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 sentences, front-loaded with the action and its escape-hatch framing, followed by trigger and recovery. Every clause carries information an agent needs and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, zero-parameter tool with no annotations and no output schema, the description covers trigger, consequence, and recovery path. The only omission is edge behavior such as calling it when no server is active or how failure is reported.

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?

The tool takes zero parameters, so there is no parameter meaning to add; baseline for a no-param tool applies. Nothing in the description misleads about inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — "force-kill the managed COMSOL server process" — and immediately frames it as an escape hatch, which separates it from the graceful-shutdown siblings like job_cancel and session_stop.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger condition ("a solve hangs and job_cancel cannot stop it") plus the required follow-up action (call session_start afterwards), so the agent knows both when to reach for it and what to do next. The named alternative job_cancel establishes the fallback ordering.

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