Skip to main content
Glama

停止 SSH 隧道

ssh_tunnel_stop

Stops a specific SSH tunnel by ID, terminating its connection within the current MCP process.

Instructions

停止当前 MCP 进程中的指定隧道。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tunnel_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

The description adds the useful scope '当前 MCP 进程中的' (current MCP process), which is beyond what the annotations convey. However, it does not disclose side effects such as disconnecting active sessions or behavior when the tunnel is already stopped; the non-read-only and non-idempotent hints are already present in annotations.

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?

The description is a single, focused sentence with no filler and front-loads the action. It is appropriately concise, though the terseness leaves some behavioral details unaddressed.

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 stop operation with annotations and an output schema, the description covers the core action and process scope. However, it omits practical details like how to obtain the tunnel_id or what the stopping action implies for existing connections, so an agent may need to infer these from sibling tool context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description only mentions '指定的隧道' (specified tunnel) and does not explain the tunnel_id parameter, its source, or how it should be formatted. With 0% schema description coverage, the agent receives no additional meaning beyond the bare string type in the input schema.

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?

The description clearly states the tool stops a specified SSH tunnel within the current MCP process, using a specific verb and resource. This distinguishes it from sibling tools like ssh_tunnel_start and ssh_tunnel_list, which are naturally associated with start and list operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives, such as deciding between stopping, starting, or listing tunnels. It also does not mention prerequisites like having an active tunnel or any exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuyi-clip/ssh-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server