Skip to main content
Glama

make_sfx

Render a sound effect to a precise moment in an edit: set exact length, land a whoosh's loudest point on a cut, tune pitch, or generate several varied takes as WAV files with onset and peak reported.

Instructions

Make a sound effect for an edit in code, in about a second: one bank sound (sfx_sounds) rendered to the moment, as generated/-vN.wav. dur sets its exact length, apex puts a whoosh's loudest point at that second (land it on a cut), pitch tunes a tonal one (E5, 440). takes gives several renders that differ a little (a key per keystroke). Each file says its onset, peak and the audit (clicks, clipping, cut tails). Use it in render_edit sfx.

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": {
      "session": "<session>",
      "sound": "<sound>"
    },
    "name": "make_sfx"
  }
}

Input Schema

NameRequiredDescriptionDefault
durNoLength in seconds. Default the sound's own.
apexNoSeconds from the file's start to its loudest point (whooshes, risers).
nameNoFile name. Default the id.
seedNoRender seed, to make the same take again.
pitchNoA note (E5) or Hz, for tonal sounds.
soundYesId from sfx_sounds, e.g. whoosh_fast/crisp or rec/click/mouse (a real recording: dur cuts it, one take).
takesNoRenders, 1 to 12. Default 1.
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2026.11.11

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, closed-world behavior, and the description adds real context: ~1 second render time, the exact output path convention generated/<name>-vN.wav, and per-file metadata (onset, peak, click/clipping/cut-tail audit). It does not state failure modes, overwrite behavior on repeated names, or whether takes are written as separate files, which is the main remaining gap.

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?

Dense and front-loaded, with the core action and output in the first clause and parameter semantics following. The first sentence is a long chain of clauses that takes effort to parse, which costs a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter generation tool with no output schema, the description covers what is produced, where it lands, what duration/apex/pitch/takes mean, and what metadata comes back, plus where the result is consumed. Nothing critical to correct invocation is missing.

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 coverage is 100%, so the baseline is 3; the description goes beyond it by giving usage intent for key parameters (apex 'land it on a cut', takes 'a key per keystroke', pitch 'E5, 440', dur as exact length). That maps parameters to workflow decisions rather than restating types.

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?

Specific verb and resource: 'Make a sound effect ... one bank sound (sfx_sounds) rendered to the moment, as generated/<name>-vN.wav'. It scopes the tool to a single bank sound, which implicitly separates it from a designed/composite sound tool, and names the sibling that supplies the sound id.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context ('for an edit in code', 'one bank sound' from sfx_sounds) and a downstream placement rule ('Use it in render_edit sfx'). It stops short of naming design_sfx or stating when this is the wrong choice, so alternatives remain inferred.

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