Skip to main content
Glama
COMSOL Multiphysics MCP Server

COMSOL Multiphysics MCP Server

by zixuanguo89

study_frequency

Creates a frequency-domain (harmonic) study for a COMSOL model from a frequency range or list, then optionally solves it and generates plots.

Instructions

Create a Frequency-domain (harmonic) study and (by default) solve it.

Args: frequencies: frequency list: a "range(10,10,100)" expression (10 Hz to 100 Hz in 10 Hz steps), a list ["10", "20", "50"], or a comma string "10,20,50". punit: frequency unit, e.g. "Hz" (default COMSOL unit). study: study tag (None = automatic "std_freq1"). properties: extra Frequency step properties. solve: run the study after creating it (default true). generate_plots: generate default plot groups. label: optional display label. 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_frequency"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
modelNo
punitNo
solveNo
studyNo
propertiesNo
frequenciesNorange(10,10,100)
generate_plotsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden and does disclose that the tool mutates state (creates a study) and that it solves by default via the explicit solve flag, which is meaningful behavioral context. However it omits what happens on tag collision (study tag defaults to 'std_freq1'), whether a solve can be long-running or blocking, how to avoid solving, and what is returned.

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 behavior summary is front-loaded in a single sentence, followed by a tight Args list where each parameter gets one line. No filler or repetition; the docstring format is scannable.

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 an 8-parameter mutation tool with no annotations and no output schema, the description covers the important gaps: creation semantics, default solve, frequency format, and default tag. It is only slightly short on return-value expectations and the cost/blocking implications of solve=True.

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% across 8 parameters, yet the description defines every one of them, and the frequencies entry is genuinely additive, spelling out three accepted input forms ('range(10,10,100)', a list, or a comma string) that the schema's string-or-array type does not convey. Only 'properties' is left vague ('extra Frequency step properties') with no indication of valid keys.

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 first sentence gives a specific verb and resource ('Create a Frequency-domain (harmonic) study') plus a key behavioral detail ('by default solve it'), which distinguishes it from siblings like study_stationary, study_eigenfrequency, and study_transient by study type. It stops short of explicitly naming which sibling to use instead in a given situation.

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 study-type name: an agent can infer 'use this for harmonic/frequency sweeps.' There is no explicit statement of when to choose this over study_eigenfrequency or study_stationary, no prerequisites, and no mention of the async solve siblings (study_solve_async/study_solve_wait) despite solve=True by default.

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