Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

dataset_set_property

Set one property value on an existing COMSOL dataset by tag and property name, enabling precise dataset configuration when standard controls are unavailable.

Instructions

Set one property on an existing dataset (generic escape hatch).

Args: tag: dataset tag (e.g. "cpl1"). name: COMSOL property name (dataset_info lists valid ones), e.g. "quickz". value: property value ("0.01", 0.01, ["0","1"], ...). 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": "<name>",
      "value": "<value>"
    },
    "name": "dataset_set_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
nameYes
modelNo
valueYes

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 must carry the behavioral load; it does disclose that the target dataset must already exist and that omitting model acts on the current model. It says nothing about persistence, error behavior on invalid names/values, or whether the call returns anything, which leaves real gaps for a mutation tool.

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 purpose sentence is front-loaded and the Args block is compact with no filler. The generic-escape-hatch caveat could have been merged more cleanly, 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 four-parameter mutation tool with no annotations and no output schema, the parameter documentation is solid but the definition never says what happens on success or failure or whether the change is committed. That leaves an agent without enough to predict behavior beyond the call signature.

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 coverage is 0%, so the description must compensate, and it does: all four parameters are explained with examples (tag 'cpl1', name 'quickz', value accepting string/number/array forms, model None = current). Only the loose typing of value is left ambiguous, which is why this is not a 5.

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 ('Set one property on an existing dataset') and qualifies it as a 'generic escape hatch', which separates it from the dedicated *_set_property siblings in spirit. It does not name a specific sibling to prefer, 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?

The phrase 'generic escape hatch' implies it is a fallback for cases without a dedicated tool, and it points at dataset_info as the source of valid property names. There is no explicit when-not guidance or named alternative, so the routing is only implied.

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