Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

tree_run

Executes a COMSOL model tree node's run action to build geometry, generate mesh, run a study, or other tree operations using its path and optional model.

Instructions

Execute the node's run action (build geometry, generate mesh, run study, ...).

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": {
      "path": "<path>"
    },
    "name": "tree_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/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 says the tool executes work but omits everything that matters for a mutating, potentially long-running operation: whether it blocks, what state it changes in the model tree, whether it can fail partially, or whether results overwrite existing node data.

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?

A single compact sentence with the action front-loaded and examples in parentheses. Nothing is wasted, though the parenthetical could have been spent on usage conditions instead of a partial enumeration of action types.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and 0% parameter coverage, the description would need to carry safety, timing, return, and parameter information. It carries none of these, leaving an agent to guess at the semantics of both inputs and the result of an execution that mutates a model tree.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so both parameters required compensation. The description only implies that 'path' identifies the node, and the 'model' parameter (anyOf string/null, default null) is never mentioned at all. It adds almost no meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb (execute) and a resource (the node's run action), with parenthetical examples (build geometry, generate mesh, run study) that clarify the kind of work. However, 'run action' is circular for a tool named tree_run, and it never distinguishes this generic tree-node execution from siblings like mesh_run, solver_run, or geom_run_feature that appear to do the same work more specifically.

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?

No when-to-use guidance, no when-not-to-use, and no named alternatives. With mesh_run, solver_run and geom_run_feature present, an agent has no basis for deciding whether tree_run is the general entry point or a duplicate. No prerequisites (selection state, node readiness, licensing) are mentioned.

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