Skip to main content
Glama

Create a voiceover

create_speech

Turn text into natural speech, in many voices and languages. Priced by length in site credits with OAuth or USD with an API key.

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

Input Schema

NameRequiredDescriptionDefault
textYesThe exact words to read out loud.
styleNoOptional delivery: whisper, empathetic, vocal_smile, newscaster, promo_hype or deadpan.
voiceNoOptional voice name, for example Kore (default, warm, higher-pitched), Puck (upbeat, lower-pitched), Charon (deep, lower-pitched), Aoede (bright, higher-pitched), Fenrir (excited, lower-pitched), Leda (youthful, higher-pitched).
max_usdNoAPI key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.
currencyNoBilling unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).
max_creditsNoOAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
production_idNoOptional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / production_id
      Added value: +{
      +  "description": "Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / voice / description
      Previous value: -"Optional voice name, for example Kore (default, warm female), Puck (upbeat male), Charon (deep male), Aoede (bright female), Fenrir (excited male), Leda (young female)."New value: +"Optional voice name, for example Kore (default, warm, higher-pitched), Puck (upbeat, lower-pitched), Charon (deep, lower-pitched), Aoede (bright, higher-pitched), Fenrir (excited, lower-pitched), Leda (youthful, higher-pitched)."
  3. Changed1 schema field changed
    • removedInput schema / properties / style / enum
      Removed value: -[
      -  "whisper",
      -  "empathetic",
      -  "vocal_smile",
      -  "newscaster",
      -  "promo_hype",
      -  "deadpan"
      -]
  4. Changed3 schema fields changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).",
      +  "type": "string"
      +}
    • changedInput schema / properties / max_credits / description
      Previous value: -"The most credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."New value: +"OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."
    • addedInput schema / properties / max_usd
      Added value: +{
      +  "description": "API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.",
      +  "type": "string"
      +}
  5. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already flag non-read-only, non-destructive, non-idempotent, so the safety profile is covered. The description adds genuinely useful behavior beyond that: pricing is metered by text length and billed either in site credits (OAuth) or USD (API key), which implies cost risk and an approval dependency. It still omits whether generation is asynchronous, how long it takes, or what artifact is produced.

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?

Two short, front-loaded sentences with no wasted words; capability comes first and the billing model second. The billing sentence partly restates what currency/max_usd/max_credits already say in the schema, so it is not purely additive.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With seven parameters at full schema coverage and annotations present, the main remaining burden is behavior and output: there is no output schema, and the description never says what comes back (an audio asset? an asset id? a URL?) or how the quoted-cost approval flow sequences with estimate_cost. For a paid generative tool that is a meaningful gap.

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% and every parameter already carries a rich description (voice examples, style enum-like list, max_usd/max_credits approval rules), so the baseline is 3. The description's 'many voices and languages' hints at the voice/style dimension but adds no syntax or constraints beyond the schema, keeping it minimally above baseline.

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?

"Turn text into natural speech, in many voices and languages" gives a concrete verb and resource that clearly separates it from create_image, create_video, or create_music. It never names a sibling, so an agent must infer the boundary from the title 'Create a voiceover' rather than being told explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states what the tool does but gives no when-to-use / when-not guidance and no alternatives (e.g., create_sound_effects for non-speech audio, change_voice for existing audio). The one implied usage cue is the pricing-by-length framing, which tells an agent this is a paid generation call, but no explicit selection criteria are offered.

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.