Skip to main content
Glama
SSH Terminal for Codex

SSH Terminal for Codex

by kanade13

control

Sends Ctrl-C, Ctrl-D, or Enter to an isolated chat command channel, letting you interrupt or confirm commands without touching the panel terminal. Use command_id to target a specific command.

Instructions

Send ctrl-c/ctrl-d/enter only to this chat's isolated command channel. Never writes to the user's panel terminal. Prefer command_id to select a command precisely.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "control"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
command_idNoIsolated commandId returned by send_command.
session_idNoTarget sessionId from list_sessions. Required by the bridge when multiple sessions exist.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the critical safety boundary: input goes only to the chat's isolated command channel and never to the user's panel terminal. It also bounds the action to three fixed keys. It stops short of describing failure behavior for a stale or missing command_id.

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?

Three short sentences, front-loaded with the action and scope, then the safety guarantee, then the parameter preference. No filler or repetition.

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 three-parameter control tool with no output schema and no annotations, the description covers action, scope, safety, and parameter preference. Minor gaps remain around session targeting when multiple sessions exist and what the call returns or errors on.

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 67% and the enum values and command_id/session_id are already documented in the schema, so the baseline is 3. The description adds one useful selection hint ('prefer command_id') but does not explain what session_id defaults to or what happens when command_id is omitted.

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?

The description gives a specific verb and resource ('send ctrl-c/ctrl-d/enter') plus an explicit scope ('this chat's isolated command channel'), which compensates for the vague tool name 'control'. It implicitly separates itself from terminal-writing siblings via 'Never writes to the user's panel terminal', though it doesn't name an alternative directly.

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?

'Prefer command_id to select a command precisely' is real selection guidance between parameter paths, and the isolated-channel framing implies the usage context. However, there is no explicit statement of when not to use it or which sibling (e.g. panel_private_input, send_command) to pick instead.

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