Skip to main content
Glama
erno-szabados

Csound MCP Server

synthesize_sawtooth_lead_bass

Synthesize a sawtooth bass, lead, or pluck with a lowpass filter and ADSR envelope. Generate a .wav file by specifying pitch, duration, filter cutoff, and envelope.

Instructions

Generate a tone using a subtractive sawtooth oscillator and lowpass filter. Perfect for designing classic synthesizer Basses, Leads, and Plucks.

Args: pitch: The fundamental frequency in Hz (e.g., 55.0 for Bass, 440.0 for Lead). duration: The total length of the note in seconds. cutoff_hz: Filter brightness. - 100-400: Dark, muffled (Bass, Deep Pads) - 800-1500: Warm, midrange (Warm Pads, Keys) - 2000-5000: Bright, piercing (Leads, Plucks) attack: Time to reach max volume (0-255). - 0-10: Instant hit (Plucks, Kicks, Percussive Bass) - 50-100: Medium swell (Soft Leads, Strings) - 150-255: Very slow fade in (Ambient Pads, Drones) decay: Time to drop from max volume to sustain level (0-255). - 10-50: Fast drop (Punchy Bass) - 80-150: Natural decay (Keys, Guitars) sustain: Level held after decay phase (0-255). - 0: Note dies out entirely (Plucks, Percussion) - 255: Note holds at maximum volume (Organs, Synths) release: Fade out time after the note ends (0-255). - 10-30: Stops immediately (Staccato Bass, Tight Leads) - 150-255: Long ringing tail (Cinematic Pads, Reverbs) output_filename: Optional name for the output file (e.g. 'warm_pad.wav').

Returns: The absolute path to making the generated .wav file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
decayYes
pitchYes
attackYes
releaseYes
sustainYes
durationYes
cutoff_hzYes
output_filenameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With NO annotations provided, the description carries the full behavioral disclosure burden. It does this well by documenting the return value (absolute path to .wav file) and providing rich per-parameter behavioral context (attack hits, decays, releases). However, it could add detail about preconditions, edge cases, or failure behavior that would further improve transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear intro, per-parameter sections, and a returns line. It's substantial in length but every sentence earns its place by providing actionable range mappings. A minor deduction for the Args-style structure using Python docstring conventions which is slightly verbose but remains scannable.

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 complex 8-parameter synthesis tool with zero schema coverage, descriptions and no annotations, this is remarkably complete. It provides usage examples, parameter ranges, and return value documentation. An output schema exists but the description still clarifies the logical return ('absolute path'). Could be slightly more complete with failure/validation behavior but is strong overall.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must fully compensate for the 8 undocumented parameters. It does this exceptionally well, providing range-based guidance for pitch, cutoff_hz, attack, decay, sustain, and release with concrete examples mapping to sound types (e.g., '0-10: Instant hit (Plucks, Kicks)'). This significantly exceeds what the raw schema would convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it generates a tone using a subtractive sawtooth oscillator and lowpass filter, explicitly naming the purpose ('synthesizer Basses, Leads, and Plucks'). The verb 'Generate' + specific resource (sawtooth oscillator + lowpass filter) is precise, and the name itself differentiates from sibling (synthesize_kick_drum) by specifying the waveform type.

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 provides instrument categories (Basses, Leads, Plucks) but does not explicitly state when to use this tool vs. the sibling synthesize_kick_drum. It implies usage through sound-character descriptions in parameter ranges but never names the alternative. No explicit when-not-to-use or exclusion guidance is given.

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

Install Server

Other 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/erno-szabados/musmcp'

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