Skip to main content
Glama

Generate Text-to-Speech

clipform_generate_tts

Generate narration audio from text with word-level captions for one question in a Clipform form (max 400 characters). It does not make standalone voiceover files. Pass form_id and a node_id per item. Use this for quiz question narration, survey introductions, form instructions, or any node that benefits from a human voice. Proactively suggest narration for quizzes and content-rich forms - it significantly improves engagement.

Available voices: ryan (British male, clear), sonia (British female, warm), andrew (American male, smooth), ava (American female, vibrant), guy (American male, deep). Pick ONE voice that fits the topic - e.g. a London quiz gets ryan or sonia, a US sports quiz gets andrew or guy - and reuse that SAME voice for every item and every call across the whole form. Never mix voices within one form unless the user explicitly asks for multiple voices.

Use the tone parameter to direct HOW the voice speaks. Always set a tone that matches the form's mood - e.g. quizzes: "Energetic and playful, like a quiz show host teasing the audience", surveys: "Professional but warm, encouraging honest answers", personality quizzes: "Curious and reflective". This dramatically improves the narration quality.

Pass one item or many (max 10) - multiple items run in parallel. Returns audio_url and caption_ref per item - pass caption_ref downstream to clipform_render_composition / clipform_render_video_template / clipform_upload_media_asset to attach this run's word-level captions instead of hand-copying the captions array.

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": {
      "form_id": "<form_id>",
      "items": "<items>",
      "context": "<context>"
    },
    "name": "clipform_generate_tts"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesOne or more TTS items to generate
contextYesDescribe the user's underlying goal in one sentence - not the tool you're calling.
form_idYesThe form this narration is for (from clipform_create_form). Required.
workspace_idNoWorkspace to act in (id from clipform_whoami workspaces). Omit to use the connection's default workspace.

Output Schema

