Skip to main content
Glama
SuperCollider Headless MCP Server

SuperCollider Headless MCP Server

by dheerajstvpm

setup_engine

Provisions a headless SuperCollider runtime, boots scsynth, and loads the SynthDef library so audio synthesis can start without manual installation.

Instructions

Provision headless SuperCollider runtime (downloads if missing), boot scsynth, and load SynthDef library. Returns sample rate, audio device info, and version.

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": "setup_engine"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNoAudio output device name or index
blockSizeNoBlock size for scsynth
sampleRateNoSample rate for scsynth
forceReprovisionNoForce re-download and re-extract SuperCollider runtime

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 side effects a caller could not otherwise know: a network download and extraction when the runtime is missing, plus forceReprovision triggering re-download, and it states the return payload (sample rate, device info, version). It omits whether the call is idempotent when an engine is already running, whether it blocks, and how failures surface — significant gaps for a stateful boot operation.

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 with zero filler, front-loading the actions and following with the return contract. Every clause carries information an agent needs.

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 description covers the actions, the notable side effect, and the return values, which is important since no output schema exists. With no annotations and a 4-parameter surface, the main remaining gap is guidance on repeat invocation and error behavior.

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 device, blockSize, sampleRate, and forceReprovision are already documented in the schema with defaults. The description adds no further parameter meaning beyond echoing sample rate and device in the return summary, so the baseline of 3 applies.

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 names specific verbs and resources: provision the SuperCollider runtime, boot scsynth, and load the SynthDef library. This is far more concrete than the bare name 'setup_engine' and clearly separates it from playback-oriented siblings like play_code and stop_all. It does not explicitly name a sibling it is not, which keeps it below a 5.

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 'provision/boot/load' framing suggests this is a prerequisite step before playback, but the description never says when to call it versus get_status or list_and_set_audio_device. There is a notable overlap with list_and_set_audio_device via the device parameter that goes unaddressed, and no when-not guidance is given.

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