Skip to main content
Glama

Write a video script

write_video_script
Destructive

Save the marked-up script. Use the SPEAKER'S OWN WORDS from the draft — this is aligned against what they actually said, so rewriting the narration moves every graphic off its sentence. Add [markers] between their sentences; do not invent markers that video_markers did not 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": {
      "video_id": "<video_id>",
      "script": "<script>"
    },
    "name": "write_video_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoClient website slug (or id). Required for platform-scoped keys.
scriptYesThe full script, markers included.
video_idYesThe video id, from list_recordings or start_recording_upload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The destructiveHint annotation already declares this as a mutating write, and the description adds the non-obvious consequence that rewriting narration decouples graphics from their sentences — valuable context not in structured fields. It does not say whether the previous script is overwritten or recoverable, which is the one gap for a destructive tool.

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?

Three sentences, each carrying a distinct instruction, with the primary action front-loaded. The em-dash clause is dense but explains why the constraint matters, so it earns its place.

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 destructive mutation without an output schema, the description covers the main hazard (misaligned graphics) and the marker-sourcing dependency. It leaves out overwrite/reversibility behavior and explicit prerequisite ordering with video_markers, which would complete the picture.

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 100%, so the parameters are already documented; the description only adds meaning for 'script' (must include markers, must preserve speaker wording). The 'client' and 'video_id' parameters get no extra context in the description, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Save the marked-up script') and references video_markers as the source of markers, which separates it from draft_video_script and read_video_script. It never says explicitly that it persists the script against a video_id / recording, so sibling separation is implied rather than spelled out.

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 real usage constraints: use the speaker's own words, insert markers between their sentences, and only use markers that video_markers listed (implying video_markers should be consulted first). It does not say when to use this instead of check_video_script or shape_video_script, so routing guidance is incomplete.

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