Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

plot_attach_dataset

Reassign an existing plot group to a different dataset so you can re-render the same plot for a cut plane, cut line, mesh, or alternate solution.

Instructions

Point an existing plot group at another dataset.

Useful to re-render the same plot for a cut plane (cpl1), cut line (cln1), mesh dataset or a different solution.

Args: plotgroup: plot group tag. dataset: dataset tag, e.g. "dset1", "cpl1", "cln1". 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": {
      "plotgroup": "<plotgroup>",
      "dataset": "<dataset>"
    },
    "name": "plot_attach_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
datasetYes
plotgroupYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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 correctly implies a mutation of an existing plot group's dataset binding (the prior binding is effectively replaced), but it does not say whether plot_run must be called afterward to actually re-render, what happens if the plot group or dataset tag does not exist, or whether the change persists. The word 're-render' gestures at follow-up work without stating it.

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 with the core action, followed by a compact usage rationale and a short Args block. No filler sentences. The parenthetical tag examples add real signal rather than noise.

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 three-parameter mutation tool with no annotations and no output schema, the definition covers purpose and parameters adequately but leaves behavioral edges (error cases, whether a subsequent plot_run is required, effect on existing plot settings) unstated. An agent could call it correctly but might not know what to do after.

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 names all three parameters, gives example tags for dataset ('dset1', 'cpl1', 'cln1'), and explains that model=None means the current model. The plotgroup argument is described only as 'plot group tag' with no example, a minor gap against otherwise strong compensation.

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 opens with a specific verb and resource: 'Point an existing plot group at another dataset.' That is far more precise than the bare name would suggest, and the 're-render the same plot for a cut plane...' sentence clarifies the intent. It stops short of explicitly distinguishing this from a sibling like plot_set_properties, which could plausibly also change a dataset binding.

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

Usage Guidelines4/5

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

The second sentence supplies a concrete use context: re-rendering the same plot against a cut plane (cpl1), cut line (cln1), mesh dataset, or a different solution. That is a clear 'when to use' signal. There is no explicit 'when not to use' or named alternative, which keeps it from a 5.

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