Skip to main content
Glama

comsol_stop

Disconnect the current client from a COMSOL backend and optionally stop the server process; set stop_server=true to shut down the server this tool started.

Instructions

断开并停止 COMSOL 后端。默认只断开当前客户端;stop_server=true 时同时关闭由本工具启动的 server 进程。Desktop 若正连着该 server 会被断开。

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

Input Schema

NameRequiredDescriptionDefault
stop_serverNo

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?

There are no annotations, so the description must carry the full behavioral burden, and it does disclose useful traits beyond the signature: the scope of the shutdown is limited to servers started by this tool, and Desktop clients attached to that server will be severed. It omits whether shutdown is graceful and whether other connected clients are affected, which keeps it from a 5.

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?

Three short sentences, front-loaded with the core action, then the default behavior, then the destructive side effect. Nothing is padded or buried.

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?

A single-parameter stop tool with an output schema does not need return-value documentation, and the description covers the mode split and the main hazard. The only gap is the unresolved default-value conflict with the schema, which leaves the caller unsure about the actual default behavior.

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?

There is one parameter with 0% schema description coverage, so the description must explain it; and it does explain stop_server's effect and the server-ownership constraint. However, it says the default is 'only disconnect the current client', which implies stop_server defaults to false, while the schema declares a default of true. This mismatch undercuts the added meaning.

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 names a specific action and resource: disconnect and stop the COMSOL backend, with a clear distinction between disconnecting the client and shutting down the server process. An agent can distinguish it from comsol_start without opening the schema, though it never says explicitly which sibling to call for the opposite action.

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 sets out when each mode applies: the default only disconnects the current client, and stop_server=true additionally kills the server process. It also states a consequence (a connected Desktop will be dropped), which effectively tells the caller when to be cautious, but it gives no explicit when-not-to-use or alternative routing.

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