Skip to main content
Glama

Generate Sound Effects

beatra.audio.generate_sfx
Idempotent

Generate sound effects, foley, or looping ambient beds from a text prompt (0.5 to 30 seconds). This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.

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>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.audio.generate_sfx"
  }
}

Input Schema

NameRequiredDescriptionDefault
loopNoWhen true, generate a seamlessly looping sound effect or ambient bed.
modelNoSound-effects model identifier, or 'auto' for automatic selection.auto
formatNoOutput audio container/encoding format.mp3
promptYesText description of the sound effect or ambient audio to generate (1-2000 characters).
model_optionsNoOptional model-family-specific options (for example, `{"elevenlabs": {...}}`). Unrecognized keys emit an `option_ignored` warning.
duration_secondsNoTarget duration in seconds (0.5-30.0). Omit to let the model choose duration automatically.
prompt_influenceNoHow strictly generation follows the prompt (0.0-1.0, default 0.3).
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.

Output Schema

NameRequiredDescriptionDefault
taskNo
errorNo
usageNo
statusNo
billingNo
task_idNo
terminalNo
artifactsNo
resolved_modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=true and destructiveHint=false, so the mutation/idempotency profile is structured. The description adds genuinely useful non-structured behavior: this is a billable call that consumes credits and returns asynchronously, and it explains how to poll and how retry identity works. A 4 is arguable but it leaves return shape and failure/partial-failure behavior unstated, so 3–4 territory; the credit and async disclosures push it to 3.

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?

Three front-loaded sentences with zero filler: capability first, billing/async model second, retry protocol third. Every clause carries operational weight.

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?

Covers cost, asynchrony, polling target, duration bounds, and idempotent-retry semantics – everything an agent needs to invoke safely, and the output schema covers return values. It would be complete at 5 if it pointed to the sibling to use for music or speech instead of sound effects.

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 adds a little outside the schema by pairing the duration range (0.5-30 seconds) with the prompt-driven creation context and by stating the retry-identity rule for client_request_id, but it does not explain loop, model, or prompt_influence beyond what the schema already documents.

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 set ('Generate sound effects, foley, or looping ambient beds from a text prompt') plus the duration envelope. The 'sound effects/foley/ambient' framing cleanly separates it from sibling music and speech generation tools without needing to name them.

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 explicit operational guidance: submit exactly once, then poll with beatra.tasks.get, and reuse client_request_id only for identical retries. It stops short of telling the agent when to prefer beatra.music.generate or beatra.speech.synthesize instead, so the cross-sibling routing is implicit.

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