Skip to main content
Glama

terminal_run_private

Destructive

Run shell commands that require a password or secret via the device Private Input form, supplying only nonsecret argv. Wait for device-confirmed private input; all command output is suppressed.

Instructions

Run a command that needs a password or other secret using the device Private Input form. Supply only nonsecret argv; never put a password/token in argv, terminal_input, chat or a file. All command output is suppressed. Wait for device-confirmed waiting_for_private_input before asking the person to enter it in Private Input. Requires the privateCommand capability; fail closed on older devices. The ordinary shell is retained; a finished event includes only exitCode/reason. No credential argument exists.

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": {
      "argv": "<argv>"
    },
    "name": "terminal_run_private"
  }
}

Input Schema

NameRequiredDescriptionDefault
argvYes
connectionRefNoThe host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.
timeoutSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connectionRef
      Added value: +{
      +  "description": "The host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.",
      +  "type": "string"
      +}
  2. Addedv0.1.7

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (destructive, openWorld, non-idempotent), it discloses that all command output is suppressed, that only exitCode/reason come back, that the privateCommand capability is required, and that older devices fail closed. Those are exactly the behaviours an agent cannot infer from the schema. It does not say what a capability failure looks like, which keeps it just short of the top score.

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?

The purpose is stated first, then the security constraint, then the precondition, then the runtime behaviour — a sensible order with no filler. 'No credential argument exists' largely repeats the earlier argv warning, a small redundancy in an otherwise tight definition.

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

Completeness5/5

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

There is no output schema, but the description states precisely what a finished event contains (exitCode/reason) and that output is suppressed. Together with the capability requirement and the fail-closed rule, an agent has everything it needs to call the tool correctly and interpret the result.

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?

Schema coverage is only 33%, so the description has to carry weight, and it does: it constrains argv to nonsecret values only and rules out a credential parameter entirely. connectionRef and timeoutSeconds are covered by the schema, so no further explanation is needed there.

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?

The first sentence gives a specific verb and resource ('Run a command that needs a password or other secret') plus the mechanism ('device Private Input form'), which separates it from an ordinary command runner. Later sentences differentiate it from the ordinary shell and from terminal_input by naming both explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states when to use it (commands needing a secret), what never to do (no secrets in argv, terminal_input, chat, or a file), and a hard precondition ('Wait for device-confirmed waiting_for_private_input before asking the person to enter it'). It also gives a fallback rule for unsupported hosts: fail closed on older devices.

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