Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEEPSEEK_API_KEYNoYour DeepSeek API key for AI-powered pattern generation. Get an API key from the DeepSeek Platform (https://platform.deepseek.com/api_keys). When not configured, AI tools fall back to static pattern generation using the built-in PatternGenerator.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
init

Initialize Strudel in browser

write

Write pattern to editor

append

Append code to current pattern

insert

Insert code at specific line

replace

Replace pattern section

play

Start playing pattern

pause

Pause playback

stop

Stop playback

clear

Clear the editor

get_pattern

Get current pattern code

transpose

Transpose notes by semitones

reverse

Reverse pattern

stretch

Time stretch pattern

quantize

Quantize to grid

humanize

Add human timing variation

generate_variation

Create pattern variations

generate_pattern

Generate complete pattern from style

generate_drums

Generate drum pattern

generate_bassline

Generate bassline

generate_melody

Generate melody from scale

analyze

Complete audio analysis

analyze_spectrum

FFT spectrum analysis

analyze_rhythm

Rhythm analysis

detect_tempo

BPM detection

detect_key

Key detection

validate_pattern_runtime

Validate pattern with runtime error checking (monitors Strudel console for errors)

add_effect

Add effect to pattern

remove_effect

Remove effect

set_tempo

Set BPM

add_swing

Add swing to pattern

apply_scale

Apply scale to notes

save

Save pattern with metadata

load

Load saved pattern

list

List saved patterns

undo

Undo last action

redo

Redo action

generate_scale

Generate scale notes

generate_chord_progression

Generate chord progression

generate_euclidean

Generate Euclidean rhythm

generate_polyrhythm

Generate polyrhythm

generate_fill

Generate drum fill

performance_report

Get performance metrics and bottlenecks

memory_usage

Get current memory usage statistics

ai_generate_pattern

Generate a Strudel pattern from natural language description using DeepSeek AI

ai_enhance_pattern

Enhance or modify the current pattern using AI suggestions

ai_explain_pattern

Get an AI-generated explanation of what the current pattern does

ai_analyze_pattern

Get AI analysis of the pattern including style detection, complexity assessment, and improvement suggestions

ai_suggest_variations

Generate AI-suggested variations of the current pattern

ai_status

Check if DeepSeek AI features are available and configured

ai_test_connection

Test DeepSeek API connection with a simple request to diagnose connection issues

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/youwenshao/filopastry'

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