Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

tree_children

Lists child nodes (groups, features, properties) of a COMSOL model-tree node by path, or root groups when path is empty, for navigating and inspecting model structure.

Instructions

List the child nodes of a model-tree node (groups, features, properties).

Args: path: node path such as "physics/ht" or "geometries/geom1/blk1". Empty string lists the model root groups. model: model name/tag (None = current model).

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_children"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 disclosure burden. It does add real behavioral detail — empty string means root groups, and a null model means the current model — but it says nothing about the return shape, handling of an invalid path, or whether the operation is strictly read-only.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is stated in the first line before any parameter detail, and the Args block is compact with no redundant restatement of the schema types. Every sentence adds information the agent would otherwise lack.

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 simple two-parameter read tool this is close to sufficient on the input side, but with no output schema and no annotations, the description should say what a child node looks like when returned (name only, name plus type, etc.). That omission leaves a real gap for an agent that must interpret the result.

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?

With 0% schema description coverage, the description carries parameter meaning entirely, and it does so well: it gives the path format with concrete examples ("physics/ht", "geometries/geom1/blk1"), documents the empty-string default behavior, and explains that a null model means the current model.

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 opens with a specific verb and resource: "List the child nodes of a model-tree node," and clarifies the kinds of children returned (groups, features, properties). It does not differentiate itself from nearby siblings such as tree_properties or tree_find, which an agent would need when deciding between them.

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?

Usage is only implied: the tool is for navigating the model tree, and the note that an empty path lists root groups gives some indication of when the call is appropriate. There is no explicit guidance about when to use this versus tree_find, tree_properties, or tree_dump, and no stated prerequisites.

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