Skip to main content
Glama

Aitvar

Write a video script

write_video_script

Starts a new video draft in the person’s Aitvar account and has the AI write its script (scenes of narration with what is shown on screen, a title, caption and hashtags). Free. Usually takes 20-60 seconds; a long video can take longer, then call get_video later. Returns the video id and the script.

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": {
      "topic": "<topic>"
    },
    "name": "write_video_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
lookNoVisual look. Default toon. See get_aitvar_options.
toneNoDefault curious.
musicNoBackground music. Default cinematic.
notesNoAnything else the writer should know: audience, facts to include, a call to action.
topicYesWhat the video is about. A specific angle works best, e.g. "Why octopuses have three hearts".
voiceNoNarrator voice. Default "any" (best fit).
languageNoNarration language. Default English.
length_secondsNoVideo length in seconds. Default 45. A first video is up to 60.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: it creates persistent state in the user's account, it is free, and it typically takes 20-60 seconds with possible overrun. It also discloses the return payload (video id and the script), which lets an agent avoid a redundant fetch. It does not discuss whether the draft can be discarded or re-run costs, which would have pushed it higher.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and resource, then cost, then timing and follow-up, then return value. Nothing is repeated from the schema and every sentence carries information an agent would otherwise have to guess.

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 a mutating, non-idempotent, latency-bearing tool with no output schema, the description covers creation side effects, cost, latency, escalation path, and return values. The only real gap is that it says nothing about what happens on duplicate or failed calls, which matters given idempotentHint=false.

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 description coverage is 100% and six of eight parameters carry enums with documented defaults, so the schema already carries the semantic load. The description only names the script's constituent parts (narration, title, caption, hashtags), which is output detail rather than added meaning for topic, notes, look, or voice. Baseline 3 is appropriate.

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 — 'Starts a new video draft ... and has the AI write its script' — and spells out exactly what the script contains (scenes of narration, what is shown on screen, title, caption, hashtags). The word 'new' implicitly separates it from the rewrite_video_script and update_video_script siblings, so an agent can pick correctly without opening either 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 a concrete follow-up rule: for long videos the call may take longer than 20-60 seconds, in which case 'call get_video later'. That is genuine chaining guidance rather than vague context. It stops short of explicit exclusions — it never says when to prefer rewrite_video_script, update_video_script, or make_free_preview instead.

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