Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

study_enable_physics

Enable or disable selected physics interfaces in a COMSOL study step to control which physics are solved; omit physics to target all interfaces.

Instructions

Enable/disable physics interfaces for a study step ("Solve for" list).

Args: study: study tag. step: study-step tag (None = the first step). physics: physics tags or paths, e.g. ["ht"] or ["/physics/ht"] (None = every physics interface in the model). enabled: true = solve for the physics, false = deactivate it. 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": {
      "study": "<study>"
    },
    "name": "study_enable_physics"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepNo
modelNo
studyYes
enabledNo
physicsNo

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 supplied, the description carries the full burden. It does valuable work by disclosing the blast radius of omitting `physics` (every interface in the model is toggled) and that `enabled: false` deactivates rather than deletes, but says nothing about whether the change persists, whether a re-solve is required, what is returned, or what happens with an invalid physics tag.

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?

The summary sentence is front-loaded and every Args entry adds information not present in the bare schema. The docstring-list layout is slightly verbose but well scannable, with no filler sentences.

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 five-parameter mutation tool with no annotations and no output schema, the definition covers the essential surface: what it mutates, how defaults expand scope, and the per-parameter contract. Remaining gaps (return value, error behavior on bad tags, persistence/undo) are the kind of omission that matters for an unannotated write tool but are not disqualifying.

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%, so the description must supply all parameter meaning, and it largely does: all five parameters are documented with defaults and None-semantics, and `physics` gets concrete format examples ("ht" or "/physics/ht"). It stops short of explaining how bare tags resolve versus full paths or how unknown tags are handled.

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 a specific resource (physics interfaces within a study step), and grounds it in the user-facing 'Solve for' list concept. It does not, however, name or distinguish itself from siblings such as catalog_physics_interfaces or study_set_property, so an agent must infer the boundary on its own.

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 by the purpose statement; there is no explicit when-to-use, when-not-to-use, or named alternative. The defaults described (step=None means first step, physics=None means every interface) do shape how the call is made but are parameter semantics rather than selection guidance.

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