Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

tree_retag

Change a COMSOL model node's tag (programmatic identifier) by providing the node path and new tag.

Instructions

Change a node's tag (programmatic identifier).

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>",
      "new_tag": "<new_tag>"
    },
    "name": "tree_retag"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
modelNo
new_tagYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and does not meet it. It says nothing about whether the operation fails if the tag already exists, whether uniqueness is enforced, whether the path must resolve to an existing node, or whether prior tag references break — all critical for a mutation identified only as 'programmatic identifier'.

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 front-loaded sentence with no filler; the gloss on 'tag' is the useful part. The brevity is efficient structurally even though it leaves substance out elsewhere.

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 three-parameter mutation tool with zero annotation coverage, no output schema, and 0% schema descriptions, the definition is far too thin. Nothing tells the agent about failure modes, return information, or the meaning of 'model'.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and it largely does not. It implicitly covers path and new_tag, but the third parameter 'model' is never mentioned and is 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 ("Change a node's tag") and glosses the term as a programmatic identifier, which disambiguates it from a display name. It does not, however, contrast it with the sibling tree_rename or say what a 'node' is in this tree, so an agent must still infer the boundary.

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 guidance on when to retag versus rename or set properties, and no stated preconditions. The reader is left to guess how this differs from tree_rename purely from the word 'tag'.

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