Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

model_remove

Remove a COMSOL model from memory without deleting files on disk; use it to free memory or close models no longer needed.

Instructions

Remove a model from COMSOL memory (does not delete files on disk).

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

Input Schema

NameRequiredDescriptionDefault
modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the critical non-obvious behavior that on-disk files are untouched. It is silent on whether unsaved in-memory changes are lost, whether confirmation is required, or what happens to the current-model pointer afterwards, so the mutation risk profile is only half told.

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?

One short, front-loaded sentence with the disambiguating caveat in parentheses; no filler, nothing to trim.

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 simple single-parameter teardown tool with no output schema, the essentials are covered: what is destroyed (the in-memory model) and what is not (disk files). The remaining gaps are the unspecified default model and the fate of unsaved changes.

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?

The single parameter has 0% schema description coverage and a null default, and the description never explains what "model" means or what happens when it is omitted (presumably the current model). For a one-parameter tool where the schema documents nothing, the description should have compensated and does not.

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 ("Remove a model") plus the scope of removal ("from COMSOL memory"), which separates it from file-level operations like export_model_file. It does not name a sibling alternative, but the resource and scope are unambiguous.

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

Usage Guidelines2/5

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

No guidance on when to choose this over model_save, model_snapshot, or simply loading another model; the reader is left to infer that removal follows when the model is no longer needed. The parenthetical rules out file deletion, which is closer to a scope clarification than usage routing.

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