Skip to main content
Glama

ghostlan_serve

Start, stop, or inspect a localhost web viewer for video, audio, mouse, and keyboard access to one or all GUI ghosts.

Instructions

Start, stop, or inspect the localhost web viewer (video, audio, mouse/keyboard) for one or all GUI ghosts

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": {
      "action": "<action>"
    },
    "name": "ghostlan_serve"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNoTarget capture framerate 1..60 (default 30)
lanNoName of the virtual LAN (required for start)
portNoLocalhost TCP port to bind (default 7332)
ghostNoOptional ghost name (omit to serve all GUI ghosts)
actionYesAction to perform: start, stop, or status

Output Schema

NameRequiredDescriptionDefault
fpsNo
lanNo
urlNo
ghostNo
messageNo
runningYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It identifies the service and scope but does not disclose side effects, permissions, whether stopping affects active sessions, what happens when the viewer is already running, or other operational constraints.

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 definition is a single front-loaded sentence with no unnecessary wording. It packs the action set, resource, media capabilities, and ghost scope efficiently.

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?

The output schema exists, so return values need not be explained, and the input schema has full description coverage. However, for a mutation-capable tool with no annotations, the description is only minimally complete because it omits behavioral and operational context around starting and stopping the viewer.

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 input schema already documents parameters such as fps, lan, port, ghost, and action. The description adds the useful scope detail that omitting ghost serves all GUI ghosts, but does not add syntax, constraints, or format information beyond the schema.

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?

The description states a specific set of verbs (start, stop, inspect) and a concrete resource (localhost web viewer for video, audio, mouse/keyboard), and clarifies the ghost scope as one or all GUI ghosts. It is clear, but it does not explicitly differentiate this tool from nearby GUI or lifecycle siblings.

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

Usage Guidelines2/5

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

The description lists the supported actions but gives no explicit when-to-use guidance, no when-not-to-use conditions, and no alternatives for selecting this viewer tool over other GUI-related tools. Usage is only implied by the action list and scope.

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