Skip to main content
Glama

Create voice-over

var2_create_dialog

TTS / voice-over (ElevenLabs v4 by default; model "elevenlabs-v3" for the previous generation, ≤5000 chars). dialogue = [{voice, text}, ...]. Default voices: EXAVITQu4vr4xnSDxMaL (Sarah, warm female), JBFqnCBsd6RMkjVDRZzb (George, warm British male). Hebrew: language_code "he" + nikud. Combined text ≤10000 chars. v4 reads English audio tags in square brackets inside text, before the words they color — [excited], [whispers], [sarcastic], [laughs], [sighs] — write them yourself, or pass auto_tag: true to have var2 add them. NOT for voice browsing — that's var2_get_voice_list.

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": {
      "dialogue": "<dialogue>"
    },
    "name": "var2_create_dialog"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoDialog model. Default elevenlabs-v4 (most expressive, ≤10000 chars). Only pass this when the user asks for a specific version.
titleNoOptional asset display name.
auto_tagNoElevenLabs v4 only. true = var2 adds fitting audio tags ([excited], [laughs]…) to every line before generating (free, limited per hour). Omit when you wrote the tags yourself.
dialogueYes
stabilityNo0 = expressive, 0.5 = balanced (default), 1 = monotone.
project_idNoOptional project to attach to. Defaults to the user's default project.
webhook_urlNoOptional. https:// URL var2 POSTs a signed delivery to when the asset is ready (or fails). Signature header: X-VAR2-Signature: t=<unix>, v1=<hex(hmac_sha256(webhook_secret, t + "." + body))>. Retried with exponential backoff (8 attempts over ~4 days).
language_codeNoISO 639-1 (e.g. "he"). Omit to auto-detect.
idempotency_keyNoOptional. Retries with the same key never double-bill (dedupes on ai_jobs.request_id). Use a stable per-user-action value (e.g. a UUID).
auto_tag_densityNoHow many tags auto_tag adds: light (≈1 per line), medium (default), rich.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / auto_tag
      Added value: +{
      +  "description": "ElevenLabs v4 only. true = var2 adds fitting audio tags ([excited], [laughs]…) to every line before generating (free, limited per hour). Omit when you wrote the tags yourself.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / auto_tag_density
      Added value: +{
      +  "description": "How many tags auto_tag adds: light (≈1 per line), medium (default), rich.",
      +  "enum": [
      +    "light",
      +    "medium",
      +    "rich"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint false, destructiveHint false, openWorldHint true), so the description's job is to add operational context — and it does: per-line 5000-char limit on v3, 10000-char combined limit, v4 tag semantics and placement, and the free-but-rate-limited nature of auto_tag. The notable omission is that generation is asynchronous and requires a follow-up fetch (e.g., var2_get_dialog_result); that gap keeps it below a 5.

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 payload structure and the default voices (the two things an agent needs first) are front-loaded, and no sentence is filler. It is dense to the point of being run-on, with several clauses packed into one paragraph, which costs a point on structure but not on utility.

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?

For a 10-parameter media-generation tool, the description covers input construction well, but says nothing about the async lifecycle or which sibling retrieves the finished asset — a meaningful gap given var2_get_dialog_result exists. The webhook_url and idempotency_key schema descriptions partially compensate for the reliability story, but the core call-then-poll pattern is left to inference.

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 coverage is 90%, so the schema already documents all ten parameters in detail, including the webhook signature and idempotency semantics. The description adds genuinely useful cross-parameter context — the combined-char limit, the two default voice IDs with human-readable names, and the Hebrew language_code convention — but most of its parameter guidance is already in the schema, so the baseline holds.

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?

"TTS / voice-over" is a specific verb+resource, and the description immediately distinguishes the tool from its nearest sibling ("NOT for voice browsing — that's var2_get_voice_list"). It also pins down the default model and payload shape (dialogue = [{voice, text}, ...]), so an agent can recognize the task without opening the 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?

It gives explicit routing away from var2_get_voice_list for voice discovery, plus conditional guidance: only pass model when the user asks for a version, use "he" + nikud for Hebrew, and either write audio tags yourself or set auto_tag. It stops short of spelling out the full workflow (e.g., that results are fetched later), so it falls just short of a 5.

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.

Resources