Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

dataset_remove

Remove a result dataset by tag from a COMSOL model without deleting solution data, so you can clean up datasets while preserving solved results.

Instructions

Remove a result dataset by tag (does not affect the solution data).

Args: tag: dataset tag to remove, e.g. "cpl1" (see dataset_list). 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": {
      "tag": "<tag>"
    },
    "name": "dataset_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
modelNo

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 burden. It does disclose the key destructive scope ('does not affect the solution data'), which is genuinely useful for a removal tool, but omits whether the removal is persisted to disk, reversible, whether dependent plots/animations are invalidated, or what error is raised for an unknown tag.

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 one-sentence purpose followed by terse per-argument notes; nothing is padded. The tag is mentioned both in the opening sentence and the Args block, a slight duplication but conventional for this format.

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 simple two-parameter destructive tool with no annotations and no output schema, the description covers what is deleted and how to identify the target. It is incomplete on failure behavior (nonexistent tag, wrong model) and on persistence/undo, which an agent needs before invoking a delete.

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%, and the description compensates well: it defines 'tag' with a concrete example ('cpl1') and a discovery pointer (dataset_list), and defines 'model' including the critical default semantics (None = current model). Only minor gaps remain, e.g. accepted formats for model tags.

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+resource ('Remove a result dataset by tag') and clarifies the blast radius ('does not affect the solution data'), which distinguishes it from siblings like solution_remove or result_remove. It stops short of explicitly naming which sibling to use instead when the target is actually solution data, so a 4 rather than 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?

The pointer '(see dataset_list)' gives the agent a way to discover valid tags, and the parenthetical clarifies that solution data is untouched. However, it never says when to prefer this over result_remove or solution_remove, nor what happens if the tag doesn't exist; usage is implied rather than stated.

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