Skip to main content
Glama

reverse

Reverse musical patterns in Strudel to create mirrored sequences and explore inverted rhythmic structures for experimental composition.

Instructions

Reverse pattern

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler implementation for the 'reverse' tool. Retrieves the current pattern, appends '.rev' to reverse it in Strudel syntax, writes the modified pattern, and returns a success message.
    case 'reverse': const toReverse = await this.getCurrentPatternSafe(); const reversed = toReverse + '.rev'; await this.writePatternSafe(reversed); return 'Pattern reversed';
  • Tool registration in getTools() method, defining the name, description, and empty input schema (no parameters required). This is returned by the list tools handler.
    { name: 'reverse', description: 'Reverse pattern', inputSchema: { type: 'object', properties: {} } },
  • Input schema definition for the 'reverse' tool, specifying no required parameters.
    inputSchema: { type: 'object', properties: {} }

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/williamzujkowski/strudel-mcp-server'

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