Skip to main content
Glama

ghostlan_audio_check

Samples a ghost's audio sink monitor using ffmpeg volumedetect to measure dB levels and detect silence in a virtual LAN.

Instructions

Sample ghostlan_sink.monitor via ffmpeg volumedetect to measure dB levels and detect silence

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

Input Schema

NameRequiredDescriptionDefault
lanYesName of the virtual LAN
ghostYesGhost name inside the LAN
duration_secNoSample duration in seconds (default 2)

Output Schema

NameRequiredDescriptionDefault
max_dbYes
silentYes
mean_dbYes
duration_secYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 the mechanism (ffmpeg volumedetect) and that this is a bounded sampling operation rather than a persistent stream. It still omits whether the LAN/ghost must be running, what happens if the sink is silent or missing, and whether there are side effects.

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 verb-first sentence with zero filler, front-loading the action and the underlying tool used. Every clause contributes either the target, the mechanism, or the outcome.

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 covers the return shape and the schema documents all three parameters, so the description only needed prerequisites and failure behavior. Those are the gaps: nothing tells the agent what state the LAN or ghost must be in for the sample to succeed.

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 coverage is 100%, so lan, ghost, and duration_sec are already documented in the schema. The description only adds the implicit binding that the ghost maps to a specific sink path (ghostlan_sink.monitor), which is helpful context but not parameter-level guidance.

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 concrete verb chain — sample the ghostlan_sink.monitor stream, measure dB levels, and detect silence — which is far more specific than the name alone. It implicitly distinguishes itself from the GUI, netem, and exec siblings, though it never names a contrasting tool.

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?

The description implies the use case (verifying that audio is actually flowing on a ghost's sink) but never states when to choose this over a generic capture or log inspection. No prerequisites are given, such as whether the LAN must be up or the sink must already exist.

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