Skip to main content
Glama

render

Generate a WAV from a synthesizer patch with spectrogram and loudness/timbre analysis to inspect and iterate on preset sound design.

Instructions

Render a patch to WAV and return analysis numbers plus a spectrogram image (top: level in dBFS per channel; bottom: log-frequency spectrogram; green lines = note on, red dotted = note off). preview: chord | single | low | drone | melody | bassline | slides | plucks. Or pass notes: [{"note": "C3" or 48, "start": s, "dur": s, "vel": 0..1}, ...] to play your own phrase (overlapping notes = legato/slides in mono/legato voice modes). tempo_bpm drives synced LFOs and delays (previews are at 120). controllers: hold the performance controls still for the render, e.g. {"mod_wheel": 1, "aftertouch": 0.5, "pitch_bend": -1} (default all 0). knob_check (when the patch has macros or routes mod_wheel/aftertouch): each knob rendered at 0 and 1 vs the designed sound; fix any line flagged with <<. check_knobs=false skips it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "patch": "<patch>"
    },
    "name": "render"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
patchYes
previewNochord
tempo_bpmNo
check_knobsNo
controllersNo
include_imageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 burden, and it does disclose a lot: the returned analysis numbers, the spectrogram legend (green = note on, red dotted = note off), controller defaults of 0, that previews run at 120 BPM, and what knob_check does with the << flag. It leaves out whether a WAV file is written to disk or just returned, and gives no sense of render cost/time, which matters for an agent deciding whether to call it repeatedly.

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?

Dense but front-loaded: the first sentence states what it does and what comes back, then parameters are handled in sequence with no filler. The parenthetical style is terse and every clause conveys operational detail.

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 7-parameter, nested-object tool with no annotations and no output schema, the description covers return content, note format, controller defaults, and knob verification, which is substantial. The remaining gaps are the patch object's expected structure, include_image, and whether output WAV is persisted.

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 compensate, and it largely does: it enumerates the preview values, gives the notes object shape with example values, explains tempo_bpm's effect on synced LFOs/delays, lists controller keys and their default of 0, and explains check_knobs semantics. Only patch (the required object's expected shape) and include_image are undocumented.

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?

Opens with a specific verb and resource: "Render a patch to WAV and return analysis numbers plus a spectrogram image", and even explains the image layout. It never names or differentiates itself from siblings like play, render_batch, or analyze_wav, so an agent must infer when rendering beats live playback.

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?

Guidance exists at the parameter level: use preview for canned material, or pass notes to play your own phrase, and check_knobs=false to skip knob verification. There is no tool-level routing (e.g., use play to audition live, render_batch for many patches), so the when-to-use-this-vs-alternatives question is only implied.

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