Skip to main content
Glama
SSH Terminal for Codex

SSH Terminal for Codex

by kanade13

stop_bridge

Cancel the agent's own SSH command channel and terminate its process, leaving the user-owned shared SSH connection under panel control.

Instructions

Shared SSH connections are user-owned. Disconnect using the panel; agents must only cancel their own command channels.

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

Input Schema

NameRequiredDescriptionDefault
stop_sshNo
kill_processNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.1

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it only discloses one trait: it will not tear down other users' shared SSH connections. It says nothing about whether kill_process terminates OS processes, whether the operation is destructive or reversible, or what state remains after stopping — critical for a tool whose defaults are stop_ssh=true and kill_process=true.

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?

Two short sentences with no filler, and the ownership constraint is front-loaded where an agent will read it. The size is right for the tool; the issue is ambiguity of content rather than verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation tool with zero annotation coverage, no output schema, and undocumented parameters, the description leaves the core question unanswered: what gets stopped or killed, and with what side effects. Only the cross-user ownership boundary is covered.

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 description coverage is 0%, so both booleans (stop_ssh, kill_process) rely entirely on their names and defaults. The description does not explain what 'stopping' the SSH aspect means versus killing a process, nor how the two flags interact, so it fails to compensate for the coverage gap beyond trivially self-describing parameter names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states what stop_bridge actually does — no verb, no statement of whether it stops a bridge process, an SSH tunnel, or a channel. It only says what it must not do ('Shared SSH connections are user-owned') and who should do the disconnecting instead ('the panel'). An agent must guess the action from the tool name alone.

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?

It gives a genuine exclusion (do not disconnect user-owned shared SSH connections) and routes that case to 'the panel', plus a constraint for agents ('only cancel their own command channels'). But there is no positive statement of when stop_bridge itself should be called, and the phrase 'cancel their own command channels' blurs it with the sibling cancel_command.

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