Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

model_save

Save a COMSOL Multiphysics model as an .mph file, optionally to a custom path, with versioning or a custom tag to preserve prior versions.

Instructions

Save a model to an .mph file.

Args: model: model name/tag (None = current model). path: target file path. When omitted, saves into the workspace model root. versioned: add a timestamp suffix (keeps previous versions). tag: custom suffix instead of the timestamp.

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

Input Schema

NameRequiredDescriptionDefault
tagNo
pathNo
modelNo
versionedNo

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?

No annotations are supplied, so the description carries the full burden. It does disclose meaningful behavior: the default model and default save location, and that 'versioned' keeps previous versions while 'tag' replaces the timestamp suffix. It omits what happens when the target path already exists (silent overwrite vs error), permission requirements, and what the call returns.

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 purpose is front-loaded in a single sentence, followed by a tight per-argument list where each line adds information. No filler, though the args block could note the versioned/tag precedence rather than leaving it implicit.

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 four-parameter, zero-required, unannotated write tool with no output schema, the definition covers parameter meaning well but leaves the mutation's side effects underspecified: overwrite semantics, error conditions, and the return value are all absent. Adequate to invoke, not fully complete.

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 description coverage is 0%, so the description must compensate, and it does: all four parameters are explained with semantics the schema lacks (None means current model, omitted path means workspace root, versioned appends a timestamp, tag substitutes a custom suffix). Only the interaction between 'versioned' and 'tag' when both are set is left ambiguous.

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 with the output format: 'Save a model to an .mph file.' An agent knows exactly what the tool produces. It does not, however, distinguish itself from the save/export siblings in the catalog.

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 context is only implied through defaults ('None = current model', 'When omitted, saves into the workspace model root'), which tells the agent how to call it cheaply but not when to prefer it over another persistence tool. No exclusions or alternatives are named.

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