Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

study_add_step

Add any COMSOL 6.4 study step to an existing study and configure step properties such as time lists, eigenmode counts, or parameter lists.

Instructions

Add a study step to an existing study (any COMSOL 6.4 study-step type).

Args: study: study tag. step_type: COMSOL study-step type, e.g. "Stationary", "Transient", "Eigenfrequency", "Frequency", "ModeAnalysis", "Parametric", "MaterialSweep", "BatchSweep", "Sensitivity", "Optimization". tag: step tag (None = automatic, e.g. "stat", "time", "eig"). label: optional display label. properties: step properties to set, e.g. {"tlist": "range(0,0.1,1)"} for Transient, {"neigs": 6} for Eigenfrequency, {"plist": ["10", "20", "30"]} for Frequency. model: model name/tag (None = current model).

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": {
      "study": "<study>",
      "step_type": "<step_type>"
    },
    "name": "study_add_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
labelNo
modelNo
studyYes
step_typeYes
propertiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 behavioral burden; it does disclose useful behavior such as automatic tag generation with defaults ('stat', 'time', 'eig') and that a null model means the current model. It does not state what is returned (presumably the generated step tag), whether a solver sequence or physics selection is attached to the new step, or what happens on invalid step types or missing studies.

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?

Front-loaded one-line summary followed by a compact args block; every line carries information an agent would otherwise have to guess. The enumeration of ten step types is long but is genuinely needed to convey the accepted domain of step_type.

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 mutation tool with six parameters, no annotations, and no output schema, the definition covers inputs well but leaves the post-call picture undefined: no return value, no statement of side effects on the study's solver configuration, and no error or prerequisite conditions. It is adequate to call correctly, but thin on consequences.

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 largely does: all six parameters are documented with concrete examples, including the open-ended 'properties' dict with realistic per-type payloads for Transient, Eigenfrequency, and Frequency. It stops short of covering property keys for the other seven listed step types or any type constraints on values.

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?

The first sentence gives a specific verb and resource ('Add a study step to an existing study') and bounds scope to COMSOL 6.4 study-step types. It doesn't explicitly contrast itself with neighbors like study_add_sweep or study_create, so an agent must infer that boundary, but the purpose itself is unambiguous.

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?

'Existing study' implies a prerequisite (a study tag must already exist), and the per-type property examples imply this is the generic entry point for step creation. However, there is no explicit when-to-use / when-not-to-use guidance and no mention of how it relates to study_add_sweep, study_stationary, or the convenience wrappers in the sibling list.

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