Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

study_transient

Create and solve a COMSOL time-dependent study from a time list, with options to set step properties, generate plots, and label the study.

Instructions

Create a time-dependent study with a time list and (by default) solve it.

Args: times: COMSOL time list expression, e.g. "range(0,0.1,1)" (0 s to 1 s in 0.1 s steps) or "range(0,0.05,0.5)". A list of values such as [0, 0.1, 0.2] is also accepted. study: study tag (None = automatic "std_time1"). properties: extra Transient step properties (e.g. {"tunit": "s"}). solve: run the study after creating it (default true). generate_plots: generate default plot groups. label: optional display label. model: model name/tag (None = current model).

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

Input Schema

NameRequiredDescriptionDefault
labelNo
modelNo
solveNo
studyNo
timesNorange(0,0.1,1)
propertiesNo
generate_plotsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/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 biggest behavioral fact: solving happens by default after creation, which is an expensive, side-effecting operation. It also explains the auto-generated study tag ("std_time1"), the None-means-current-model convention, and the generate_plots default. It stops short of saying what happens if the tag already exists, whether the call blocks for a long solve, or what it 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?

A one-line summary is front-loaded before the Args block, and each entry is a single sentence. The duplicate time-range example is mildly redundant, but nothing here is padding.

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 seven-parameter tool that both mutates state and triggers a solver run, with no annotations and no output schema, the description should say what comes back (study tag? solve status?) and how failures or long runtimes are surfaced. Parameter coverage is strong, but the return and error contract is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 entirely, and it does: times is explained with two concrete COMSOL expressions plus a plain-list alternative, properties is given a worked example, and study/model document their None defaults. All seven parameters get meaning the bare JSON schema does not provide.

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?

The opening line names a specific verb and resource ("Create a time-dependent study with a time list") and states the default side effect ("by default) solve it"). The qualifier "time-dependent" is enough to separate it from the stationary, frequency, and eigenfrequency siblings without opening any schema.

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?

It implies when to use it via "time-dependent", but never states when to prefer study_stationary, study_frequency, or plain study_create, nor any prerequisite (model must exist, physics configured). The only real routing signal is the physics-type adjective.

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