Skip to main content
Glama
Hermoso

Hermoso

Official

Generate voiceover or dialogue

generate_voice

Converts text into an MP3 voiceover or multi-speaker dialogue, assigning each speaker a distinct voice; preview credits with dryRun before generating paid audio.

Instructions

RAW speech as an MP3: one voice reading a script (text), or a DIALOGUE of two or more people (lines), each in their own voice. Not for adding audio to a video (render_ad and generate_video voice their own spots; change_voice re-voices a finished clip). ONE VOICE: text + engine (default 'seed-audio'; also 'eleven-v4', 'minimax-speech', 'kokoro'…) + voice, a preset from that engine (hermoso_capabilities -> voice engines); a name the engine does not have is REFUSED for free with its real list, and a few engines make their own voice (the reply says which voice spoke). DIALOGUE: lines [{speaker, voice, text}] in speaking order. Each speaker keeps ONE voice, no two speakers share one, a speaker with no voice gets one nobody has; up to 10 voices and 10,000 characters, refused for free past that. Default engine: the dialogue model (Eleven v3 Dialogue, voices Aria, George, Sarah, Roger, Laura, Charlie, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill, or an ElevenLabs voice id; '[laughs]'-style cues work); or name any voice engine (e.g. 'eleven-v4') to read each line on it and join them in order. dryRun:true returns the exact credits and makes nothing; the price quoted is the charge. Paid, priced by characters (hermoso_capabilities lists credits per 1,000).

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_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoONE VOICE: the script to speak (≤900 characters)
linesNoDIALOGUE: the turns in speaking order
voiceNoONE VOICE: a preset from the chosen engine (e.g. 'Aria'/'George' on eleven-v4, 'stokie_en' on seed-audio); omit for the engine default
dryRunNotrue = the exact credits only, nothing made or charged
engineNovoice-engine id: one voice defaults to 'seed-audio'; a dialogue defaults to the dialogue model ('eleven-dialogue'); or 'eleven-v4', 'minimax-speech', 'kokoro'… (hermoso_capabilities)
get_costNotrue: return the price only; nothing runs or bills
idempotency_keyNochosen once, resent unchanged on retries: the same key never buys twice
expected_creditsNothe get_cost price; refused unbilled if the live price differs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.532
    • addedInput schema / properties / expected_credits
      Added value: +{
      +  "description": "the get_cost price; refused unbilled if the live price differs",
      +  "type": "number"
      +}
    • addedInput schema / properties / get_cost
      Added value: +{
      +  "description": "true: return the price only; nothing runs or bills",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "chosen once, resent unchanged on retries: the same key never buys twice",
      +  "type": "string"
      +}
    • changedInput schema / properties / lines / items / properties / voice / description
      Previous value: -"that speaker's voice from the engine's list (or an ElevenLabs voice id); omit to be given one"New value: +"that speaker's voice from the engine's list (or a voice id); omit to be given one"
  2. Changed6 schema fields changedv0.1.519
    • addedInput schema / properties / dryRun
      Added value: +{
      +  "description": "true = the exact credits only, nothing made or charged",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / engine / description
      Previous value: -"voice-engine id: 'seed-audio' (default), 'eleven-v4' (Eleven v4), 'minimax-speech', or 'kokoro' — listed in hermoso_capabilities"New value: +"voice-engine id: one voice defaults to 'seed-audio'; a dialogue defaults to the dialogue model ('eleven-dialogue'); or 'eleven-v4', 'minimax-speech', 'kokoro'… (hermoso_capabilities)"
    • addedInput schema / properties / lines
      Added value: +{
      +  "description": "DIALOGUE: the turns in speaking order",
      +  "items": {
      +    "properties": {
      +      "speaker": {
      +        "description": "who speaks; the same name keeps the same voice",
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "what they say",
      +        "type": "string"
      +      },
      +      "voice": {
      +        "description": "that speaker's voice from the engine's list (or an ElevenLabs voice id); omit to be given one",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / text / description
      Previous value: -"the script to speak (≤900 characters)"New value: +"ONE VOICE: the script to speak (≤900 characters)"
    • changedInput schema / properties / voice / description
      Previous value: -"a voice preset from the chosen engine (e.g. 'Aria'/'George' on eleven-v4, 'stokie_en' on seed-audio) — omit for the engine default"New value: +"ONE VOICE: a preset from the chosen engine (e.g. 'Aria'/'George' on eleven-v4, 'stokie_en' on seed-audio); omit for the engine default"
    • removedInput schema / required
      Removed value: -[
      -  "text"
      -]
  3. Changed2 schema fields changedv0.1.435
    • changedInput schema / properties / engine / description
      Previous value: -"voice-engine id: 'seed-audio' (default), 'eleven-v3', 'minimax-speech', or 'kokoro' — listed in hermoso_capabilities"New value: +"voice-engine id: 'seed-audio' (default), 'eleven-v4' (Eleven v4), 'minimax-speech', or 'kokoro' — listed in hermoso_capabilities"
    • changedInput schema / properties / voice / description
      Previous value: -"a voice preset from the chosen engine (e.g. 'Aria'/'George' on eleven-v3, 'stokie_en' on seed-audio) — omit for the engine default"New value: +"a voice preset from the chosen engine (e.g. 'Aria'/'George' on eleven-v4, 'stokie_en' on seed-audio) — omit for the engine default"
  4. Changed1 schema field changedv0.1.161
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "audio": {
      -      "description": "the served absolute URL of the MP3 voice clip",
      -      "type": "string"
      -    },
      -    "creditsUsed": {
      -      "description": "credits billed for this clip",
      -      "type": "number"
      -    },
      -    "model": {
      -      "description": "the voice engine label",
      -      "type": "string"
      -    },
      -    "voice": {
      -      "description": "the voice preset used",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  5. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With readOnlyHint=false and destructiveHint=false already declared, the description still adds substantial cost behavior: paid per character, refusals are free (bad voice name, exceeding 10 voices/10,000 chars), and dryRun returns the exact credits without charging. It does not say what the returned artifact looks like beyond "MP3" (URL vs. file, lifetime) and does not distinguish dryRun from the near-identical get_cost parameter.

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-loaded with the one-line essence, then ONE VOICE and DIALOGUE sections, then cost — a logical order with almost no filler. It is dense and typographically noisy (heavy ALL-CAPS, parentheticals, ellipses) which slows parsing, but little of the content is genuinely expendable.

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 an 8-parameter dual-mode paid tool with no output schema, the definition covers mode selection, defaults, voice-list validation, hard limits, pricing model, and free-failure behavior — enough to call it correctly on the first try. The remaining gap is the return shape (what the MP3 reference is and how long it lives) and the get_cost/dryRun overlap, both of which matter for a billable tool.

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 earns above that by supplying cross-parameter semantics the schema cannot express — text and lines are mutually exclusive modes, the default engine differs by mode (seed-audio vs. eleven-dialogue), and a speaker without a voice gets a non-colliding one. It never clarifies when to use get_cost versus dryRun, which is the one genuinely ambiguous pair.

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?

"RAW speech as an MP3: one voice reading a script (text), or a DIALOGUE of two or more people (lines)" gives a concrete verb, resource, output format, and the two-mode split in one sentence. It then names the exact siblings it is not (render_ad, generate_video, change_voice) and why, which an agent can act on 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 Guidelines5/5

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

Explicit negative routing: not for adding audio to video, with the correct alternatives given per case (render_ad and generate_video for spots, change_voice for re-voicing a clip). It also states the internal fork — use text+voice for one speaker, lines for a conversation — and when to reach for hermoso_capabilities for engine/price lists.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools