Skip to main content
Glama

terminal_input

Destructive

Send nonsecret shell input only after a human grants AI input control; use terminal_run_private with device-confirmed Private Input for credential commands, never passwords or tokens.

Instructions

Send nonsecret shell input only while the human has granted AI input control. For commands needing credentials, use terminal_run_private and wait for device-confirmed Private Input. Never send passwords/tokens through this tool. Shared screenshots are included automatically in the response.

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": {
      "data": "<data>"
    },
    "name": "terminal_input"
  }
}

Input Schema

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

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. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and non-idempotency; the description adds real value beyond them by disclosing the human-grant precondition, the secret-handling ban, and that shared screenshots are returned automatically. It does not describe what happens when input control has not been granted (error vs. rejection), leaving the failure mode implicit.

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 short sentences, front-loaded with the central constraint and no filler. The precondition, the alternative, the prohibition and the response note each carry distinct weight.

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 destructive, open-world input tool with no output schema, the definition covers the safety gate, the credential escape hatch, and the return surface (screenshots). Only the behavior when the grant is absent is unaddressed.

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 50%: connectionRef is fully documented in the schema and not mentioned in the description, while the description meaningfully constrains `data` to non-secret shell input. That constraint is genuine added meaning, but with half the schema undocumented a 3 is the right baseline.

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?

States a specific verb and resource ('Send nonsecret shell input') plus a hard precondition ('while the human has granted AI input control'). It also implicitly separates itself from terminal_run_private, so an agent can tell the two apart without opening either schema.

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?

Explicitly names the alternative for the credential case ('use terminal_run_private and wait for device-confirmed Private Input') and states the prohibition ('Never send passwords/tokens through this tool'). The when-to-use and when-not-to-use conditions are both spelled out.

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