Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

tree_toggle

Enable or disable a COMSOL feature node by path; leave the state unset to flip its current active setting.

Instructions

Enable/disable a feature node (None = flip).

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

Input Schema

NameRequiredDescriptionDefault
pathYes
modelNo
activeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries the entire behavioral burden, yet it only discloses the flip-on-None semantics. It says nothing about whether toggling a node cascades to children, what permissions are needed, whether the change persists, or whether a previous state is returned.

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 short sentence with the core action front-loaded and the one non-obvious behavior appended. There is no filler, though the terseness leaves gaps that a slightly longer sentence could have closed.

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 three parameters at 0% schema coverage, no annotations, and no output schema, the one-line description is not sufficient for an agent to invoke this correctly. The role of 'model' and the meaning of 'path' remain undefined.

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%, so the description should compensate. '(None = flip)' meaningfully explains the active parameter's default behavior, but 'path' and especially 'model' (string or null, purpose entirely unstated) receive no explanation.

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 pair (enable/disable) and resource (feature node), which distinguishes it from siblings like tree_set_property or tree_remove. It does not, however, clarify what a 'feature node' is or how it relates to phys_toggle_feature, so it stops short of full sibling differentiation.

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 guidance on when to use this versus tree_set_property, tree_set_properties, or phys_toggle_feature. The only usage hint is the parenthetical '(None = flip)', which describes a parameter behavior rather than when to select 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