Skip to main content
Glama
votsie

ssh-mcp

by votsie

ssh_tunnel_close

Close active SSH tunnels. Provide a tunnel ID to close a specific one, or omit the argument to close all open tunnels at once.

Instructions

Закрыть туннель. Без аргумента закрывает все.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tunnel_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It does disclose the key destructive gotcha—omitting the argument closes all tunnels. But it does not mention reversibility, error handling, or whether an explicit ID must reference an existing tunnel. Still, the main risk is covered.

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?

Two short clauses with zero filler. The core action is stated first and the behavior modifier is appended right after, making it immediately scannable and perfectly sized for its purpose.

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 one-parameter utility tool with no output schema and no annotations, the description covers the essential semantic. It could also briefly mention that nothing is returned or that non-existent tunnel IDs yield an error, but the current information is sufficient for straightforward invocation.

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 description explicitly explains the meaningful behavior of the only parameter: not providing it closes all tunnels. This adds semantics beyond the bare schema, where tunnel_id merely has a null default. For a 0% schema coverage scenario, this compensates well.

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 states a specific verb ('закрыть' / close) and resource ('туннель' / tunnel), and the sibling context (ssh_tunnel_open) makes the purpose unmistakable. It is not a tautology and clearly differentiates from related SSH tools.

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 purpose itself implies when to use it, and it does give an important operational rule about omitting the argument. However, it does not explicitly explain when to prefer this over ssh_disconnect or other siblings, nor does it provide conditions/exclusions for using it.

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