Skip to main content
Glama

comsol_status

Check the live COMSOL connection: connection state, port, version, loaded and current model, background solve activity, and last error. Starts nothing, so it is safe to call anytime.

Instructions

查看 COMSOL 连接状态:是否已连接、端口、COMSOL 版本、已加载模型、当前模型、是否正在后台求解、上次错误。不会启动任何东西。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.5

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full behavioral burden and does most of it: it declares the operation is non-mutating ('不会启动任何东西') and discloses the specific state fields returned, including the diagnostic-relevant 'background solve running' and 'last error'. It stops short of saying how it behaves when nothing is connected (whether it errors or returns a disconnected state).

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 compact sentence with the resource front-loaded, followed by a comma-separated enumeration of returned fields and a trailing safety clause. No filler, no repetition of the tool name beyond what is needed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter read-only status tool with an output schema already defined, the description covers purpose, non-mutating behavior, and the scope of reported state. Nothing an agent needs in order to decide to call it is missing.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly spends no words on argument behavior.

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+resource (查看 COMSOL 连接状态) and enumerates exactly what is reported: connection state, port, version, loaded models, current model, background-solve flag, last error. It does not name a sibling tool explicitly, but the closing clause '不会启动任何东西' implicitly separates it from comsol_start/comsol_stop, so differentiation is present but not spelled out.

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: an agent can infer this is the read-only probe to run before other operations, and the '不会启动任何东西' note rules out side effects. There is no explicit statement of when to prefer this over comsol_diagnose or comsol_inspect, nor any prerequisite (e.g., whether COMSOL must already be running).

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