Skip to main content
Glama

ghostlan_link

Simulate plugging or unplugging an Ethernet cable for a ghost in a virtual LAN by bringing its link up or down to test network connectivity and failover.

Instructions

Simulate Ethernet cable plug/unplug (link up/down) on a ghost

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>",
      "up": "<up>"
    },
    "name": "ghostlan_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
upYestrue to bring link up, false to bring link down
lanYesName of the virtual LAN
ghostYesGhost name inside the LAN

Output Schema

NameRequiredDescriptionDefault
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does add real semantic value by framing the operation as a simulated cable event on a specific ghost inside a specific virtual LAN, which implies the change is reversible and locally scoped. It does not disclose whether the link state persists, what happens to in-flight connections, or whether the ghost must be running, which are meaningful gaps for an unannotated mutation tool.

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 tightly written sentence with the action and target front-loaded and no filler wording. Nothing in it is redundant or padded.

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?

The tool is simple, all three parameters are required and fully documented in the schema, and an output schema exists so return values need no explanation. The remaining shortfall is the absence of prerequisite or side-effect information and sibling routing, but for a three-parameter link-toggle this is close to sufficient.

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% and every parameter carries its own description, including the up/down boolean semantics, so the schema already does the explanatory work. The description adds only the framing that 'up' corresponds to a physical link rather than process state, which is a marginal gain beyond the structured fields.

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 gives a concrete verb-plus-resource: simulate an Ethernet cable plug/unplug, i.e. link up/down, on a ghost. It also disambiguates that 'up' refers to link state rather than ghost power state, which is genuinely clarifying. It stops short of contrasting itself with siblings like ghostlan_up, ghostlan_down, or ghostlan_netem_set, so an agent must reason about which control surface to use.

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: the tool mimics a physical cable, so it is naturally read as a connectivity-fault-injection action. There is no explicit statement of when to pick this over ghostlan_netem_set (degraded links) or ghostlan_down (shut down the ghost), and no prerequisites are listed.

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