Skip to main content
Glama
SSH Terminal for Codex

SSH Terminal for Codex

by kanade13

list_sessions

Lists active SSH sessions with compact, redacted server metadata and returns session IDs for precise multi-server commands and snapshots.

Instructions

List active SSH sessions with compact, redacted server metadata. Use session_id from this list for precise multi-server commands and snapshots.

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_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.1

TDQS

A3.9/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 burden. It does disclose two useful traits beyond the name: results are limited to active sessions and sensitive server fields are redacted. It is silent on connection prerequisites, ordering, or whether an inactive/empty state is surfaced.

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 sentences with no filler. The core capability is front-loaded and the follow-on guidance comes second in the order an agent needs it.

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 parameterless read tool with no output schema, this covers what the agent most needs: what is listed, that metadata is redacted, and how the output feeds other tools. Minor gaps around connection prerequisites and result volume keep it off a 5.

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 there is no schema semantics to compensate for. The description usefully identifies session_id as the key output field an agent should reuse, which adds value even without inputs.

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?

"List active SSH sessions" is a specific verb+resource, and the second clause adds what the listing contains (compact, redacted server metadata). It is clearly distinct from list_profiles and list_uploads, though it never names a sibling it contrasts with.

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?

It states a concrete downstream use: take session_id from this output to target multi-server commands and snapshots. That is real usage guidance, but there is no explicit exclusion or precondition (e.g., requires an active bridge or a selected profile).

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