Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

multiphysics_add_feature

Creates a sub-feature inside an existing multiphysics coupling by specifying the coupling tag, feature type, and optional tag, label, entity dimension, or model. Use it to build coupling nodes step by step.

Instructions

Create a sub-feature inside a multiphysics coupling.

Args: coupling: coupling tag/label (e.g. "te1"). feature_type: COMSOL sub-feature type valid for that coupling. tag: sub-feature tag (None = auto). label: optional display label. entity_dim: entity dimension (None = COMSOL default). model: model name/tag (None = current model).

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": {
      "coupling": "<coupling>",
      "feature_type": "<feature_type>"
    },
    "name": "multiphysics_add_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
labelNo
modelNo
couplingYes
entity_dimNo
feature_typeYes

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 provided, so the description must carry the full behavioral burden for this mutation operation. It discloses that a feature is created, that feature_type must be valid for the coupling, and that tag/entity_dim/model default to auto/default/current model, but it does not describe permissions, failure modes, side effects, or what happens to existing features.

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 definition is compact and front-loaded: the first sentence states the core action, followed by a structured Args list. Every line maps directly to invocation-relevant information with no filler.

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 six-parameter mutation tool with no annotations and no output schema, the description covers parameter meanings but leaves out usage selection, behavioral side effects, validation details, and result expectations. The Args block makes the tool callable, but the definition is not complete enough to support confident tool selection and safe invocation.

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%, but the description documents all six parameters with useful semantics beyond the raw schema: coupling gives an example tag, feature_type must be valid for that coupling, tag None means auto, label is optional display text, entity_dim None means COMSOL default, and model None means current model. The only notable gap is that valid feature_type values are not enumerated or discoverable from 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?

The description states a specific verb and resource: "Create a sub-feature inside a multiphysics coupling." This clearly scopes it to sub-features within a coupling rather than top-level multiphysics setup, distinguishing it reasonably well from siblings such as multiphysics_add and phys_add_feature. It lacks explicit sibling routing language, keeping it at 4 rather than 5.

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?

The description gives only an implied use case (creating a sub-feature inside a multiphysics coupling) and does not explain when to use this tool instead of multiphysics_add, phys_add_feature, or other add-feature tools. There are no prerequisites, exclusions, or selection guidance for the agent.

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