Skip to main content
Glama

list_tunnels

Lists all SakuraFrp account tunnels with node names, local/remote ports, online status, and autostart flags for inspection. Read-only.

Instructions

列出 SakuraFrp 账号下的全部隧道(含节点名、本地/远端端口、在线状态、是否开机自启)。只读。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does the two things that matter most: it declares '只读' (read-only), which substitutes for an absent readOnlyHint, and it lists the exact fields in the reply, which substitutes for the absent output schema. It omits other behavioral details, such as pagination or limits on how many tunnels are returned and any account or 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?

It is essentially one information-dense sentence plus a two-character read-only marker, with the resource stated first. The parenthetical field list is dense but each item earns its place by documenting the return shape; nothing is padded or repeated.

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?

For a zero-parameter, read-only listing tool with no annotations and no output schema, the definition supplies the essentials: what is listed, the scope, the read-only nature, and the returned fields. Only edge-case behavior, such as what an empty account returns or the ordering of results, is absent, and that is a minor gap at this complexity level.

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 and an empty schema, so there is nothing to disambiguate. The description does not invent parameters or imply hidden filters such as a keyword or a pagination cursor, which keeps it consistent with the empty input schema; this matches the baseline of 4 for a parameterless tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

A specific verb and resource combined with an explicit scope: it lists ALL tunnels under the SakuraFrp account and even enumerates the fields returned (node name, local/remote ports, online status, auto-start flag). This clearly distinguishes it from the sibling mutation tools create_tunnel, delete_tunnel, and edit_tunnel, and an agent can select it without consulting any other schema.

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: the phrase 'all tunnels under the account' does convey the scope, so an agent can infer that this is the tool for surveying tunnels. There is no explicit statement about when not to use it, and no mention of alternatives for state changes (e.g., start_tunnel, stop_tunnel) or for narrower lookups (e.g., local_status).

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