Skip to main content
Glama

set_auto_start

Set the SakuraFrp tunnels that start automatically, replacing the previous auto-start list and restarting the launcher service; pass confirm: true to apply the change.

Instructions

整体设置 auto_start_tunnels 并重启服务(用于一次性打开/关闭多条)。必须传 confirm: true。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tunnelIds": "<tunnelIds>"
    },
    "name": "set_auto_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo确认执行写操作
tunnelIdsYes要开机自启的隧道 id 列表(其余会被关掉)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 the critical side effect that the service is restarted and that the call is a write gated by confirm: true. It omits other important behavior: connection/uptime impact of the restart, whether the change is reversible, and any permission requirements.

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?

Two compact clauses with the main action and the bulk scope front-loaded; nothing is padded. The confirm reminder is slightly redundant with the schema but still earns its place since the schema does not mark confirm as required.

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 2-parameter mutation tool with no annotations and no output schema, the description covers the action, the bulk semantics, and the confirm gate, which is enough to invoke it. It is not complete about operational fallout — service restart downtime and effect on currently active tunnels are unaddressed.

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 description coverage is 100%, and the schema already explains both tunnelIds ('其余会被关掉') and confirm, so the baseline is 3. The description reinforces the mandatory confirm: true requirement, which is useful because confirm is not in the schema's required list, but adds no new format or syntax detail.

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 operation ('set auto_start_tunnels as a whole and restart the service') and clarifies the bulk scope ('一次性打开/关闭多条'), which lets an agent distinguish it from single-tunnel siblings like start_tunnel/stop_tunnel. It stops short of naming an explicit alternative, so it lands at 4 rather than 5.

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?

The parenthetical '用于一次性打开/关闭多条' implies bulk use versus per-tunnel operations, giving implied rather than explicit when-to-use guidance. There is no statement of when NOT to use this (e.g., for a single tunnel) and no named alternative, so guidance is only implied.

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