Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

tree_create

Creates a child feature under a specified container node in a COMSOL model tree, enabling generic insertion of physics, function, or plot features by path and feature type.

Instructions

Create a child feature under a container node (generic escape hatch).

Examples: path="physics/ht", feature_type="HeatFluxBoundary", extra_args=[2]; path="functions", feature_type="Analytic"; path="plots", feature_type="PlotGroup3D". Use the catalog tools to discover valid feature types.

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>",
      "feature_type": "<feature_type>"
    },
    "name": "tree_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
pathYes
labelNo
modelNo
extra_argsNo
feature_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 behavioral burden and largely drops it. It does not say whether the container path must already exist, what happens on an invalid feature_type, whether tag must be unique, or what the call returns 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 one-line purpose is front-loaded, followed by compact, high-signal examples rather than prose. The closing pointer to catalog tools also earns its place; only the density of the example list is slightly heavier than needed.

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?

For a six-parameter write tool with no annotations and no output schema, the definition is thin: three parameters are unexplained and the return value is not described at all. An agent knows the general intent but not enough to call it correctly on edge cases.

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

Parameters3/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 partially does: path is illustrated as a container path ('physics/ht', 'functions', 'plots'), feature_type is illustrated with valid-looking values, and extra_args is shown being passed positionally as [2]. The tag, label, and model parameters are left entirely undocumented in both the schema and the description.

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 ('Create a child feature under a container node') and frames itself as a 'generic escape hatch', which signals how it differs from the many typed creator siblings. It stops short of naming any specific alternative such as geom_create or function_create, so the differentiation is implied rather than explicit.

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 parenthetical 'generic escape hatch' and the instruction 'Use the catalog tools to discover valid feature types' imply you reach for this when no dedicated creator fits, and three worked examples show the calling pattern. However, there is no explicit statement of when to prefer a typed sibling or when not to use this tool.

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