Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

tree_info

Inspect a COMSOL model-tree node by path to retrieve its tag, label, feature type, active state, and selection; optionally include property values or child nodes.

Instructions

Show a node's tag, label, feature type, active state and selection.

Args: path: model-tree path (e.g. "physics/ht/temp1"). model: model name/tag (None = current model). include_properties: also return all property values (can be large). include_children: also return child nodes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tree_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
modelNo
include_childrenNo
include_propertiesNo

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?

With no annotations, the description carries the full burden; it does disclose the return content and warns that include_properties 'can be large', which is genuine cost/behavior information an agent cannot get elsewhere. It says nothing about what an empty path means (root?), what happens on an invalid path, or how the result is structured, leaving meaningful behavioral gaps.

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 summary sentence is front-loaded and the Args block is compact and scannable, with no filler. The Args block restates parameter names that appear in the schema, but given 0% schema coverage that repetition is justified rather than wasteful.

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 low-complexity read tool with no output schema and no annotations, the description covers all four parameters and names the returned fields, which is close to sufficient. It still omits the meaning of the default path, error behavior for bad paths, and any structure for the returned payload, which matters more because no output schema exists.

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%, so the Args block is doing real work: it gives path an example format ('physics/ht/temp1'), explains model's None default as 'current model', and characterizes both booleans as additive expansions with a size caveat. The one unexplained semantic is the empty-string default for path.

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 ('Show') and resource (a model-tree node) and enumerates the returned attributes (tag, label, feature type, active state, selection), which distinguishes it from mutators like tree_rename or tree_toggle. It does not explicitly contrast itself with the closest read siblings (tree_children, tree_properties), so the differentiation is inferential rather than stated.

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 explicit when-to-use or when-not-to-use guidance, and no sibling is named as an alternative. The only implicit routing signal is that include_children 'also return[s] child nodes', which hints at overlap with tree_children without ever saying which to prefer.

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