Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

phys_set_interface_property

Set an interface-level property in a COMSOL physics interface by specifying the property name, value, and optional property group or model.

Instructions

Set one interface-level property (inside a Physics.prop() group).

Args: interface: interface tag/label/type (e.g. "ht"). name: property name, e.g. "form" (EquationForm) or "Tref" (PhysicalModelProperty). value: new value, e.g. "Automatic" or "300[K]". group: property group tag/label; when omitted the property is searched across all groups and must be unambiguous. 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": {
      "interface": "<interface>",
      "name": "<name>",
      "value": "<value>"
    },
    "name": "phys_set_interface_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
groupNo
modelNo
valueYes
interfaceYes

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?

With no annotations, the description carries the full behavioral burden. It usefully discloses the group-lookup fallback and its ambiguity requirement, but says nothing about permissions, error behavior on name collision, or whether it returns a confirmation or the previous value.

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?

Front-loads purpose in one line, then a compact Args block. The structure is appropriate given zero schema descriptions, and no sentence is wasted, though the docstring style is slightly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter mutation tool with no annotations and no output schema, the description covers purpose, every parameter, and the important group-resolution behavior. Gaps are minor: return value and failure modes are unstated, but an agent could call it correctly.

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 coverage is 0%, so the Args block does real work: it gives concrete examples for interface ('ht'), name ('form'/EquationForm, 'Tref'/PhysicalModelProperty), value ('Automatic', '300[K]'), and explains group fallback and model default (None = current model). It compensates well, though value's accepted types/units remain ambiguous.

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: 'Set one interface-level property (inside a Physics.prop() group).' The 'interface-level' scope distinguishes it from the model-level phys_set_property sibling, though the description never names an alternative explicitly.

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 implied by the interface-level scope and the group-omission rule ('when omitted the property is searched across all groups and must be unambiguous'), but there is no explicit when-to-use/when-not or comparison against siblings like phys_set_property or phys_interface_properties.

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