Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

tree_set_property

Set a single property on a COMSOL model tree node, using strings with units, numbers, booleans, or lists; discover valid property names first with tree_properties.

Instructions

Set one property on a node.

value may be a string (expressions with units, e.g. "300[K]"), a number, a boolean, or a list (e.g. ["1","1","1"] for sizes). Use tree_properties first to discover property names.

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": "<name>",
      "value": "<value>"
    },
    "name": "tree_set_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
pathYes
modelNo
valueYes

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 bears the full behavioral burden for a mutation tool. It discloses nothing about overwrite semantics, whether a missing property creates or errors, permission requirements, or the response — the only behavioral detail is the accepted value shapes, which leans toward parameter semantics rather than behavior.

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?

Two short sentences, front-loaded with the operation and followed by the value-format detail and the discovery hint. There is no filler, though the opening sentence stops short of naming the parent object or context the node belongs to.

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 zero schema description coverage across four parameters, the description leaves significant gaps: 'model' is undefined, mutation and failure behavior are unstated, and the return value is unknown. The value-formatting note is helpful but does not cover the tool's complexity.

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 description coverage is 0% with four parameters, so the description must compensate. It usefully explains the accepted types for 'value' (string with units like '300[K]', number, boolean, list) where the schema gives no type at all, and implies that 'path' is the node and 'name' the property, but the 'model' parameter is completely unaddressed anywhere.

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 gives a specific verb and resource: 'Set one property on a node.' The word 'one' implicitly distinguishes it from the sibling tree_set_properties, but that contrast is never stated explicitly, so an agent must infer it from names alone.

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?

It offers one concrete workflow hint — 'Use tree_properties first to discover property names' — which is genuinely actionable. However, it gives no guidance on when to choose this over tree_set_properties (bulk set), no preconditions, and no information about what happens when the property name is wrong.

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