Skip to main content
Glama

ssh_interactive

Open an interactive SSH session to an HPC cluster via tmux to run commands requiring confirmation or two-factor authentication.

Instructions

Start an interactive SSH session to HPC via tmux (for commands needing confirmation, 2FA, etc.)

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

Input Schema

NameRequiredDescriptionDefault
commandNoCommand to run after connecting (optional)
sessionNohpc-interactive

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

A3.5/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 disclosure burden. It usefully reveals the tmux-backed persistent session and the interactive/2FA trigger, but says nothing about what happens if a session of the same name already exists, whether the call blocks awaiting input, or how subsequent commands are delivered.

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?

A single front-loaded sentence with the action first and the qualifying condition in a short parenthetical. No filler, no redundancy.

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 two-parameter, no-annotation, no-output-schema tool the description is adequate to identify the tool but incomplete for calling it confidently, since session naming/reuse semantics and the post-connection interaction path are unaddressed.

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?

Schema coverage is only 50%, and the description clarifies neither parameter. The `session` field has no schema description at all beyond a default value, and the description never explains that it names or reuses a tmux session, so the undocumented half of the schema stays unexplained.

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 ("Start an interactive SSH session to HPC") and adds the delivery mechanism (tmux), which distinguishes it from the plain ssh_exec sibling. It stops short of explicitly naming ssh_exec or the terminal_* tools as the non-interactive alternative, so discrimination is inferred rather than stated.

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?

The parenthetical "for commands needing confirmation, 2FA, etc." gives a concrete condition that selects this tool over a one-shot exec. However, it never states when NOT to use it, nor points to ssh_exec or terminal_send for the follow-up interaction, leaving the workflow boundary implicit.

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