Skip to main content
Glama

ghostlan_gui_key

Sends a key or key combination to a ghost's virtual display, optionally focusing a target window first, to drive GUI applications inside an isolated virtual LAN.

Instructions

Send a key or key combo (e.g. Return, ctrl+s, Escape) to a ghost's virtual display

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": {
      "lan": "<lan>",
      "ghost": "<ghost>",
      "key": "<key>"
    },
    "name": "ghostlan_gui_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesKey or combo (e.g. Return, ctrl+s, Escape)
lanYesName of the virtual LAN
ghostYesGhost name inside the LAN
windowNoOptional window ID or title to focus first

Output Schema

NameRequiredDescriptionDefault
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about prerequisites (ghost/LAN must exist and be running), where the key event lands (currently focused window vs. the optional window parameter), whether delivery is synchronous, or failure modes. It adds only the 'virtual display' framing beyond the name.

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?

A single front-loaded sentence with the action, the resource, and inline examples; no filler and nothing buried.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the schema fully covers parameters. However, for a GUI-automation tool with no annotations, the description omits the operational context an agent needs (ghost must be running, focus semantics of the window parameter) to invoke it confidently.

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 all four parameters including lan, ghost, key, and the optional window are documented in the schema itself. The description merely repeats the key examples already present and says nothing about the window parameter's focus-first behavior, so baseline 3 applies.

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: send a key or key combo to a ghost's virtual display, with concrete examples (Return, ctrl+s, Escape). It is clearly distinct from gui_type and gui_click by implication, though it never explicitly contrasts itself with those siblings.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'send a key or key combo' and the examples; there is no statement of when to prefer this over ghostlan_gui_type for text entry, nor any prerequisite such as the ghost being up or a window needing focus.

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