Skip to main content
Glama

comsol_params

Read or set global COMSOL parameters, assign unit-bearing values, and optionally evaluate results in SI units for model setup and validation.

Instructions

读取或设置全局参数。values 为 {名称: 值} 字典时设置参数(值可带单位,如 '200[A]'、'1.5[mm]'),并返回设置后的全部参数;values 为空时只读取。evaluate=true 时返回数值(带单位换算到 SI)。

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_params"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesNo
evaluateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.5

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that setting returns all parameters afterward and that evaluate=true converts units to SI. However, it does not say whether unknown parameter names error or are created, whether changes invalidate downstream results, or what permissions are required for a 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences with the verb and resource front-loaded, followed by the two modes and the evaluate flag. No filler, though the read-mode clause slightly restates the empty-values condition.

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?

The tool is simple (two optional parameters) and an output schema exists, so return values need not be described. The description covers both modes and the evaluate behavior. It leaves edge cases, such as invalid names or duplicate/unit-mismatch values, unaddressed.

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 compensate, and it largely does: it explains the values dictionary shape and gives unit-bearing examples ('200[A]', '1.5[mm]'), and it explains that evaluate=true returns SI-converted numerics. Minor gaps remain, such as the expected type of the values entries beyond the schema's string hint.

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 description states a specific verb and resource: read or set global parameters. The two operating modes (read vs. set) are named directly. It does not explicitly differentiate itself from siblings such as comsol_eval or comsol_sweep, so it stops short of a 5.

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 clear mode-selection guidance: when values is a {name: value} dictionary the tool sets parameters; when values is empty it only reads. There is no explicit when-not guidance or named alternative for read-only numeric queries, which would be needed for a 5.

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