Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

study_set_options

Configure study-level output options for default plots, convergence data, solution storage, and solver history to control what COMSOL Multiphysics generates and records after solving.

Instructions

Configure study-level output options (default plots, convergence, storage).

Args: study: study tag (None = the only study in the model). gen_plots: generate default plots after solving. gen_conv: store convergence plots. store_solution: store the solution in the study node. store_complete_history: record the complete solver history. gen_intermediate_plots: generate intermediate plots during solving. plot_undefined_values: plot undefined values. model: model name/tag (None = current model).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "study_set_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
studyNo
gen_convNo
gen_plotsNo
store_solutionNo
plot_undefined_valuesNo
gen_intermediate_plotsNo
store_complete_historyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavior ('generate default plots after solving' places the effect post-solve, and locates 'None' as 'the only study in the model' / 'current model'), but it omits whether omitted booleans leave existing settings untouched, whether a solve is required first, and whether changes are persisted or reversible.

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-loaded purpose sentence followed by a compact per-argument list, with no filler. The sphinx-style 'Args:' block is slightly verbose but every line maps to a parameter.

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 an eight-parameter, zero-required mutation tool with no annotations and no output schema, the definition covers purpose and parameter naming but leaves the caller to guess default/null behavior and ordering relative to study_solve. Adequate as a reference, thin as a decision aid.

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 description coverage is 0%, so the description must compensate, and it does expand each cryptic title (for example 'gen_conv' becomes 'store convergence plots') and explains None-sentinel meaning for study and model. However, the six boolean parameters get only a name restatement with no statement of what a null value does, which is the decisive semantic for an all-optional tool.

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: 'Configure study-level output options' with the enumerated options (default plots, convergence, storage). It is clear what the tool does, but it never distinguishes itself from the very similar siblings study_set_property and study_properties, which an agent must choose between.

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?

No when-to-use or when-not-to-use guidance, and no alternative is named. The reader must infer that this is for the post-solve output/storage toggles rather than general study properties, and nothing says whether it must be called before study_solve.

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