Skip to main content
Glama
Sanjay-dev22

visible-terminal-mcp

by Sanjay-dev22

vterm_send

Sends typed text, Enter, and special keys to a focused visible terminal window without waiting for output; use the read tool afterward to capture the response.

Instructions

Send keystrokes to a visible terminal window, exactly as if typed on a keyboard. Relies on the window having focus (true right after vterm_spawn, or after the user last interacted with it — does not forcibly steal focus from other windows). Does not wait for a response — call vterm_read afterward.

Input Schema

NameRequiredDescriptionDefault
pidYesProcess id returned by vterm_spawn
textNoLiteral text to type (e.g. a command or a chat message).
enterNoPress Enter after the text.
specialNoSpecial keys to send in order, e.g. ["UP","UP"] to navigate a menu, before any text/enter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose key behavior: focus dependency, no focus stealing, and non-blocking execution. However, it does not explain what happens if the window lacks focus or what the immediate return value is, leaving some failure-mode and response behavior unspecified.

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?

The description is three tight sentences, front-loads the core action, then gives focus constraints and the required follow-up. There is no redundant or filler text.

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?

Given full parameter schema coverage and no output schema, the description provides the essential operational context: focus requirements and the need to call vterm_read afterward. It is complete enough for correct invocation, though failure behavior when unfocused is not fully specified.

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 description coverage is 100%, so the schema already documents pid, text, enter, and special keys in detail. The description adds only general context about keystrokes and does not supplement parameter semantics beyond what the schema provides.

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 description states a specific verb and resource: send keystrokes to a visible terminal window. It clarifies the action as equivalent to typing on a keyboard, which clearly distinguishes it from sibling tools like vterm_spawn, vterm_read, and vterm_close.

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 explicitly states the focus prerequisite (true right after vterm_spawn or after user interaction), warns that it does not forcibly steal focus, and directs the agent to call vterm_read afterward. This gives clear when-to-use context and sequencing relative to sibling tools.

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

Deploy Server

Other Tools