Skip to main content
Glama
nickbeentjes

mac-audio-router-mcp

by nickbeentjes

route_and_play

Switch macOS audio output to a specified device, then play an audio file or speak text in one atomic operation, with optional volume and restore-device settings.

Instructions

Switch output to a specific device, then play an audio file or speak text. Atomic operation for targeted audio delivery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesWhether to play a file or speak text
volumeNoVolume level
contentYesFile path (for play) or text (for speak)
device_nameYesOutput device to route to
restore_deviceNoDevice to switch back to after playback

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 burden of behavioral disclosure. It mentions switching output (a side effect) but does not explain whether the original device is restored automatically, whether the switch is permanent if restore_device is omitted, what permissions are required, or how failures are handled. Behavioral context is minimal.

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 short sentences, front-loaded with the core action, and the second sentence adds a key differentiating trait. No wasted words; every sentence earns its place.

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

Completeness2/5

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

Given a mutation tool with five parameters, three required, no annotations, and no output schema, the description is too brief. It omits usage guidance, alternatives, and behavioral details such as what happens to the original output device or whether the operation is reversible, leaving significant gaps for an agent.

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 schema already documents all five parameters including their types, enum, and constraints. The description adds no parameter-level meaning beyond what the schema provides, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific compound verb ('Switch output... then play... or speak') and resource, and the phrase 'Atomic operation' explicitly distinguishes it from using set_output_device and play_audio/speak_text separately. An agent can tell this tool apart from its siblings without opening the schema.

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 phrase 'Atomic operation for targeted audio delivery' implies a usage condition—use when you need routing and playback to happen as one atomic step—but it does not state when not to use it or name alternative tools like set_output_device plus play_audio. Usage is implied rather than explicit.

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