Skip to main content
Glama

flclash_restart_core

Reconnect Helper/IPC and reinitialize the FlClash core through the GUI's native restart action to restore control after a disconnect or core failure.

Instructions

Reconnect Helper/IPC and reinitialize the core through the GUI's native restart action.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/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. It discloses two side effects (IPC reconnect, core reinitialization) and the mechanism (GUI native restart), but not whether active connections/proxies are dropped, whether in-flight traffic is interrupted, what happens if the core is stopped, or whether the call blocks until the core is back up.

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 front-loaded sentence with the action verb first and no filler or repetition. Nothing is wasted.

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

Completeness2/5

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

This is a disruptive lifecycle operation with no annotations and no output schema, so the description is the only source of behavioral context — yet it omits disruption impact, preconditions, and post-call state. For a restart tool in a family with start/stop/exit siblings, that leaves an agent unable to predict consequences.

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 the schema is trivially complete and the description needs to add nothing about arguments. No parameter-level meaning is missing.

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?

Specific verb and resource: it reconnects Helper/IPC and reinitializes the core via the GUI's native restart action. It reads as distinct from flclash_start/flclash_stop, but the description never says explicitly how it differs from a stop+start pair, so an agent must infer the distinction.

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: 'Reconnect Helper/IPC' hints at recovery from a dropped IPC link, and 'reinitialize' hints at applying state changes. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g. restart vs stop-then-start vs start).

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