Skip to main content
Glama

Write a narration script

write_script

Write a viral voiceover/narration script for a video (url or upload_id — the AI watches it) or rewrite/expand a text, in a genre and language, sized to target_seconds. Instant (up to ~1–2 min for videos). Costs 1 credit(s).

Input Schema

NameRequiredDescriptionDefault
urlNoPublic video link (YouTube, TikTok, Instagram, Facebook, X, Vimeo…) or a direct https link to a video file (.mp4, .mov, .webm, .m4v).
textNoOr a text to rewrite / expand.
genreYesStory genre.
languageYesContent language code (list_languages): en, es, pt, fr, de, it, ru, hi, ar, bn, ur, id, fil, vi, tr, ta, te, th, ms, ja, ko, zh, pl, uk, mr, pa, sw.
upload_idNoId of a file uploaded with POST /api/v1/uploads, or of an image given to import_image.
ending_ctaNoEnd with "Full video below" (default true).
target_secondsYesNarration length in seconds.
idempotency_keyNoOptional unique key (e.g. a uuid) — repeating the same call with the same key within 24 h returns the first result instead of charging again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Public video link (YouTube, TikTok, Instagram, Facebook, X, Vimeo…)."New value: +"Public video link (YouTube, TikTok, Instagram, Facebook, X, Vimeo…) or a direct https link to a video file (.mp4, .mov, .webm, .m4v)."
  2. Changed2 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Content language code (list_languages): en, es, pt, fr, de, it, ru, hi, ar."New value: +"Content language code (list_languages): en, es, pt, fr, de, it, ru, hi, ar, bn, ur, id, fil, vi, tr, ta, te, th, ms, ja, ko, zh, pl, uk, mr, pa, sw."
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "en",
      -  "es",
      -  "pt",
      -  "fr",
      -  "de",
      -  "it",
      -  "ru",
      -  "hi",
      -  "ar"
      -]New value: +[
      +  "en",
      +  "es",
      +  "pt",
      +  "fr",
      +  "de",
      +  "it",
      +  "ru",
      +  "hi",
      +  "ar",
      +  "bn",
      +  "ur",
      +  "id",
      +  "fil",
      +  "vi",
      +  "tr",
      +  "ta",
      +  "te",
      +  "th",
      +  "ms",
      +  "ja",
      +  "ko",
      +  "zh",
      +  "pl",
      +  "uk",
      +  "mr",
      +  "pa",
      +  "sw"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / upload_id / description
      Previous value: -"Id of a file uploaded with POST /api/v1/uploads."New value: +"Id of a file uploaded with POST /api/v1/uploads, or of an image given to import_image."
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered elsewhere. The description still adds genuinely useful non-annotation context: it costs 1 credit and takes roughly 1–2 minutes for video input, and it notes the AI actually watches the supplied video. Slight blemish: 'Instant (up to ~1–2 min for videos)' is internally inconsistent about latency.

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?

One dense, front-loaded sentence with the verb and resource first; the parentheticals about video watching and timing earn their space. Minor waste and awkwardness in 'Costs 1 credit(s)' and the self-contradicting 'Instant (...1–2 min)'.

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?

With 8 params, 17 enum languages, annotations present and no output schema, the description covers inputs, cost, latency and the nature of the result well. The notable gap is that nothing says what comes back — a script string, an object with fields, an id to poll — which is the one thing an agent still has to guess without an output schema.

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 and the schema already carries enum and format detail. The description still adds meaning the schema does not: target_seconds sizes the output rather than merely bounding it, and 'the AI watches it' explains why url/upload_id matter. It stops short of explaining genre's effect on output beyond naming 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 ('Write a viral voiceover/narration script') and immediately disambiguates the two accepted inputs: a video via url/upload_id, or a text to rewrite/expand. An agent can tell this produces a script, not audio or a finished video, which separates it from generate_voiceover or create_short without opening a schema.

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

Usage Guidelines3/5

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

It implies when the tool applies ('for a video ... or rewrite/expand a text') and makes the url/upload_id vs text inputs mutually exclusive, which is real usage guidance. However it never names a sibling alternative or states when NOT to reach for this over generate_voiceover, create_short or studio_generate, leaving routing to inference.

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