Skip to main content
Glama

terminal_cancel_private_input

Cancel a pending private input when explicitly requested, interrupting the waiting command and discarding unsubmitted data without reading or submitting it; submitted input cannot be retracted.

Instructions

Only when the person explicitly asks, cancel the current private input without reading or submitting it. Interrupts the waiting command and discards unsubmitted input; submitted input cannot be retracted. Set resumeAI true only when the person also authorizes continuing AI work. Requires an approved connection and the device cancelPrivateInput capability. Inspect state after interruption; never replay blindly.

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

Input Schema

NameRequiredDescriptionDefault
resumeAINo
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. Addedv0.1.5

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing consequences: it interrupts a waiting command, discards unsubmitted input, and cannot retract already-submitted input. It also surfaces prerequisites (approved connection, device cancelPrivateInput capability) and explains why replay is unsafe, which corroborates idempotentHint=false. Discarding unsubmitted input is a mild tension with destructiveHint=false, but it is scoped to transient pending state, so this is not a contradiction.

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 trigger condition is front-loaded in the first sentence, and each following sentence adds a distinct constraint (irreversibility, flag semantics, prerequisites, post-action check). It is dense but largely waste-free; the closing "never replay blindly" is advisory but still informative.

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?

For a non-idempotent, open-world cancel operation with no output schema, the description covers prerequisites, the irreversible edge (submitted input), flag semantics, and what to do afterward. An agent has everything needed to decide whether and how to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, and the description compensates fully by defining the condition under which resumeAI should be true ("only when the person also authorizes continuing AI work"). The connectionRef semantics are already covered in the schema, so the undocumented parameter is the one the description addresses.

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?

States a specific verb and resource ("cancel the current private input") plus an explicit scope limitation ("without reading or submitting it"). The private-input framing implicitly distinguishes it from generic input tools like terminal_input, but no sibling is named, so differentiation relies on the reader inferring it.

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?

Provides a strong gating condition: "Only when the person explicitly asks." It also conditions the resumeAI flag on additional authorization and prescribes a follow-up ("Inspect state after interruption"). It does not name an alternative tool for adjacent cases, but the when-to-use condition is clear.

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