Skip to main content
Glama
nickbeentjes

mac-audio-router-mcp

by nickbeentjes

hog_device

Take exclusive access to a macOS audio device to block other apps from using it, then release it when done. Requires the native audiod daemon.

Instructions

Take exclusive access to an audio device (prevents other apps from using it). Requires the native audiod daemon.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
releaseNoSet to true to release exclusive access
device_nameYesDevice name to take exclusive access to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations present, the description carries the full behavioral burden. It does disclose two valuable traits beyond the schema: the exclusive-access side effect that blocks other apps, and a hard dependency on the native audiod daemon. However, it omits whether the lock is reversible or how it is released, permission requirements, and failure modes.

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?

Two tight sentences: the primary action and its effect come first, followed by the environmental prerequisite. Nothing 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?

For a two-parameter, no-output-schema tool with no annotations, the description covers purpose, side effect, and a key runtime prerequisite (audiod daemon), which is close to sufficient. It could be more complete by touching on reversibility/release behavior, which the schema parameter implies but the description never frames.

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 both parameters (device_name and the release flag) are already documented in the schema, giving a baseline of 3. The description adds no parameter-level detail such as device-name format or how release interacts with the hog, so it does not exceed that baseline.

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 pairs a specific verb ('take exclusive access') with a clear resource ('an audio device') and clarifies the consequence ('prevents other apps from using it'). It is easily distinguished from read-oriented siblings like get_audio_status or list_audio_devices, though it never explicitly contrasts itself with device-selection tools like set_output_device or set_input_device.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The reader can infer that this is for gaining exclusive control, but the description never states the conditions under which hogging is preferable to ordinary device selection, nor when to avoid it.

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