Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

solution_select

Points a result dataset at a stored solution so datasets display the correct solution data. Use it to link a dataset tag to a solution tag in a COMSOL model.

Instructions

Point a result dataset at a stored solution (dataset "solution" property).

Args: solution: solution tag (e.g. "sol1"). dataset: result dataset tag (e.g. "dset1"; None = the only dataset). 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": {
      "solution": "<solution>"
    },
    "name": "solution_select"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
datasetNo
solutionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 mechanism precisely by naming the dataset property being set, which tells the agent the effect is a mutation of an existing dataset. It omits what happens if the dataset already has a solution assigned (overwrite vs. error), whether the solution tag is validated, and whether anything else is invalidated by the change.

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?

One front-loaded sentence states the effect, followed by a short Args block. No filler, and each param line adds something the schema does not. Slight redundancy between the parenthetical property reference and the Args list is the only cost.

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 with no annotations and no output schema, the description covers parameters and the core effect adequately but leaves out failure modes and overwrite behavior. An agent can invoke it correctly, but cannot predict the outcome when the target dataset is already configured.

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 gives the type and example format for solution ("sol1") and dataset ("dset1"), and explains the null/default meaning for both optional parameters. Only the model parameter's format is left without an 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 names a specific verb and resource: point a result dataset at a stored solution, and pins it down to the dataset's "solution" property. That is concrete enough to distinguish it from solution_list, solution_info, and result_solution_values, which read/query rather than assign.

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?

There is no statement of when to use this versus the sibling solution tools, nor any prerequisite or exclusion. The only usage-adjacent content is the default semantics for optional args ("None = the only dataset", "None = current model"), which helps invocation but does not guide tool selection.

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