Skip to main content
Glama

generate_sfx

Generate one 1-second MP3 sound effect such as a coin pickup, sword hit, footstep or UI click and save it as an SFX asset in your Voidless library. Use generate_music for background music or loops.

Instructions

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.

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 changedv0.1.1
    • 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"
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive behavior, and the description adds the costly facts annotations cannot carry: 5 credits on every call, each call bills a new sound, refunded on failure, and slow runs become async jobs. It also discloses return values (asset ID, MP3 link, credits left), which matters since no output schema exists.

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?

Two dense sentences, front-loaded with the core action, then alternatives, then cost/async behavior, then returns. No 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 one-parameter generative tool with no output schema, the description covers cost, billing model, failure refund, async fallback, and return payload. Nothing an agent needs to invoke it correctly is missing.

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

Parameters3/5

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

Schema coverage is 100% and the prompt field already documents the one-sound-per-call constraint and even example prompts. The description adds little beyond that, merely restating the single-sound, 1-second clip limit, so baseline 3 is appropriate.

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') with concrete examples (coin pickup, sword hit, footstep, UI click) and names generate_music as the distinct alternative. An agent can separate this from generate_music without opening either 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?

Explicitly routes background music or looping tracks to generate_music, and tells the agent that a slow run yields a job for check_generation. Names the alternative and the condition that selects it.

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