NameRequiredDescriptionDefault
resultsYesOne result per item, in order

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / form_id / description
      Previous value: -"The form this is for (from clipform_create_form) - a routing hint only, to pick the right workspace. The result still lands in the workspace library, not on a node. Required on an anonymous session, or this lands in a different workspace and clipform_attach_node_media will not find it."New value: +"The form this narration is for (from clipform_create_form). Required."
    • addedInput schema / properties / items / items / properties / node_id
      Added value: +{
      +  "description": "The form node (question) this narration is for. Required: a voiceover is for one question in a Clipform form.",
      +  "type": "string"
      +}
    • changedInput schema / properties / items / items / properties / text / description
      Previous value: -"Narration text"New value: +"Narration text for one question (max 400 characters)"
    • changedInput schema / properties / items / items / properties / text / maxLength
      Previous value: -5000New value: +400
    • changedInput schema / properties / items / items / required
      Previous value: -[
      -  "text"
      -]New value: +[
      +  "text",
      +  "node_id"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "items",
      -  "context"
      -]New value: +[
      +  "form_id",
      +  "items",
      +  "context"
      +]
  2. Changed3 schema fields changed
    • addedInput schema / properties / form_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / items / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / workspace_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  3. Changed1 schema field changed
    • addedInput schema / properties / form_id
      Added value: +{
      +  "description": "The form this is for (from clipform_create_form) - a routing hint only, to pick the right workspace. The result still lands in the workspace library, not on a node. Required on an anonymous session, or this lands in a different workspace and clipform_attach_node_media will not find it.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / workspace_id
      Added value: +{
      +  "description": "Workspace to act in (id from clipform_whoami workspaces). Omit to use the connection's default workspace.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  5. Changed2 schema fields changed
    • addedOutput schema / properties / results / items / properties / caption_ref
      Added value: +{
      +  "description": "Pass this as the caption_ref param on clipform_render_composition / clipform_render_video_template / clipform_upload_media_asset to attach this run's word-level captions - never hand-copy the captions array.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / results / items / properties / captions / description
      Previous value: -"Pass as the captions param to upload_media_asset"New value: +"Word-level captions, for reference only - prefer passing caption_ref downstream instead of copying this array."
  6. Changed2 schema fields changed
    • addedOutput schema / properties / results / items / properties / captions / items / properties / words / minItems
      Added value: +1
    • changedOutput schema / properties / results / items / properties / captions / items / required
      Previous value: -[
      -  "start",
      -  "end",
      -  "text"
      -]New value: +[
      +  "start",
      +  "end",
      +  "text",
      +  "words"
      +]
  7. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Describe the user's underlying goal in one sentence - not the tool you're calling.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "items"
      -]New value: +[
      +  "items",
      +  "context"
      +]
  8. Changed1 schema field changed
    • changedInput schema / properties / items / items / properties / voice / description
      Previous value: -"Voice: ryan (British male, clear/articulate), sonia (British female, warm/bright), andrew (American male, smooth/neutral), ava (American female, vibrant/friendly), guy (American male, deep/authoritative). Pick based on the form's topic and audience."New value: +"Voice: ryan (British male, clear/articulate), sonia (British female, warm/bright), andrew (American male, smooth/neutral), ava (American female, vibrant/friendly), guy (American male, deep/authoritative). Pick ONE voice for the whole form based on its topic and audience, then reuse that same voice on every item and every call - never mix voices within a form unless the user explicitly asks for more than one."
  9. Changed1 schema field changed
    • changedOutput schema / properties / results / items / properties / captions / description
      Previous value: -"Pass as the captions param to upload_node_media"New value: +"Pass as the captions param to upload_media_asset"
  10. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "results": {
      +      "description": "One result per item, in order",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "audio_url": {
      +            "type": "string"
      +          },
      +          "captions": {
      +            "description": "Pass as the captions param to upload_node_media",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "end": {
      +                  "type": "number"
      +                },
      +                "start": {
      +                  "type": "number"
      +                },
      +                "text": {
      +                  "type": "string"
      +                },
      +                "words": {
      +                  "items": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "end": {
      +                        "type": "number"
      +                      },
      +                      "start": {
      +                        "type": "number"
      +                      },
      +                      "word": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "word",
      +                      "start",
      +                      "end"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "start",
      +                "end",
      +                "text"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "error": {
      +            "type": "string"
      +          },
      +          "ok": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "ok"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "results"
      +  ],
      +  "type": "object"
      +}
  11. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent, closed-world write, and the description adds real behavior beyond that: 400-character text cap, 1-10 items with parallel execution, per-run outputs (audio_url, caption_ref), and a voice-consistency rule across the whole form. It does not warn that repeat calls generate new artifacts (consistent with idempotentHint=false) or mention cost/latency, which is the main remaining gap.

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 purpose, scope, and the key constraint before the operational detail, and every paragraph serves a distinct function (what it does, voice choice, tone, batching, downstream chaining). It is on the long side and duplicates the voice descriptions already present in the schema, costing some efficiency.

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?

An output schema exists, yet the description still names the returned fields and explains the critical downstream handoff of caption_ref to the three render/upload siblings. Combined with batching limits, character cap, and voice/tone policy, nothing an agent needs to call this correctly is missing.

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 a 3 is the baseline, but the description adds decision-level meaning: how to choose one voice for the form from the topic, and how to set tone for quizzes vs. surveys vs. personality quizzes. It restates the voice enum verbatim from the schema, but the selection strategy and reuse rule go beyond it.

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?

States a specific verb and resource ('Generate narration audio from text with word-level captions'), scopes it to one question in a Clipform form, and immediately rules out an adjacent capability ('does not make standalone voiceover files'). An agent can distinguish this from render/upload siblings 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?

Gives concrete when-to-use cases (quiz question narration, survey introductions, form instructions) and a clear exclusion for standalone voiceover files, plus proactive-suggestion guidance. It stops short of naming which sibling handles standalone voiceover work, leaving that inference to the agent.

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.