Skip to main content
Glama
SSH Terminal for Codex

SSH Terminal for Codex

by kanade13

command_status

Read output and exit status for commands created in this chat, helping verify completion and results after sending a command.

Instructions

Read output and exit status for an isolated command created by this chat. Prefer this after send_command; never read another chat's command channel.

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": {
      "command_id": "<command_id>"
    },
    "name": "command_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNo
peekNo
limitNo
command_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry everything; 'read' conveys a non-destructive operation and the cross-chat prohibition discloses an access boundary. It never states whether reads are idempotent, whether they block until the command finishes, or whether repeated reads consume the output stream — critical for a status tool.

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 sentences with no filler, and the scoping constraint is front-loaded before the routing advice. Nothing could be cut without losing information.

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?

No annotations and no output schema mean the description is the only behavioral documentation, but it omits the output-shape and truncation semantics implied by full/peek/limit. For a tool whose whole job is returning output, that leaves an agent guessing at invocation behavior.

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 the description must explain all four parameters, yet it is silent on full, peek, and limit. The distinction between a peeking read and a full read is exactly what an agent needs to choose correctly here.

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

Purpose5/5

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

Names a specific verb (read) and resource (output and exit status) and narrows scope to commands 'created by this chat.' The reference to send_command lets an agent place it in the command lifecycle without opening another schema.

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?

'Prefer this after send_command' gives an explicit trigger for use, and 'never read another chat's command channel' gives an explicit prohibition. It stops short of full alternative-routing (e.g., when to use cancel_command or how often to poll), so it is clear but not exhaustive.

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