Skip to main content
Glama
SSH MCP Server
by termau

refresh_connections

Read-only

Refreshes all SSH connections by re-reading config and environment, and re-discovering BinaryLane servers. Use after creating or deleting servers to update the connection list.

Instructions

Re-discover BinaryLane servers and reload all connections.

Refreshes the connection list by:

  1. Re-reading the config file

  2. Re-discovering BinaryLane servers (if enabled)

  3. Re-reading SSH_CONNECTIONS env var

  4. Merging all sources (config > env > auto-discovered)

Use after creating/deleting BinaryLane servers to update the connection list.

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

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?

Annotations only declare readOnlyHint=true; the description adds substantive behavior beyond that: the four data sources read, the precedence order (config > env > auto-discovered), and the conditional nature of server discovery ('if enabled'). It stops short of saying whether network calls need credentials, whether failures abort the merge, or what the result looks like.

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?

One-line purpose statement is front-loaded, followed by a four-step numbered list that maps directly to the sources, then a single usage sentence. Nothing is repeated and every line adds operational detail.

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 no-parameter, no-output-schema tool with readOnlyHint, the definition is nearly complete: it covers sources, merge precedence, and when to run it. The only gap is the outcome — it does not say whether the tool reports the refreshed connection count or how partial failures (e.g. discovery unavailable) are surfaced.

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 the baseline is 4 and there is nothing for the description to clarify at the parameter level. The description correctly implies the operation is parameterless by describing the refresh as a fixed pipeline.

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?

States a specific verb and resource ('Re-discover BinaryLane servers and reload all connections') and enumerates the sources it re-reads, so the operation is unambiguous. It does not explicitly contrast itself with siblings such as list_connections or test_connection, so it stops short of full sibling differentiation.

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

Usage Guidelines4/5

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

Gives an explicit trigger: 'Use after creating/deleting BinaryLane servers to update the connection list.' That is clear when-to-use guidance, but it offers no when-not-to-use cases and does not name an alternative (e.g. list_connections for merely viewing the current list).

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