Skip to main content
Glama

sc_stop_all

Stop all currently playing audio synthesis immediately to manage server lifecycle and control real-time sound generation.

Instructions

Stop all currently playing synths immediately

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler logic for the 'sc_stop_all' tool. It checks if the SuperCollider server is booted and, if so, executes the SuperCollider command 'Server.default.freeAll;' to free all synths, stopping all sounds.
    case 'sc_stop_all': { if (!scServer.getBooted()) { return { content: [{ type: 'text', text: 'Error: SuperCollider server is not running.' }], isError: true, }; } await scServer.executeCode('Server.default.freeAll;'); return { content: [{ type: 'text', text: 'All synths stopped' }], }; }
  • The tool schema definition for 'sc_stop_all', including name, description, and empty input schema (no parameters required). This is part of the tools array used for tool listing and validation.
    { name: 'sc_stop_all', description: 'Stop all currently playing synths immediately', inputSchema: { type: 'object', properties: {}, }, },
  • src/index.ts:200-202 (registration)
    Registration of all tools, including 'sc_stop_all', via the ListToolsRequestSchema handler that returns the tools array.
    server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools, }));

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BradA1878/mcp-wave'

If you have feedback or need assistance with the MCP directory API, please join our Discord server