Skip to main content
Glama

Generate sound effect

generate_sound_effect

Generate a sound effect, Foley cue, impact, transition or ambience, optionally as a seamless loop. Default model: sfx/elevenlabs-sound-v2 (up to 30 seconds; without duration_seconds the model picks the length and the charge follows the delivered audio). Returns a job; check_job returns the permanent audio URL once it is completed. Submitting charges credits, refunded automatically if the job fails; estimate_generation prices a request without charging.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_sound_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
loopNoMake a seamless loop.
modelNoSound-effect model ID. Default sfx/elevenlabs-sound-v2.
extrasNoModel-specific parameters as listed by get_model_params. They are merged with the top-level fields.
promptNoThe sound: source, action, space, texture and ending.
force_newNoAn identical request submitted in the last 10 minutes returns that job without charging again; true generates it again.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.
budget_projectNoOptional budget project this generation's cost counts toward, for tracking spend per client or job. Pass its slug; an id or the exact display name also works. Create one with create_budget_project and find slugs with list_budget_projects. An unknown project never stops the generation: it runs without one, and the result warns how to add it with assign_to_budget_project.
duration_secondsNoLength in seconds; omit to let the model choose.
prompt_influenceNoHow closely to follow the prompt, 0 to 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false) by disclosing the async job contract, the billing model (charge on submit, automatic refund on failure, price follows delivered audio), the default model and its 30-second ceiling. This is exactly the cost and lifecycle context an agent needs before spending credits and can't be inferred from the structured fields.

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?

Front-loads purpose, then layers model/duration, result retrieval, and billing in a logical order with no filler. The parentheticals make a couple of sentences dense, but every clause carries actionable information.

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 9-parameter generative tool with no output schema, the description still closes the loop: it explains that a job is returned, that check_job yields the permanent URL, and what happens to credits. Nothing an agent needs in order to call it correctly and handle the result 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, but the description adds consequence-level meaning: omitting duration_seconds lets the model choose the length and the charge tracks the delivered audio rather than the request. Model defaulting is also restated usefully. It doesn't touch prompt_influence, loop or extras, which is acceptable given the schema documents them.

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 a sound effect') and bounds the scope with concrete categories (Foley cue, impact, transition, ambience) plus the loop variant. That vocabulary makes it clearly distinguishable from the sibling generate_music, generate_speech and generate_video tools without opening any schema.

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?

Routes the agent through the full workflow: this tool submits, check_job retrieves the result, and estimate_generation prices without charging. It doesn't spell out an exclusion rule against the nearest sibling (generate_music) or when-not to use it, so guidance is clear but not complete.

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.