Skip to main content
Glama

createSpeechPreset

Convert text to speech using a named built-in preset voice, with optional emotion and language settings. Both text and voice_preset_id are required and the text is limited to 1000 characters; invalid input returns HTTP 400. The job result is a single audio result containing a URL. Credits are held when the job is accepted and refunded if it fails or is cancelled. Use this when you want a ready-made catalog voice and do not need to supply your own sample; use createSpeech to clone a voice from an audio sample instead, and createVoice to design a new voice from a text description. Pass an optional request_id to tag the result so you can locate it later via listGenerations (type audio). Async generation job: returns {id, status} - poll getApiJob (job and credit contract: see the server instructions).

Credits: This endpoint consumes 1 credits per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestBodyYesPayload for text-to-speech generation using a voice preset

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / requestBody / properties / request_id / description
      Previous value: -"Optional client-provided identifier, unique per request. Re-sending the same request_id returns the existing job instead of generating again. Also usable with the results endpoint."New value: +"Optional client-provided identifier, unique per request. Re-sending the same request_id returns the existing job instead of generating again. Also usable as the request_id filter of listGenerations."
    • changedInput schema / properties / requestBody / properties / text / description
      Previous value: -"Text to convert to speech (max 100 words)."New value: +"Text to convert to speech (max 1000 characters)."
  2. Changed1 schema field changed
    • changedInput schema / properties / requestBody / properties / request_id / description
      Previous value: -"Optional client-provided identifier for this request. Use this to retrieve results later via the results endpoint."New value: +"Optional client-provided identifier, unique per request. Re-sending the same request_id returns the existing job instead of generating again. Also usable with the results endpoint."
  3. Changed6 schema fields changed
    • changedInput schema / properties / requestBody / properties / emotion / enum
      Previous value: -[
      -  "mock_string_7vy6m",
      -  "mock_string_g23qm"
      -]New value: +[
      +  "Default",
      +  "Happy",
      +  "Sad",
      +  "Angry",
      +  "Fearful",
      +  "Disgusted",
      +  "Surprised",
      +  "Neutral"
      +]
    • changedInput schema / properties / requestBody / properties / emotion / example
      Previous value: -"mock_string_7vy6m"New value: +"Default"
    • changedInput schema / properties / requestBody / properties / language / enum
      Previous value: -[
      -  "mock_string_dpgjq",
      -  "mock_string_pdn9u"
      -]New value: +[
      +  "auto",
      +  "English",
      +  "Afrikaans",
      +  "Arabic",
      +  "Bulgarian",
      +  "Catalan",
      +  "Chinese",
      +  "Chinese,Yue",
      +  "Croatian",
      +  "Czech",
      +  "Danish",
      +  "English",
      +  "Filipino",
      +  "Finnish",
      +  "French",
      +  "German",
      +  "Greek",
      +  "Hebrew",
      +  "Hindi",
      +  "Hungarian",
      +  "Indonesian",
      +  "Italian",
      +  "Japanese",
      +  "Korean",
      +  "Malay",
      +  "Norwegian",
      +  "Nynorsk",
      +  "Persian",
      +  "Polish",
      +  "Portuguese",
      +  "Romanian",
      +  "Russian",
      +  "Slovak",
      +  "Slovenian",
      +  "Spanish",
      +  "Swedish",
      +  "Tamil",
      +  "Thai",
      +  "Turkish",
      +  "Ukrainian",
      +  "Vietnamese"
      +]
    • changedInput schema / properties / requestBody / properties / language / example
      Previous value: -"mock_string_dpgjq"New value: +"auto"
    • changedInput schema / properties / requestBody / properties / voice_preset_id / enum
      Previous value: -[
      -  "60633e0d64db5381d250c4b5"
      -]New value: +[
      +  "Serious woman",
      +  "Wise woman",
      +  "Calm woman",
      +  "Fast-paced woman",
      +  "Calm young girl",
      +  "Expressive teen girl",
      +  "Calm teen girl",
      +  "Sweet girl",
      +  "Patient man",
      +  "Determined man",
      +  "Young elegant man",
      +  "Teen boy",
      +  "Friendly man",
      +  "Deep voice man"
      +]
    • changedInput schema / properties / requestBody / properties / voice_preset_id / example
      Previous value: -"60633e0d64db5381d250c4b5"New value: +"Serious woman"
  4. Changed6 schema fields changed
    • changedInput schema / properties / requestBody / properties / emotion / enum
      Previous value: -[
      -  "Default",
      -  "Happy",
      -  "Sad",
      -  "Angry",
      -  "Fearful",
      -  "Disgusted",
      -  "Surprised",
      -  "Neutral"
      -]New value: +[
      +  "mock_string_7vy6m",
      +  "mock_string_g23qm"
      +]
    • changedInput schema / properties / requestBody / properties / emotion / example
      Previous value: -"Default"New value: +"mock_string_7vy6m"
    • changedInput schema / properties / requestBody / properties / language / enum
      Previous value: -[
      -  "auto",
      -  "English",
      -  "Afrikaans",
      -  "Arabic",
      -  "Bulgarian",
      -  "Catalan",
      -  "Chinese",
      -  "Chinese,Yue",
      -  "Croatian",
      -  "Czech",
      -  "Danish",
      -  "English",
      -  "Filipino",
      -  "Finnish",
      -  "French",
      -  "German",
      -  "Greek",
      -  "Hebrew",
      -  "Hindi",
      -  "Hungarian",
      -  "Indonesian",
      -  "Italian",
      -  "Japanese",
      -  "Korean",
      -  "Malay",
      -  "Norwegian",
      -  "Nynorsk",
      -  "Persian",
      -  "Polish",
      -  "Portuguese",
      -  "Romanian",
      -  "Russian",
      -  "Slovak",
      -  "Slovenian",
      -  "Spanish",
      -  "Swedish",
      -  "Tamil",
      -  "Thai",
      -  "Turkish",
      -  "Ukrainian",
      -  "Vietnamese"
      -]New value: +[
      +  "mock_string_dpgjq",
      +  "mock_string_pdn9u"
      +]
    • changedInput schema / properties / requestBody / properties / language / example
      Previous value: -"auto"New value: +"mock_string_dpgjq"
    • changedInput schema / properties / requestBody / properties / voice_preset_id / enum
      Previous value: -[
      -  "Serious woman",
      -  "Wise woman",
      -  "Calm woman",
      -  "Fast-paced woman",
      -  "Calm young girl",
      -  "Expressive teen girl",
      -  "Calm teen girl",
      -  "Sweet girl",
      -  "Patient man",
      -  "Determined man",
      -  "Young elegant man",
      -  "Teen boy",
      -  "Friendly man",
      -  "Deep voice man"
      -]New value: +[
      +  "60633e0d64db5381d250c4b5"
      +]
    • changedInput schema / properties / requestBody / properties / voice_preset_id / example
      Previous value: -"Serious woman"New value: +"60633e0d64db5381d250c4b5"
  5. Changed1 schema field changed
    • addedInput schema / properties / requestBody / properties / request_id
      Added value: +{
      +  "description": "Optional client-provided identifier for this request. Use this to retrieve results later via the results endpoint.",
      +  "type": "string"
      +}
  6. Changed6 schema fields changed
    • changedInput schema / properties / requestBody / properties / emotion / enum
      Previous value: -[
      -  "mock_string_js8d3",
      -  "mock_string_vntxg",
      -  "mock_string_3l4dt"
      -]New value: +[
      +  "Default",
      +  "Happy",
      +  "Sad",
      +  "Angry",
      +  "Fearful",
      +  "Disgusted",
      +  "Surprised",
      +  "Neutral"
      +]
    • changedInput schema / properties / requestBody / properties / emotion / example
      Previous value: -"mock_string_js8d3"New value: +"Default"
    • changedInput schema / properties / requestBody / properties / language / enum
      Previous value: -[
      -  "mock_string_6vpl6",
      -  "mock_string_pwfux"
      -]New value: +[
      +  "auto",
      +  "English",
      +  "Afrikaans",
      +  "Arabic",
      +  "Bulgarian",
      +  "Catalan",
      +  "Chinese",
      +  "Chinese,Yue",
      +  "Croatian",
      +  "Czech",
      +  "Danish",
      +  "English",
      +  "Filipino",
      +  "Finnish",
      +  "French",
      +  "German",
      +  "Greek",
      +  "Hebrew",
      +  "Hindi",
      +  "Hungarian",
      +  "Indonesian",
      +  "Italian",
      +  "Japanese",
      +  "Korean",
      +  "Malay",
      +  "Norwegian",
      +  "Nynorsk",
      +  "Persian",
      +  "Polish",
      +  "Portuguese",
      +  "Romanian",
      +  "Russian",
      +  "Slovak",
      +  "Slovenian",
      +  "Spanish",
      +  "Swedish",
      +  "Tamil",
      +  "Thai",
      +  "Turkish",
      +  "Ukrainian",
      +  "Vietnamese"
      +]
    • changedInput schema / properties / requestBody / properties / language / example
      Previous value: -"mock_string_6vpl6"New value: +"auto"
    • changedInput schema / properties / requestBody / properties / voice_preset_id / enum
      Previous value: -[
      -  "60633e0d64db5381d250c4b5"
      -]New value: +[
      +  "Serious woman",
      +  "Wise woman",
      +  "Calm woman",
      +  "Fast-paced woman",
      +  "Calm young girl",
      +  "Expressive teen girl",
      +  "Calm teen girl",
      +  "Sweet girl",
      +  "Patient man",
      +  "Determined man",
      +  "Young elegant man",
      +  "Teen boy",
      +  "Friendly man",
      +  "Deep voice man"
      +]
    • changedInput schema / properties / requestBody / properties / voice_preset_id / example
      Previous value: -"60633e0d64db5381d250c4b5"New value: +"Serious woman"
  7. Changed6 schema fields changed
    • changedInput schema / properties / requestBody / properties / emotion / enum
      Previous value: -[
      -  "Default",
      -  "Happy",
      -  "Sad",
      -  "Angry",
      -  "Fearful",
      -  "Disgusted",
      -  "Surprised",
      -  "Neutral"
      -]New value: +[
      +  "mock_string_js8d3",
      +  "mock_string_vntxg",
      +  "mock_string_3l4dt"
      +]
    • changedInput schema / properties / requestBody / properties / emotion / example
      Previous value: -"Default"New value: +"mock_string_js8d3"
    • changedInput schema / properties / requestBody / properties / language / enum
      Previous value: -[
      -  "auto",
      -  "English",
      -  "Afrikaans",
      -  "Arabic",
      -  "Bulgarian",
      -  "Catalan",
      -  "Chinese",
      -  "Chinese,Yue",
      -  "Croatian",
      -  "Czech",
      -  "Danish",
      -  "English",
      -  "Filipino",
      -  "Finnish",
      -  "French",
      -  "German",
      -  "Greek",
      -  "Hebrew",
      -  "Hindi",
      -  "Hungarian",
      -  "Indonesian",
      -  "Italian",
      -  "Japanese",
      -  "Korean",
      -  "Malay",
      -  "Norwegian",
      -  "Nynorsk",
      -  "Persian",
      -  "Polish",
      -  "Portuguese",
      -  "Romanian",
      -  "Russian",
      -  "Slovak",
      -  "Slovenian",
      -  "Spanish",
      -  "Swedish",
      -  "Tamil",
      -  "Thai",
      -  "Turkish",
      -  "Ukrainian",
      -  "Vietnamese"
      -]New value: +[
      +  "mock_string_6vpl6",
      +  "mock_string_pwfux"
      +]
    • changedInput schema / properties / requestBody / properties / language / example
      Previous value: -"auto"New value: +"mock_string_6vpl6"
    • changedInput schema / properties / requestBody / properties / voice_preset_id / enum
      Previous value: -[
      -  "Serious woman",
      -  "Wise woman",
      -  "Calm woman",
      -  "Fast-paced woman",
      -  "Calm young girl",
      -  "Expressive teen girl",
      -  "Calm teen girl",
      -  "Sweet girl",
      -  "Patient man",
      -  "Determined man",
      -  "Young elegant man",
      -  "Teen boy",
      -  "Friendly man",
      -  "Deep voice man"
      -]New value: +[
      +  "60633e0d64db5381d250c4b5"
      +]
    • changedInput schema / properties / requestBody / properties / voice_preset_id / example
      Previous value: -"Serious woman"New value: +"60633e0d64db5381d250c4b5"
  8. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden. It discloses the required inputs, 1000-character limit, HTTP 400 on invalid input, single audio URL result, credit hold/refund policy, and the async return shape of {id, status}. This goes well beyond a generic create statement.

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?

The description is organized and front-loads the core purpose, then moves through constraints, results, credits, alternatives, and async behavior. It is longer than average but every sentence adds a meaningful detail, except for a slight redundancy in the final credits line.

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 tool with no output schema and no annotations, the description covers the full invocation lifecycle: request requirements, error behavior, job result URL, credit contract, async polling via getApiJob, and how request_id relates to listGenerations. An agent has enough context to call and follow up correctly.

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 description coverage is 100%, so the baseline is 3. The description adds little beyond the schema: it repeats requiredness, max length, and request_id usage, all already present in the parameter descriptions. No substantial new parameter meaning is introduced.

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?

The description opens with a specific verb and resource: 'Convert text to speech using a named built-in preset voice.' It also explicitly differentiates from siblings by naming createSpeech (clone from sample) and createVoice (design from description), so an agent can select the right one immediately.

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?

It provides an explicit when-to-use statement ('Use this when you want a ready-made catalog voice and do not need to supply your own sample') and names the alternatives with their conditions. It also directs the agent to poll getApiJob for async jobs, removing ambiguity about follow-up.

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.