Skip to main content
Glama

terminal_events

Read-only

Reads terminal events and human-shared screen images while waiting for approval or between actions; returns one queued capture batch per call with per-event connection references.

Instructions

Read terminal events and actual images shared by the human automatically. Call terminal_events({}) while waiting for ai_pending/approval and between actions. Omit waitSeconds for the normal 20-second wait; returns early on events. Does not take a screenshot. One complete queued capture batch is returned per call, with separate images for every captured screen. Without connectionRef it reads every connected host; each event carries its connectionRef.

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_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitSecondsNoOptional; omit for 20 seconds. Valid range 0..25; returns early when events arrive.
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. Changed2 schema fields changedv0.1.3
    • addedInput schema / properties / waitSeconds / default
      Added value: +20
    • addedInput schema / properties / waitSeconds / description
      Added value: +"Optional; omit for 20 seconds. Valid range 0..25; returns early when events arrive."
  3. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive), and the description adds substantial behavior: long-poll semantics with a 20-second default and early return on events, one complete queued capture batch per call, separate images per captured screen, and multi-host fan-out when connectionRef is omitted. What is not disclosed is event typing or what an empty/no-event return looks like, so it stops short of a 5.

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?

Front-loaded with the purpose and the primary call pattern, then layered with behavior. It is dense but each sentence carries information; only the "Omit waitSeconds for the normal 20-second wait" clause partially restates the schema default of 20.

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?

With no output schema, the description does the work of describing returns: a complete queued capture batch, separate images per captured screen, and per-event connectionRef. It is close to complete for a zero-required-parameter polling tool, with only event-type detail left implicit.

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 100%, so baseline is 3, but the description adds meaning the schema does not: omitting waitSeconds means the normal 20-second wait and the call returns early when events arrive, and omitting connectionRef fans out across every connected host with each event carrying its own connectionRef. That last point is a genuine semantic addition beyond the property description.

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 ("Read terminal events and actual images shared by the human") and explicitly carves itself away from take_screenshot with "Does not take a screenshot." An agent can distinguish it from the screenshot sibling and from terminal_input without opening a 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?

Gives an explicit call pattern ("Call terminal_events({}) while waiting for ai_pending/approval and between actions") naming the exact situations that select this tool. It also names the negative case (not a screenshot tool), which routes the agent to the sibling for screen capture.

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