Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

parameter_set

Define or update global model parameters using numeric or expression values to configure simulations and control model behavior.

Instructions

Define or update global model parameters.

Args: values: mapping of parameter name to expression/number, e.g. {"L": "0.1[m]", "T0": "293.15[K]", "n": 10}. descriptions: optional mapping of parameter name to description text.

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": {
      "values": "<values>"
    },
    "name": "parameter_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
valuesYes
descriptionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 burden. It does disclose genuinely behavioral facts: that the operation is an upsert ("define or update"), that it applies to global scope, and that values may be expressions with units. It omits mutation consequences (are existing parameters preserved or overwritten?), permission requirements, and nothing is said about the response.

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 purpose leads, followed by compact arg documentation. The units example earns its space by clarifying the accepted value syntax, though the indented Args block is slightly verbose.

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

Completeness3/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 schema coverage, no annotations, and no output schema, the description covers the core usage but leaves the `model` parameter and the overwrite/return behavior unexplained. Adequate but with clear gaps.

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 coverage is 0%, so the description must compensate. It adds real meaning for `values` (name-to-expression mapping, with a concrete unit-bearing example) and explains `descriptions` as optional text, but the `model` parameter is never mentioned, leaving one of three parameters entirely undocumented.

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?

"Define or update global model parameters" gives a concrete verb pair and resource, and the word "global" scopes the operation. It is clear what the tool does, but it does not differentiate itself from nearby siblings such as variable_set or parameter_remove.

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?

"Define or update" implies an upsert use case, which is a usage hint, but there is no explicit guidance on when to choose this over variable_set or parameter_descriptions, and no prerequisites or exclusions are stated.

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