Skip to main content
Glama

comsol_model

Manage loaded COMSOL models by listing, renaming, or unloading them from memory without deleting files; switch the active model with comsol_use.

Instructions

模型管理。action=list 列出当前后端所有模型;remove 把模型从内存卸载(不删文件);rename 改模型显示名。切换当前模型用 comsol_use。

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

Input Schema

NameRequiredDescriptionDefault
nameNo
actionNolist
new_nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.5

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; it does disclose the most important behavioral nuance, that remove unloads from memory without deleting the file, which prevents a costly misinterpretation. It stops short of stating what happens when the named model does not exist, whether rename targets the current model or an arbitrary one, or whether operations are reversible.

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?

One tight block, front-loaded with the action semantics and ending with the disambiguation pointer. Every clause adds information; nothing is redundant.

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?

An output schema exists, so return values need no explanation, and the tool is low-complexity. Still, with zero annotation coverage and zero schema parameter documentation, the description leaves the per-action parameter requirements and failure modes unaddressed, which is a meaningful gap for a mutation-capable tool.

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 supply meaning, and it does partially: the three action values are explained and new_name is implicitly tied to rename. However, the role of name (target model for remove/rename) and which parameters are required per action are never stated, so the mapping remains incomplete.

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 a specific resource (models) and enumerates the three supported operations with their exact effects: list enumerates models, remove unloads from memory, rename changes the display name. It also explicitly separates this from the sibling that switches models, so an agent can distinguish the two without opening either schema.

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 an explicit routing rule: use comsol_use to switch the current model, implying this tool is for listing/unloading/renaming instead. Each action's purpose is stated, though there is no guidance on preconditions (e.g., that remove/rename need a valid model name) or on error behavior.

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