Skip to main content
Glama

fattly_generate_audio

Generates AI audio: a voiceover (mode=speech) from text, or music (mode=music) from a description. Returns a link to the audio file. For a native-sounding non-English voiceover pick a model + voice_id from fattly_list_models (category audio → speech.models[].polishVoices for Polish) and set language. Costs the model's credits, refunded if generation fails.

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": {
      "mode": "<mode>",
      "text": "<text>"
    },
    "name": "fattly_generate_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesspeech = voiceover, music = music.
textYesText to read (speech) or a music description (music).
modelNoModel id. Speech: elevenlabs-v3, elevenlabs-multilingual, gemini-tts, minimax-speech-28, chatterbox-multi, kokoro (default elevenlabs-v3). Music: stable-audio-3, elevenlabs-music, lyria2, elevenlabs-sfx (default stable-audio-3). Prices: fattly_list_models.
voiceNoSpeech only, legacy alias of voice_id (e.g. Rachel, Aria, George).
secondsNoMusic length, e.g. 15, 30 or 60 (music only; options per model in fattly_list_models).
languageNoSpeech only: language the voiceover is forced to. Default: pl when the text has Polish letters, otherwise the server guesses (often English).
voice_idNoSpeech only. A voice the chosen model accepts: a preset name (ElevenLabs Rachel/Charlie…, any of the 30 Gemini voices, MiniMax system voices incl. Polish_male_1_sample4) or, for ElevenLabs models, any 20-character Voice Library voice ID. Overrides `voice`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Speech only: language the voiceover is forced to. Default: pl when the text has Polish letters, otherwise the server guesses (often English).",
      +  "enum": [
      +    "pl",
      +    "en",
      +    "de",
      +    "es",
      +    "fr"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / model
      Added value: +{
      +  "description": "Model id. Speech: elevenlabs-v3, elevenlabs-multilingual, gemini-tts, minimax-speech-28, chatterbox-multi, kokoro (default elevenlabs-v3). Music: stable-audio-3, elevenlabs-music, lyria2, elevenlabs-sfx (default stable-audio-3). Prices: fattly_list_models.",
      +  "maxLength": 64,
      +  "type": "string"
      +}
    • changedInput schema / properties / seconds / description
      Previous value: -"Music length: 15, 30 or 60 (music only)."New value: +"Music length, e.g. 15, 30 or 60 (music only; options per model in fattly_list_models)."
    • changedInput schema / properties / voice / description
      Previous value: -"Voiceover voice, e.g. Rachel, Aria, George (speech only)."New value: +"Speech only, legacy alias of voice_id (e.g. Rachel, Aria, George)."
    • addedInput schema / properties / voice / maxLength
      Added value: +64
    • addedInput schema / properties / voice_id
      Added value: +{
      +  "description": "Speech only. A voice the chosen model accepts: a preset name (ElevenLabs Rachel/Charlie…, any of the 30 Gemini voices, MiniMax system voices incl. Polish_male_1_sample4) or, for ElevenLabs models, any 20-character Voice Library voice ID. Overrides `voice`.",
      +  "maxLength": 64,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare non-read-only, non-idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds behavior the annotations do not carry: the call returns a link to the audio file, it consumes the model's credits, and those credits are refunded if generation fails. That credit/refund detail is the most useful part for an agent deciding whether to retry.

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 sentences, each earning its place: capability and modes first, then the return value, then the non-English voice-selection recipe, then cost. It is front-loaded and contains no filler or restatement of the title.

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?

For a 7-parameter generation tool with no output schema, the description covers the mode split, the return value (a link to the audio file), model/voice selection guidance, and the cost model. The remaining gap is small: it does not describe failure modes or latency beyond the refund note.

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 nonetheless adds meaning beyond the schema: it frames mode as the speech/music switch and explains the non-English workflow of pairing model plus voice_id with language, which the per-parameter descriptions do not state as a combined recipe.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Generates AI audio') and immediately splits it into the two modes it covers: voiceover from text and music from a description. That is enough for an agent to distinguish it from siblings like fattly_generate_video or fattly_transcribe, though it never names those siblings explicitly.

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?

It gives concrete routing guidance: for a native-sounding non-English voiceover, pick a model and voice_id from fattly_list_models (category audio -> speech.models[].polishVoices) and set language. It also discloses the credit cost and the refund-on-failure condition. What is missing is any explicit 'do not use this for X' exclusion versus tools such as fattly_clone_voice.

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.