Skip to main content
Glama
SuperCollider Headless MCP Server

SuperCollider Headless MCP Server

by dheerajstvpm

list_and_set_audio_device

List available audio output devices and optionally switch to a specified device by name or index, rebooting scsynth so SuperCollider uses the new output.

Instructions

List available audio output devices (ServerOptions.outDevices). Optionally switch device and reboot scsynth.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_and_set_audio_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
setDeviceNoDevice name or index to switch to (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that setting a device reboots scsynth, which is an important side effect, but it does not explain disruption, permissions, persistence, or what happens when setDevice is omitted.

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 description is a single, front-loaded sentence with no wasted wording. It efficiently covers both listing and the optional switch/reboot behavior.

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 simple one-parameter tool, the description covers the main modes: listing devices and optionally switching/rebooting. It could more explicitly describe the return value when listing, but the core usage and major side effect are present.

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 the schema already explains that setDevice accepts a device name or index. The description adds that the parameter is optional but does not add format or behavioral details 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 action and resource: list available audio output devices, with an optional switch operation. It is clear what the tool does, but it does not explicitly differentiate itself from nearby tools such as get_status or setup_engine.

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 that the tool should be used to inspect audio output devices and optionally change the selected device. However, it gives no explicit when-to-use guidance, prerequisites, or alternatives for related operations.

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