Skip to main content
Glama
SSH Terminal for Codex

SSH Terminal for Codex

by kanade13

start_bridge

Starts the local Web/PTY SSH bridge and opens an SSH session for a saved profile; OpenSSH askpass fills local passwords, and the web page handles private 2FA entry.

Instructions

Start the local Web/PTY SSH bridge and, unless no_auto_start=true, create a new SSH session for the requested profile. Locally configured passwords are filled by OpenSSH askpass; the user enters 2FA in the web page. Never request passwords or 2FA codes through MCP.

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

Input Schema

NameRequiredDescriptionDefault
portNo
profile_nameNoSaved profile name. If omitted, the default profile is used.
no_auto_startNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.1

TDQS

A3.6/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does add real behavioral context: the automatic session creation unless no_auto_start=true, the askpass password flow, 2FA happening in a web page, and the hard constraint not to request credentials via MCP. It does not cover idempotency (what happens if the bridge is already running), port conflicts, or what the call returns, which are the remaining behavioral gaps.

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?

Three tight sentences with the primary action front-loaded and the conditional behavior attached to it. The credential/2FA sentences are load-bearing safety context rather than filler, though the description could be marginally tighter by folding the safety warning into a single clause.

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?

There is no output schema and no annotations, so the description must cover the full picture, and it does explain the startup and auth handoff well. It falls short on what an agent needs to act reliably: no statement of whether the call is idempotent when a bridge already runs, what the port does, or what identifiers come back to connect the new session to later tools.

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

Parameters3/5

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

Schema coverage is 33%: only profile_name is documented in the schema, and the description confirms it indirectly via "for the requested profile." The description does explain no_auto_start's semantics better than the schema does, but the port parameter (default 18766) is never mentioned in either place, so one parameter remains fully undocumented.

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 the local Web/PTY SSH bridge") and adds the conditional side effect of creating an SSH session for a profile. An agent can tell this apart from stop_bridge and bridge_status by name, but the description never explicitly contrasts with start_config_server, so a small ambiguity remains.

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?

Usage is implied through the no_auto_start flag (start only the bridge vs. also create a session), which is genuinely useful routing information. There is no explicit when-to-use/when-not statement and no named alternative for the 'I only want status' or 'I need a config server instead' cases.

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