Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

dataset_create

Creates a result dataset in a COMSOL model to serve as the data source for plots, evaluations, and exports. Specify the dataset type, optional source, and properties.

Instructions

Create a result dataset (data source for plots/evaluations/exports).

Common types: Solution, CutPlane, CutLine3D, CutPoint3D, Grid3D, Surface, Volume, Embed2D, Mirror3D, Extrude2D, Revolve2D, Sector3D, Filter, Join, TimeAverage, Integral, Average, Maximum, Minimum. Full list: catalog_dataset_types.

Args: type: dataset type string, e.g. "CutPlane". tag: dataset tag (None = auto, e.g. cpl1). Must be unique. source: source dataset tag for derived datasets (e.g. "dset1"); for type="Solution" this is the solution tag (e.g. "sol1"). properties: additional properties, e.g. {"quickplane": "xy", "quickz": "0.01"}. Plane coordinates use quickx/quicky/quickz. 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": {
      "type": "<type>"
    },
    "name": "dataset_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
typeYes
modelNo
sourceNo
propertiesNo

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?

With no annotations, the description carries the full burden. It does disclose real behavior: tag auto-generation when None, the uniqueness constraint, defaulting to the current model, and the derived-vs-Solution meaning of 'source'. It does not say what happens on a duplicate tag, whether the call fails or mutates existing state, or 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?

Front-loaded purpose sentence, then a scannable type list, then a structured Args block — efficient overall. The 18-type inline list is partly redundant with the catalog_dataset_types pointer, but it earns its place as quick-reference for the common cases.

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 five-parameter mutation tool with no annotations and no output schema, the description covers inputs well but leaves the outcome unspecified — no return value (e.g. the created tag), no failure mode, and no indication of persistence or side effects on the model tree.

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 five parameters get meaning, sentinel values ('None = auto', 'None = current model'), a uniqueness rule, and worked examples ('cpl1', 'sol1', quickx/quicky/quickz). The 'properties' bag stays open-ended with only one example, so it is not fully specified.

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 ('Create a result dataset') and adds a useful gloss on what a dataset is for ('data source for plots/evaluations/exports'), plus an enumeration of concrete dataset types. It never explicitly contrasts itself with siblings like dataset_remove or dataset_info, so it stops short of a 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 implied rather than stated: the type list and the note that 'source' is required for derived datasets tell an agent when each parameter applies, and it routes to catalog_dataset_types for the full type catalog. There is no explicit when-to-use/when-not-to-use guidance versus dataset_set_property or dataset_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