Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

model_load

Load a COMSOL .mph model file into COMSOL, optionally registering it under a specified name.

Instructions

Load a .mph model file into COMSOL.

Args: path: absolute path to the .mph file. name: optional name to register the model under.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "model_load"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about what loading does to session state (does it become the current model?), how name collisions are handled, or what errors occur for a bad path. Only the mutation is implied by 'Load'.

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?

One-sentence purpose followed by a two-item args list, front-loaded and free of filler. The 'Args:' formatting is slightly verbose for two parameters but nothing is wasted.

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 simple two-parameter load tool with no output schema, the description covers inputs adequately but omits what the call returns (registered model name/handle) and whether it changes the active model, leaving an agent unsure of post-call state.

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: it constrains 'path' to an absolute path to the .mph file and explains that 'name' is an optional registration name. Both parameters gain meaning the bare schema does not provide; only edge cases like name defaults or conflicts are left unstated.

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: 'Load a .mph model file into COMSOL.' An agent can tell this creates a model from a file rather than creating one from scratch or opening the GUI. It does not explicitly contrast with siblings like library_load or model_open_gui, so it stops short of 5.

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 by the verb 'Load' and the .mph file argument; there is no statement of when to prefer this over model_create, model_clone, library_load, or model_open_gui, and no prerequisites or exclusions are given.

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