Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

plot_remove

Deletes an entire plot group or a single plot feature or attribute from a COMSOL model, letting you clean up or restructure visualization output before re-plotting or export.

Instructions

Remove a plot group entirely, or one plot feature/attribute.

Args: plotgroup: plot group tag. feature: feature tag or nested path to remove; omit to remove the whole plot group. 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>"
    },
    "name": "plot_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
featureNo
plotgroupYes

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?

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the consequential difference between deleting an entire plot group versus a single feature, but says nothing about permissions, reversibility, whether attached datasets or downstream plot state are affected, 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?

The core action is front-loaded in the first sentence, and the Args list is compact and free of filler. The docstring formatting is slightly mechanical but nothing is wasted.

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 destructive tool with no annotations and no output schema, the definition covers parameters and the destructive scope decision but leaves out return behavior, error conditions, and side effects on anything attached to the plot group. Adequate but not complete for a delete operation.

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%, yet the Args block documents all three parameters: `plotgroup` is a plot group tag, `feature` accepts a tag or nested path and can be omitted for whole-group removal, and `model` defaults to the current model when None. That compensates well for the empty schema, with only minor gaps such as tag format examples.

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 gives a specific verb (remove) and resource (plot group or a single plot feature/attribute), and it distinguishes the two removal modes: whole group versus one feature. That is clear enough to separate it from sibling *_remove tools that target other object types, though it never explicitly names an alternative.

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 by the field text: omit `feature` to delete the whole plot group, supply a feature tag or nested path to delete one item. There is no guidance on when to prefer this over sibling tools like plot_set_properties (e.g., clearing a property instead of removing it), nor any warning about preconditions.

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