Skip to main content
Glama

comsol_study

Create, list, modify, and remove COMSOL studies and solver steps, including stationary, transient, eigenfrequency, and frequency studies, then run them with comsol_solve.

Instructions

研究(study)工具。action=list 列出研究和求解步骤;create 新建研究(study_type: Stationary/Transient/Eigenfrequency/Frequency,properties 写 step 属性,如 {'tlist':'range(0,1,10)'});add_step 给已有研究加步骤;set 修改 study 或 step 属性;remove 删除研究。创建后用 comsol_solve 运行。

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": "comsol_study"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepNo
studyNo
actionNolist
propertiesNo
study_typeNoStationary

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.5

TDQS

A4/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 disclosure burden. It does reveal the create→solve workflow dependency and that remove deletes studies, but it never says whether deletion is irreversible, what happens to existing steps/solutions, or what permissions/state are required — significant omissions for a multi-action mutation tool.

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?

A single dense paragraph that front-loads the tool's identity and then walks actions in a logical order, with no filler. Every clause carries information, and the closing sentence about comsol_solve is a useful pointer rather than padding.

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?

An output schema exists, so return values need not be described, and the description covers all five actions plus the follow-up tool. What is missing relative to the tool's complexity is preconditions and state requirements for create/set/remove, which an agent would need before mutating a study.

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?

The schema documents 0% of the five parameters, so the description must compensate. It does enumerate the action values and the study_type values (Stationary/Transient/Eigenfrequency/Frequency) and explains properties with a concrete example ({'tlist':'range(0,1,10)'}), but it never explains the 'study' and 'step' parameters or the default action=list.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (研究/study) and spells out each of the five actions with a concrete verb: list enumerates studies and solution steps, create creates, add_step appends a step, set modifies properties, and remove deletes. It also distinguishes a follow-on sibling by stating that comsol_solve runs the study, so an agent can tell what this tool does and does not cover.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives real routing guidance: use create for a new study, add_step on an existing one, set to change study/step properties, and afterwards call comsol_solve. It stops short of stating preconditions (e.g. that a model must be open via comsol_open/comsol_use) or when-not-to-use alternatives, so it is clear context without exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.