Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

plot_group_create

Creates an empty COMSOL plot group at the results root, letting you define the plot type, dataset, title, and properties before adding plots.

Instructions

Create an empty plot group at the results root.

Args: plotgroup_type: PlotGroup3D (default) | PlotGroup2D | PlotGroup1D | PolarGroup | SmithGroup. tag: plot group tag (auto pg1, pg2... when omitted). dataset: dataset tag the group renders, e.g. "dset1" (default solution), "cpl1" (cut plane), "cln1" (cut line). When omitted COMSOL uses the default solution dataset. title: plot title shown in the image / report. properties: extra plot-group properties, e.g. {"showlegends": "off", "title": "..."}. model: model name/tag (None = current model).

Example: plot_group_create("PlotGroup3D", tag="pgT", dataset="dset1", title="Temperature (K)")

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

Input Schema

NameRequiredDescriptionDefault
tagNo
modelNo
titleNo
datasetNo
propertiesNo
plotgroup_typeNoPlotGroup3D

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 burden. It usefully discloses that the group is created empty, that tags are auto-generated, and that datasets default to the solution when omitted, but it does not state side effects, permissions, persistence, or return behavior.

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 description is front-loaded with the purpose and then uses a structured Args list plus a concrete example. It is slightly verbose in docstring style, but every section adds useful invocation detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter creation tool with no annotations and no output schema, the description covers invocation well, including defaults and examples. It remains incomplete about what the tool returns, such as the created plot group tag, and about error or prerequisite behavior.

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 explain all six parameters. It does so thoroughly: it lists valid plotgroup_type values, explains automatic tag naming, gives dataset tag examples including defaults, describes title and model, and provides a properties example.

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 description states a specific verb and resource: 'Create an empty plot group at the results root.' This clearly identifies the operation and lifecycle state, but it does not explicitly distinguish the tool from related siblings such as plot_quick or plot_add_feature.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The example implies typical usage, but there is no explicit guidance on when to use this tool versus alternatives like plot_quick, plot_add_feature, or result_create. It also omits prerequisites such as needing an existing model or dataset.

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