Skip to main content
Glama

flclash_exit

Saves FlClash settings and shuts down the GUI and core normally to end a control session cleanly.

Instructions

Save settings and normally exit the GUI and its core.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two meaningful traits: settings are persisted, and both the GUI and the core are terminated. It does not say whether active connections or proxies are dropped, whether the operation is reversible, or whether the app can then be restarted, which are the details an agent planning a session-end needs.

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?

A single front-loaded sentence with no filler. The only weakness is mild awkwardness in 'normally exit', which conveys gracefulness but reads slightly ambiguously.

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?

For a simple, parameterless termination tool, the description covers the essential effect of saving and shutting down. Given no annotations and no output schema, it should still note the consequences for a running session (e.g., loss of proxy/TUN state) and whether a restart is possible.

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 nothing for the description to disambiguate; the empty schema matches the description's parameterless framing. Baseline 4 applies for a no-parameter tool.

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 concrete verb and scope: it saves settings and terminates both the GUI and the core process. That is more specific than the bare name 'flclash_exit'. It does not explicitly distinguish itself from the sibling 'flclash_stop', so the agent could still be unsure whether stop also shuts down the application.

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?

'Save settings and normally exit' hints at the intended usage (a clean, deliberate shutdown that persists config), naturally contrasting with a forced stop. However, no alternative is named and no when-not condition (e.g., use restart_core if you want to resume) is provided, leaving the choice between exit, stop, and restart_core to inference.

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