Skip to main content
Glama

generate_sfx

Generate one short sound effect (a coin pickup, sword hit, footstep, UI click): a 1-second MP3 saved as an sfx asset in the user's Voidless library. For background music or a looping track use generate_music instead. 5 credits on every call (each call makes and bills a new sound; refunded if it fails); a slow run returns a job for check_generation. Returns the asset ID, the MP3 link and the credits left. For a free sound made at once (114 kinds in 8-bit or high quality, up to 5 seconds, as WAV, with variations), use generate_sound.

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": {
      "prompt": "<prompt>"
    },
    "name": "generate_sfx"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesThe one sound to make, with its source and character, e.g. 'retro 8-bit coin pickup, bright and short' or 'heavy sword hitting a metal shield'. One sound per call; the clip is always 1 second long

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / prompt / minLength
      Added value: +1
  2. Changed1 schema field changed
    • changedInput schema / properties / prompt / description
      Previous value: -"The sound to make"New value: +"The one sound to make, with its source and character, e.g. 'retro 8-bit coin pickup, bright and short' or 'heavy sword hitting a metal shield'. One sound per call; the clip is always 1 second long"
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=false) by disclosing the 5-credit cost per call, per-call billing with refund on failure, and the async path where a slow run returns a job for check_generation. It also describes the return payload (asset ID, MP3 link, credits left), which annotations never convey.

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?

Purpose is front-loaded in the first clause, then alternatives, then cost/async behavior, then return values — a sensible priority order. It is dense with parentheticals and reads as one long run-on block, which slightly hurts scannability, but no sentence is filler.

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 a single-parameter generative tool with no output schema, the description covers everything an agent needs: cost, billing semantics, failure/refund behavior, the async fallback tool, and the shape of the response. Sibling alternatives for related-but-different needs are also covered.

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% and the prompt parameter is well-described in the schema itself, so the description only needs to reinforce. It adds useful framing with concrete prompt examples ('retro 8-bit coin pickup, bright and short') and restates the one-sound-per-call / fixed 1-second constraint, but that constraint is already in the schema, so the added value is modest.

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?

States a specific verb and resource ('Generate one short sound effect ... a 1-second MP3 saved as an sfx asset') and immediately differentiates it from two siblings (generate_music, generate_sound) with explicit routing conditions. An agent can identify the tool's niche without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit exclusions and alternatives: 'For background music or a looping track use generate_music instead' and 'For a free sound made at once ... use generate_sound.' The trade-off (credits vs. free/immediate, 1s vs. up to 5s) is stated, so selection is decidable.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources